Back to Databases FAQs
HELP CENTER · FAQDatabases2 min read

Why does SQL Database reject syntax from another database system?

IaGenify SQL Database uses a SQLite dialect, so PostgreSQL, MySQL, or SQL Server specific syntax may not work. Write queries using supported SQLite syntax and use the database's documented functions and parameter format.

Databases

Recognize the SQL dialect

SQL has a shared foundation, but database systems differ in functions, data types, date handling, identifiers, and special commands. A statement that is valid in PostgreSQL may use syntax or a function that SQLite does not recognize. IaGenify describes SQL Database as SQLite dialect and documents `?` placeholders with `params` for values.

For example, SQLite date values are commonly stored as TEXT or INTEGER, and its date helpers include `date()`, `datetime()`, and `strftime()`. Concatenation uses `||`, and result paging can use `LIMIT` and `OFFSET`. Check the exact feature you need rather than assuming that a familiar command behaves the same across engines.

Adapt the query and test it safely

Start with a read query that uses the documented dialect and inspect the returned rows. If you are moving a query from another database, replace system-specific date functions, casts, or syntax deliberately and confirm how your schema stores each value. Use parameters for data values, not as substitutes for table or column identifiers.

The tool also refuses commands such as ATTACH, DETACH, and VACUUM INTO. If a migration or maintenance task depends on an unavailable command, use a supported export, import, or administration path instead of repeatedly changing the same statement. Keep a copy of important data before making schema or data changes.

Back to Databases FAQs