Hi all,
Anyone know how to create a data base gives the name of the same parameterized?
Example in a store procedure, named 'x', which has a parameter, this will do since the create dabase @variable
create procedure creadatabase
@db_name varchar (10)
as
create database @db_name
go
But this variable throws syntax error
That's what I try to do but I could see how it does.
Thnks a toto everybody