dear to all,
i want to make my database name as a dynamic one which i'll make it as as a parameter value in a stored procedure.
pls help me of what the codes should be. any hint or something.
declare @data varchar(10)
set @data = dbName
this is not working. error shows. pls help.