Re: Mass loading SQL SERVER stored procedure
From: Keith Kratochvil (sqlguy.back2u_at_comcast.net)
Date: 10/06/04
- Next message: Steve Thompson: "Re: Mass loading SQL SERVER stored procedure"
- Previous message: robert song: "Mass loading SQL SERVER stored procedure"
- In reply to: robert song: "Mass loading SQL SERVER stored procedure"
- Next in thread: Steve Thompson: "Re: Mass loading SQL SERVER stored procedure"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 6 Oct 2004 13:51:38 -0500
osql is a command line tool that can be used for this purpose.
You just need to specify the server, database, user (and password) as well
as the file name.
-- Keith "robert song" <robert.song@modelsoftcorp.com> wrote in message news:Ow6yfM9qEHA.2900@TK2MSFTNGP12.phx.gbl... > Hi All, > > We are during the coding of SPs in one project. Each SP is one .sql file > and these files are becoming more and more. We use Query Analyzer to > open .sql file and execute the script to create SPs one by one. It is > obviously time cosuming and bring some mistake. Do anybody have a good > way of mass loading SQL Server SPs(not cut and patse all scripts into > one single big script). It would be helpful if I had a way to mass > reload all of them with a single command or with executing one Dynamic > SQL to read these script. Any ideas? > > Cheers, > > Robert Song > > *** Sent via Developersdex http://www.developersdex.com *** > Don't just participate in USENET...get rewarded for it!
- Next message: Steve Thompson: "Re: Mass loading SQL SERVER stored procedure"
- Previous message: robert song: "Mass loading SQL SERVER stored procedure"
- In reply to: robert song: "Mass loading SQL SERVER stored procedure"
- Next in thread: Steve Thompson: "Re: Mass loading SQL SERVER stored procedure"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|