SnowConvert AI - Sybase IQ¶
What is SnowConvert AI for Sybase IQ?¶
SnowConvert AI is a software that understands Sybase IQ scripts and converts this source code into functionally equivalent Snowflake code.
Konvertierungstypen¶
Specifically, SnowConvert AI for Sybase IQ performs the following conversions:
Sybase IQ zu Snowflake SQL¶
SnowConvert AI understands the Sybase IQ source code and converts the Data Definition Language (DDL), Data Manipulation Language (DML), and functions in the source code to the corresponding SQL in the target: Snowflake.
Beispielcode¶
Grundlegender Sybase IQ-Eingabecode:
CREATE TABLE Persons (
PersonID int,
LastName varchar(255),
FirstName varchar(255),
Address varchar(255),
City varchar(255)
);
Snowflake-SQL-Ausgabecode:
CREATE OR REPLACE TABLE Persons (
PersonID INT,
LastName VARCHAR(255),
FirstName VARCHAR(255),
Address VARCHAR(255),
City VARCHAR(255)
)
COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},{"attributes":{"component":"sybase"}}'
;
Wie Sie sehen können, bleibt die Struktur größtenteils gleich. Zum Beispiel müssen in manchen Fällen die Datentypen umgewandelt werden.
SnowConvert AI Terminology¶
Bevor wir uns in der Magie dieser Codekonvertierungen verlieren, hier ein paar Begriffe/Definitionen, damit Sie wissen, was wir meinen, wenn wir sie in der gesamten Dokumentation verwenden:
SQL (Structured Query Language):_ Die Standardsprache zum Speichern, Bearbeiten und Abfragen von Daten in den meisten modernen Datenbankarchitekturen.
SnowConvert AI: the software that converts your Sybase IQ files securely and automatically to the Snowflake cloud data platform.
Conversion rule or transformation rule: rules that allow SnowConvert AI to convert from a portion of source code to the expected target code.
Parse: Parsing is an initial process by SnowConvert AI to understand the source code and build up an internal data structure required for executing the conversion rules.
On the following few pages, you’ll learn more about the kind of conversions that SnowConvert AI for Sybase IQ is capable of. If you’re ready, visit the Getting Started page in this documentation.