SQL Azure Database Conversion Tool

The SQL Azure database conversion tool contained within RazorSQL allows users to convert SQL Azure tables to and create SQL Azure tables from the following database types. Note, when using database conversion for SQL Azure, select SQL Server as the conversion type:

  • DB2
  • H2
  • HSQLDB
  • MS Access
  • MySQL / MariaDB
  • Oracle
  • PostgreSQL / Redshift
  • 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 MySQL table from MySQL to SQL Azure, the conversion tool generates the following Azure DDL corresponding to the above MySQL DDL:

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

SQL Azure Database Conversion Tool