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 |
|
dasu
Posting Yak Master
104 Posts |
Posted - 2004-08-17 : 02:20:26
|
| when ever im trying to execute this stored procedure iam getting error like undeclare cnt variableplese suggest solution"alter proc das_ee @tn varchar(40)asdeclare @cnt varchar(30), @q varchar(400)set @q='select @cnt= count(*) from '+ @tnexec (@q)--print (@cnt)exec das_ee 'test'" |
|
|
Merkin
Funky Drop Bear Fearing SQL Dude!
4970 Posts |
|
|
ditch
Master Smack Fu Yak Hacker
1466 Posts |
|
|
|
|
|