- Save the operating cost on SQL Server license.
- PGSQL is case sensitive on char comparison. MSSQL is not case-sensitive. Therefore, the where clauses need to be reviewed in Entity Frameworks (EF). However, Entity Frameworks schema mapping is not case sensitive for C# property names on column names.
- PGSQL supports uuid, which is the same as UniqueIdentifier in SQL Server.
- PGSQL timestamp without time zone can be used in MSSQL datetime.
- PGSQL 'RAISE NOTICE' equals to MSSQL 'PRINT'.
- PGSQL support the data type record. I found this very useful in the migration scripts. (for loop)
- PGSQL block supports transaction. (do $$ ... $$)
- PGSQL is very strict on semi-colon (;) for the statement ending.
- PGSQL doesn't support table variable.You need to used temp table instead. (temp table)
- DBeaver is very useful universal database management tool.
Wednesday, November 02, 2022
10 Take-aways Moving MSSQL to PostgreSQL
Background: Based on my recent project, here are the 10 takeaways of MS SQL Server to PostgreSQL migration.
Subscribe to:
Posts (Atom)
Be A Developer That Uses AI
Developers will not be replaced by AI, they'll be replaced by developers that use AI. Generative AI tools are revolutionizing the way de...
-
I like NLog because it is probably the easiest logging framework I used. By simply copying NLog.config file to the project and set the ...
-
Recently ran into OutOfMemoryException from a .NET 3.0 WCF web service whenever the w3wp.exe reaches ~1.395 GB memory. WCF web service is ho...
-
Mutable Mutable is the most common collection type in the .NET world. These are collections such as List ; that allow reading, as...