31.07.2015 Views

Database Migration from MySQL to RDM Server - Embedded Tools ...

Database Migration from MySQL to RDM Server - Embedded Tools ...

Database Migration from MySQL to RDM Server - Embedded Tools ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Migration</strong> GuideALTER TABLEThe ALTER TABLE statement in <strong>MySQL</strong> is used <strong>to</strong> change the structure of an existing table. <strong>RDM</strong><strong>Server</strong> supports most of the core options, such as adding/dropping indices, adding/dropping/alteringcolumns, and renaming columns. Those we do not support are mostly for the features that we do notsupport.Supported:Necessary:YesYesCREATE DATABASEThe CREATE DATABASE statement in <strong>MySQL</strong> creates a new database. <strong>MySQL</strong> and <strong>RDM</strong> <strong>Server</strong>supports different options as they support different database features. For instance, <strong>MySQL</strong> allows theuser <strong>to</strong> set the default database character set and collation name.Supported:Necessary;YesYesCREATE EVENTThe CREATE EVENT statement in <strong>MySQL</strong> creates and schedules a new event. <strong>RDM</strong> <strong>Server</strong> does notsupport events; therefore not CREATE EVENT.Supported:Necessary:NoNoCREATE INDEXThe CREATE INDEX statement in <strong>MySQL</strong> is used <strong>to</strong> create an index. <strong>RDM</strong> <strong>Server</strong> supports it exceptfor the USING [ BTREE | HASH | RTREE ] clause that specifies the indexing algorithm (we only useBTREE) and the WITH PARSER clause.Supported:Necessary:YesYesCREATE FUNCTION / PROCEDUREThe CREATE FUNCTION / PROCEDURE statement in <strong>MySQL</strong> is used <strong>to</strong> create a function or a s<strong>to</strong>redprocedure. <strong>RDM</strong> <strong>Server</strong> supports both, though the details differ. <strong>MySQL</strong> lets you create both functionsand procedures in SQL; <strong>RDM</strong> <strong>Server</strong> requires that functions and user-defined procedures be written asshared librariesSupported:Necessary:YesYesCREATE SERVERThe CREATE SERVER statement in <strong>MySQL</strong> creates the definition of a server. <strong>RDM</strong> <strong>Server</strong> does notsupport it as our concept of a server is different than that of <strong>MySQL</strong>.Supported:Necessary:NoNohttp://www.raima.comPage | 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!