Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query with tables from different databases
Message
De
07/07/2011 11:33:41
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Desktop
Divers
Thread ID:
01517589
Message ID:
01517592
Vues:
50
Something like this perphaps:

SELECT [a].[pi_fname], [b].[pi_sname] FROM [dev_hrpro].[dbo].[pi] a, [prod_hrpro].[dbo].[pi] b

Jon

>Hello,
>
>How can I make a query in SQL server that involves tables from different databases? I tried MyDB!MyTable, but that does not work.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform