Ispirer Website
Ispirer Toolkit Overview
Free Trial
SQLWays (Beta) Web: Preserving Source Database Case for PostgreSQL as Target
PostgreSQL automatically converts identifiers to lowercase.
As a result, object names such as ‘Menu’ in MS SQL Server are converted to ‘menu’ when not explicitly quoted during the conversion process.
To enable this behavior in the tool, please follow the steps below:
- Click the Settings button in top right corner.
- Go to Options tab.
- Expand
DDLsection. - Locate the option called
QUOTE_IDENTIFIERS. - Set this option to Always.
This setting instructs the tool to quote all identifiers, thereby preserving their original case from the source database. Once this is configured, please run the conversion again, and the resulting PostgreSQL objects should retain their original names exactly as defined in MS SQL Server.
For your convenience, a screenshot is provided below showing where to locate and modify the QUOTE_IDENTIFIERS setting in the interface:
After that, run the conversion.
NOTICE:
Since the option is set, the object names will be created in double quotes in PostgreSQL.
Related Topics
Preserving case-sensitive schema names
If you have any questions or face any difficulties, please contact our support team at support@ispirer.com