Hi
This is my stored procedure...
create procedure get_tableInfo
(
@tablename char(8)
)
as
select * from @tablename
return
This doesn't work.
What i want to do is returning a selection on a table in my database. The name of the table is given as a parameter.
Any thoughts?
thnx
This is my stored procedure...
create procedure get_tableInfo
(
@tablename char(8)
)
as
select * from @tablename
return
This doesn't work.
What i want to do is returning a selection on a table in my database. The name of the table is given as a parameter.
Any thoughts?
thnx