Generate create table statements in code like visual studio integration project import/export wizard

StackOverflow https://stackoverflow.com/questions/22155542

  •  19-10-2022
  •  | 
  •  

Domanda

In a visual studio integration services project you can use the import/export wizard to generate a package which contains a Control Flow Execute SQL task. The Execute SQL task gets an automatically generated create table statement in the SQLStatement property. I would like to access this functionality for generating create table statements through .net code, without using the wizard. Does anybody know if this is exposed anywhere in the SSIS .NET api?

Nessuna soluzione corretta

Altri suggerimenti

I like using SMO - SQL Management Objects for stuff like this.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top