Re: Creating relationships between different databases
From: Vishal Parkar (REMOVE_THIS_vgparkar_at_yahoo.co.in)
Date: 03/30/04
- Next message: Rodrigo: "The request of net isn't supported"
- Previous message: Jim Young: "Re: Creating relationships between different databases"
- In reply to: Paulo: "Creating relationships between different databases"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 09:21:49 +0530
>>Does SQL Server supports this kind of operation?<<
Cross database ref. integrity is not supported in SQL Server.
BOL: "FOREIGN KEY constraints can reference only tables within the same database on the same
server. Cross-database referential integrity must be implemented through triggers. For more
information, see CREATE TRIGGER. "
So this can be accomplished through triggers.
See following topic in bol.
"FOREIGN KEY Constraints"
-- Vishal Parkar vgparkar@yahoo.co.in
- Next message: Rodrigo: "The request of net isn't supported"
- Previous message: Jim Young: "Re: Creating relationships between different databases"
- In reply to: Paulo: "Creating relationships between different databases"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|