Home Forums Programming General Execute .sql script within a stored procedure without using xp_cmdshell RE: Execute .sql script within a stored procedure without using xp_cmdshell
martinkuen
SSC Rookie
Points: 40
More actions
January 4, 2018 at 3:40 am
#1974411
I didn't try this way but it could work. You could use a BULK INSERT and write the content of the .sql file into a table and then execute this content as dynamic SQL.