komal145
SSCrazy Eights
Points: 9920
More actions
April 25, 2019 at 6:36 pm
#3536720
hi,
How to get Stored Procedure Result with Column Types? I need to put this in SSIS pacakge and i have like 100+ columns.
Execute storedprocedure with results(
)
Phil Parkin
SSC Guru
Points: 247180
May 2, 2019 at 8:16 pm
#3631792
Run the 'guts' of your stored proc, having modified the final SELECT such that it does a
SELECT INTO [Newtable] .....FROM etc etcWHERE 1 = 0 --Don't need any data
And then get the CREATE TABLE script for Newtable.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply