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

  • 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.