MS SQL Server Database Conversion Tool

The MS SQL Server database conversion tool contained within RazorSQL allows users to convert MS SQL Server tables to and create SQL Server tables from the following database types:

  • DB2
  • HSQLDB
  • MS Access
  • MySQL
  • Oracle
  • PostgreSQL
  • SQLite

RazorSQL contains conversion tools to convert one or many tables at a time. When converting tables, the tool looks at the type of database the table is being converted to, and generates the database specific DDL to generate the table. It looks at the source database column types and does any adjustments necessary to convert those column types to the destination database's format. The tool then generates and executes the insert statements necessary to populate the table data on the destination database.

The following is an example of the DDL for a MySQL table:

CREATE TABLE sample.illustration ( ILLUSTRATIONID decimal(10) NOT NULL, DIAGRAM longblob, MODIFIEDDATE text(65535) NOT NULL, PRIMARY KEY (ILLUSTRATIONID) )

When converting the above MS SQL Server table from SQL Server to Oracle, the conversion tool generates the following Oracle DDL corresponding to the above SQL Server DDL:

CREATE TABLE illustration ( ILLUSTRATIONID decimal(10) NOT NULL, DIAGRAM VARBINARY(max), MODIFIEDDATE text NOT NULL, PRIMARY KEY (ILLUSTRATIONID) )

MS SQL Server Database Conversion Tool