|
-
Jul 26th, 2006, 05:30 AM
#1
Thread Starter
Member
Store Procedure
Hi All,
I would like to create a store procedure in SQL with input parameter is table's name so that i just change name of table when execute select statement.
Ex : Create Procedure TestTable @sTable varchar(25)
as
Begin
select * from @sTable
End
But this syntax is not correct, Any advise?
Thanks so much,
Thanh Nguyen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|