Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 fetching data from nonlocal table in stored proc

Author  Topic 

raj70
Starting Member

2 Posts

Posted - 2004-10-08 : 02:04:22
My table and stored procedure reside on different databases
but on the same sqlserver.
What is the easiest and efficient way to write a query.
I tried passing remote databasename as a parameter
then create dynamic sql statement out of it.
But it is syntaxwise very difficult.

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2004-10-08 : 02:31:57
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=41017


Damian
Go to Top of Page
   

- Advertisement -