Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table name in SQL Parameters
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Table name in SQL Parameters
Miscellaneous
Thread ID:
00795824
Message ID:
00795824
Views:
47
How can I pass a table name as a parameter in SQL Server 2000 stored procedure?

For exemple:
Declare @Myparam as Varchar(50)

Set @MyParam = 'TableName'

Select * from A_Table as T1
Left join @MyParam as T2 on T2.Id=T1.Id
This sample does not work, but It represent what I'd like to do

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform