Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get data from two diferent instances od sql serve
Message
 
À
05/01/2005 11:09:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00974397
Message ID:
00974440
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform