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

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

  •  19-10-2022
  •  | 
  •  

Question

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?

No correct solution

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top