Re: help!

Поиск
Список
Период
Сортировка
От Horst Herb
Тема Re: help!
Дата
Msg-id 200210191022.44280.subscriptions@gnumed.net
обсуждение исходный текст
Ответ на help!  ("John Geng" <lanlz@sina.com>)
Список pgsql-sql
On Wed, 16 Oct 2002 19:15, John Geng wrote:
> how to migrate sql from MS sql server to postgresql?
> i'd like to tranfer sql schema from MS server
> Example:
> *******************1*********************************
> if exists (select * from sysobjects
> where id = object_id(N'[admin].[test]') and
> OBJECTPROPERTY(id, N'IsUserTable') = 1)
> drop table [admin].[test]

if exists (select * from pg_tables where tablename = '<your table name goes 
here')

might be what you are looking for

Horst


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Henshall, Stuart - Design & Print"
Дата:
Сообщение: Re: ORDER the result of a query by date
Следующее
От: Christoph Haller
Дата:
Сообщение: if exists (select * from ...