Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving from SQL Server to PostgreSQL experiences
Message
From
01/08/2016 13:32:32
 
 
To
01/08/2016 09:15:12
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01638967
Message ID:
01639019
Views:
102
>>>Hello.
>>>We are in the planning stage to move our ERP from SQL Server to PostgreSql.
>>>We rely heavily in Stored Procedures and remote views and want to change as little code as possible.
>>>We have ported our databases to PostgreSQL (now we are doing the pk replacements) and would like to know any tips or experiences you have about this.
>>
>>While I haven't done a migration, I've been spending some time with PostgreSQL lately. The first big hurdle, in my view, is that it's case-sensitive for table and field names. Best practice is to make everything lowercase, since that's the default. If not, you have to live in a world of double-quotes.
>>
>>Tamar
>
>Use postix regular expressions to do case insensitive searches. select ... lastname ~* '^my name$'
>
>https://www.postgresql.org/docs/9.3/static/functions-matching.html

What I was talking about is that if your field is called Name, you can't just SELECT name or even, for that matter, SELECT Name, you have to SELECT "Name"

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform