Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get data from two diferent instances od sql serve
Message
 
To
05/01/2005 11:09:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00974397
Message ID:
00974440
Views:
26
>You might look into Linked Servers. You can link a "client" server to a "master" server. This will allow you to call a stored procedure or view on a "master" server that can query data from the client server and return the data with one call from your application.
>
>>We recently separated to companies of out system and put the second one in a different named instance of sql server , now we are facing the problem of a report which gets data from the two companies.
>>
>>how can i get the data from the two instances, and remeber that getting the data in the actual instance ain't the problem, getting the data from the named instance it is.
>>
>>some usefull info
>>
>>we're using ODBC
>>the two instances reside on the same server
>>
>>TIA
trying to link the second instance a a linked server with this sintax but gives me an err

sp_addlinkedserver
@server = 'prueba',
@provider = 'SQLOLEDB',
@datasrc = 'myserver\myinstance02'

Server: Msg 15429, Level 16, State 1, Procedure sp_addlinkedserver, Line 72
'(null)' is an invalid product name.


can you help me
.......
DO WHILE .T.
      ME.Work()
ENDDO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform