A community member has associated this post with a similar question:
how to assign print result to output variable of a stored procedure

Only moderators can edit this content.

saving a create table script in a SSIS variable

Nishan Ratna 150 Reputation points
2023-04-06T08:56:02.1933333+00:00

Hi all, I use a tsql query to generate a create table script. Once I run the query with print @SQL command, I get the create table script. However I get it in the message tab. ( please see the image below). now I want to create a SSIS package and save this result (create table script) in a variable. Is this possible? User's image

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,578 questions
0 comments No comments
{count} votes