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 |
|
choyot
Starting Member
3 Posts |
Posted - 2002-03-11 : 03:53:14
|
| I run a job schedule whichdrop and create back index keyBut now i notice i can'nt put more than3200 character. what should i do??Should i create store procedure ?? How do i run store procedure fromscheduler..Thank in advance |
|
|
Nazim
A custom title
1408 Posts |
Posted - 2002-03-11 : 08:09:01
|
| yeah thts a good idea.to execute a sp:exec spname parametersHTH-------------------------------------------------------------- |
 |
|
|
choyot
Starting Member
3 Posts |
Posted - 2002-03-11 : 23:14:49
|
| I write this stepcreate procedure dbindex() as CREATE UNIQUE INDEX oas_addon1 ON dbo.oas_addon(appname, lstseqno) WITH FILLFACTOR = 90GO CREATE UNIQUE INDEX oas_addoncapab1 ON dbo.oas_addoncapab(capab, appname, code) WITH FILLFACTOR = 90GO CREATE UNIQUE INDEX oas_arcbalance_index1 ON dbo.oas_arcbalance(accode, yr, period, balcode, curcode, repbasis, cmpcode, curflag) WITH FILLFACTOR = 90GO....but when i APPLY all statement missing before i can save..why ?? |
 |
|
|
graz
Chief SQLTeam Crack Dealer
4149 Posts |
Posted - 2002-03-11 : 23:52:26
|
| You can't use GO inside a stored procedure. You can only use it at the end.===============================================Creating tomorrow's legacy systems today.One crisis at a time. |
 |
|
|
|
|
|