Sample code for an End-to-End migration of SQL Server and SSIS using SnowConvert AI.
sfguide-scai-e2e-ssis-migration/
├── source_db/ SQL Server source database scripts (DDL + sample data)
│ ├── 00_ddl.sql Schema, tables, views, functions, and stored procedures
│ └── 01_data.sql Sample data inserts for all tables
├── snowflake/ Snowflake target setup
│ └── init.sql Database, schemas, warehouse, and compute pool
└── etl/ SSIS package samples
├── daily_sales_agg.dtsx Aggregates daily sales into reporting tables
└── update_truck_inventories.dtsx Refreshes per-truck inventory levels
The source workload is the fictional Tasty Bytes global food truck network: localized menus, customer loyalty, order management, inventory tracking, and employee scheduling. The DDL deliberately uses T-SQL constructs (computed columns, ROWVERSION, MONEY, NTEXT, UNIQUEIDENTIFIER, NOLOCK hints, GLOBAL cursors, etc.) that surface SnowConvert EWIs during migration.
To deploy the SQL Server sample database, run the following scripts in order against your SQL Server instance:
source_db/00_ddl.sql— creates theTastyBytesDBdatabase, theTastyBytesandetl_resultsschemas, and all tables, views, user-defined functions, and stored procedures.source_db/01_data.sql— populates the tables with sample data in dependency order.
On the Snowflake side, only run snowflake/init.sql. It uses ACCOUNTADMIN to create:
- The
tastybytesdbdatabase withtastybytesandetl_resultsschemas - The
XSMALL_WHwarehouse - The
TASTYBYTES_MIG_POOLcompute pool used by the data migration job
The etl/ folder contains the source SSIS packages used in the migration walkthrough:
daily_sales_agg.dtsx— Reads completed orders fromTastyBytes.OrderHeader/OrderDetail, aggregates daily revenue and order counts per truck, and writes the rollups to a reporting table. Brackets the run withstart execution/endexecutionmarkers inetl_results.etl_logs.update_truck_inventories.dtsx— Iterates over operational food trucks, applies inventory adjustments based on recent orders, and updatesTastyBytes.Inventory(quantity on hand, last restocked, reorder triggers).
These .dtsx files are the inputs migrated by SnowConvert AI to equivalent Snowflake-native ETL.