Sample Header Ad - 728x90

How do I adopt the PostgreSQL naming convention in legacy database?

1 vote
1 answer
3913 views
I realize I'll need to update the queries, but if I have a database that has [camelCase](https://en.wikipedia.org/wiki/Camel_case) or spaces in it, you have to use double quotes on the identifiers (viz. schema, table, column). How do I migrate away from taking into account that I can't have capital letters, nor spaces in my identifiers. I need to normalize all of them to [snake_case](https://en.wikipedia.org/wiki/Snake_case) .
Asked by Evan Carroll (65502 rep)
Mar 27, 2018, 07:08 PM
Last activity: Mar 27, 2018, 07:39 PM