Plzzz Answer
I want to create a table in a stored procedure But tabel name is stored in a variable. Example
create procedure ABC
(
@tablename. // is a parameter in which table
name is stored
)
AS
BEGIN
Create table @tablename
(
Colmn one....
Colmn. two...
...............
)
End
but error is shown where
table @tablename
Q ) how can I fix this
I want to set a table name which is stored in a variable @tablename