Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference a table in another Database (trigger)
Message
De
31/12/2000 21:07:45
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Reference a table in another Database (trigger)
Divers
Thread ID:
00458242
Message ID:
00458242
Vues:
48
All,

I am attempting to push records to another DB using an insert trigger.CREATE


TRIGGER Source_ins_tr ON [Source]
FOR INSERT

AS

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

This doesn't work. How should I go about doing this?

poffield@liberty.edu

Thanks in advance
Phil
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform