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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-04-21 : 22:29:44
|
| Alex writes "I have a document management system sitting on a sql server. I have found a script wich says it should run daily and is part of maintaining the database. I ran the script but it fails and does not give a reason. We have SQL 7.0 on an NT4.0 server and the script is as follows:use mastergosp_dboption dbname, 'single', truego use dbname gocheckpoint gouse mastergodbcc checkalloc (dbname) with no_infomsgsgodbcc checkdb (dbname) with no_infomsgsgodbcc checkcatalog (dbname) with no_infomsgsgosp_dboption sbname, 'single', falsego use dbnamegocheckpointgo" |
|
|
dsdeming
479 Posts |
Posted - 2002-04-22 : 08:06:17
|
| When I try to run 'go use pubs' in Query Analyzer it tells me Could not find stored procedure 'go'.You statement contains similar syntax: go use dbname. Try putting a carriage return between 'go' and 'use'. |
 |
|
|
|
|
|