Skip to main content

26 docs tagged with "sql"

View all tags

BimlExpress Preview Pane

Use the BimlExpress preview pane to see expanded Biml output without writing it to a file, including SQL output produced through code that uses GetDropAndCreateDdl.

Change Data Capture and Biml

Build SSIS Change Data Capture initial load and incremental load packages in Biml using the SQL Server CDC components as custom tasks.

Cleaning a Database with Biml

Generate an SSIS package that drops every table in a target database by looping over INFORMATION_SCHEMA until no tables remain.

Creating a Staging Area with Biml

Generate CREATE TABLE statements for an entire staging environment by reading INFORMATION_SCHEMA from the source database and emitting an ExecuteSQL task per table.

Extracting All Tables to Raw Files

Generate a Biml file that extracts every base table in a SQL Server database to its own raw file by querying INFORMATION_SCHEMA with FOR XML PATH.

Generating SQL Using Biml

Use BimlScript to generate T-SQL scripts from source metadata, including SELECT statements and CREATE VIEW definitions across hundreds of tables.

Import Metadata with GetDatabaseSchema

Use GetDatabaseSchema to pull schema, table, and view metadata from a source database into Biml so generated packages and SQL stay in step with the source.

Making Biml Files Less Complex

Reduce mixed XML and C# complexity in Biml files by splitting into includes, using CallBimlScript, and pushing string assembly into T-SQL stored procedures.

Reverse Engineering Metadata with Biml

Use BimlScript and ImportDB to reverse engineer table metadata out of an existing staging database into a metadata model that drives future Biml generation.