General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2000
Hello
I have a question.
If I have something like this.
CREATE PROCEDURE dbo.prueba151106
@base varchar(20)
AS
select * from [CPSI-SERVER].[@base].[dbo].[certificados]
GO
SQL say " The name of the objet '@base.dbo.certificados' is no valid. "
How can I do to that the store procedure can recive the name of the database
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only