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 |
|
svicky9
Posting Yak Master
232 Posts |
Posted - 2005-08-30 : 03:57:59
|
| Hi friendscan anyone tell me a procedure for selecting a tableI want a procedure like display [tablename]and it should work the same like select * from tablenameregardsVic |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-08-30 : 04:05:52
|
| Create Procedure Display (@table varchar(50))asExec('Select * from '+@table)MadhivananFailing to plan is Planning to fail |
 |
|
|
svicky9
Posting Yak Master
232 Posts |
Posted - 2005-08-30 : 05:03:00
|
| Thank you its workingcheersVic |
 |
|
|
|
|
|