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

Click here to load this message in the networking platform