From: Horst Herb <subscriptions@gnumed.net>
To: John Geng <lanlz@sina.com>
Subject: Re: help!
Date: Sat, 19 Oct 2002 10:22:44 +1000
Message-ID: <200210191022.44280.subscriptions@gnumed.net> (raw)
In-Reply-To: <20021016091128.D2625475BF9@postgresql.org>
References: <20021016091128.D2625475BF9@postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: subscriptions@gnumed.net, lanlz@sina.com
Subject: Re: help!
In-Reply-To: <200210191022.44280.subscriptions@gnumed.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox