Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
flamz
Starting Member
21 Posts |
Posted - 2008-03-25 : 11:15:16
|
| Hello,I have a very big T-SQL script (~24mb) and I need the SQL Server on my hosted site to execute it.Right now, I have a web page that uses Sql.Connection.ExecuteNonQuery () to do it, but the .NET process runs out of memory when I load the file into a C# string.How would I go about executing this T-SQL script on the server?Is there such a command:EXECUTE SCRIPT "myscript.sql" FROM DISC?thanks. |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
|
|
|
|
|