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 |
|
bmsgharris
Starting Member
10 Posts |
Posted - 2005-09-30 : 09:30:23
|
| I have a SQL script that is now running into 400+ lines, I would like to split this sql file into several smaller files. My question is how do I run a SQL file from another SQL file?TIAGraham Harris |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2005-09-30 : 09:51:43
|
| See osql if that's what you mean.It allows you to execute sql statements in a file - an osql command can also be executed from a file.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
bmsgharris
Starting Member
10 Posts |
Posted - 2005-09-30 : 10:02:31
|
| Cheers that is exactly what I want!!Graham Harris |
 |
|
|
|
|
|