Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference a table in another Database (trigger)
Message
From
31/12/2000 21:07:45
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Reference a table in another Database (trigger)
Miscellaneous
Thread ID:
00458242
Message ID:
00458242
Views:
47
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
Next
Reply
Map
View

Click here to load this message in the networking platform