MySql#
MySql provider is bundled with Querona and no additional installation or configuration is required.
Excluded functions#
The following MySql functions are excluded by Querona’s SQL optimization engine:
Function name |
Exclusion reason |
|---|---|
SOUNDEX |
SOUNDEX implementation in MySql is unreliable. |
IDENTITY / auto-increment columns#
Querona renders a T-SQL IDENTITY column declaration in MySQL’s native AUTO_INCREMENT form
when the declaration is exactly achievable, and rejects the CREATE TABLE with a capability error
otherwise:
Any
seedis accepted whenincrementis1. MySQL has no per-table increment step, so any otherincrementis rejected.The column is declared
AUTO_INCREMENT; whenseedis not1, Querona also adds anAUTO_INCREMENT = seedtable option so the counter starts at the declared value.The identity column must also be indexed (
PRIMARY KEYorUNIQUE) — MySQL requires anAUTO_INCREMENTcolumn to be a key. A non-indexed identity column is rejected.
CREATE TABLE dbo.Product (
Id int IDENTITY(1000, 1) PRIMARY KEY,
Code nvarchar(20) NOT NULL
);
AUTO_INCREMENT columns on an existing MySQL source table are imported during schema analysis:
Querona sets is_identity on sys.columns for them, carrying the flag only — MySQL’s catalog
does not expose a seed or increment to import.