Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference a table in another Database (trigger)
Message
De
02/01/2001 08:21:55
 
 
À
31/12/2000 21:07:45
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00458242
Message ID:
00458419
Vues:
16
The table name is mis-formed. It should be in the form database.owner.table. In you case, just add an extra '.' but only if the table is owned by DBO in the other database.


>INSERT INTO DestinationDB..DestTable (location,[name],calltaker)
> SELECT object, ticket_number, username
> FROM inserted


-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform