From: Ravi Krishna <ravi_krishna@aol.com>
To: igal@lucee.org
To: pgsql-general@postgresql.org
Subject: Re: Postgres for SQL Server users
Date: Mon, 6 May 2019 19:28:31 +0000 (UTC)
Message-ID: <1632746998.783748.1557170911532@mail.yahoo.com> (raw)
In-Reply-To: <CA+zig0_y0Eb0d8uEeaaCDS+e24mFAMdZa-sm6HwgcuGbvW_Bgg@mail.gmail.com>
References: <CA+zig0_y0Eb0d8uEeaaCDS+e24mFAMdZa-sm6HwgcuGbvW_Bgg@mail.gmail.com>
> I was wondering if anyone has any tips that are specific for SQL Server users? Best features? Known issues? Common rebuttals?
Are you talking about SS to PG migration.
Generally SQLServer shops use SS specific functions and T-SQL heavily since they provide very good functionality.
For example:
1, convert function is used heavily in SQL to format various datetime formats.
2. SS does case insensitive searches. Converting it to PG involves modifying the SQL. Not an easy job to do.
3. SS has 3 part structures. DB.SCHEMA.TABLE which can be used in SQL. PG can go only up to 2 part SCHEMA.TABLE.
3 part is possible, but using FDW or other cumbersome mechanism.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ravi_krishna@aol.com, igal@lucee.org
Subject: Re: Postgres for SQL Server users
In-Reply-To: <1632746998.783748.1557170911532@mail.yahoo.com>
References: <CA+zig0_y0Eb0d8uEeaaCDS+e24mFAMdZa-sm6HwgcuGbvW_Bgg@mail.gmail.com> <1632746998.783748.1557170911532@mail.yahoo.com>
* 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