Re: database diagrams
From: Aaron [SQL Server MVP] (ten.xoc_at_dnartreb.noraa)
Date: 10/15/04
- Next message: Zach Wells: "Re: "Smart" Product Codes"
- Previous message: Alejandro Mesa: "Re: "Smart" Product Codes"
- In reply to: John: "Re: database diagrams"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 15 Oct 2004 16:56:16 -0400
Script your tables in Query Analyzer, instead of using Enterprise Manager to
"design" them.
Take a look at the create table statement in Books Online.
CREATE TABLE dbo.foo
(
blatID INT NOT NULL
FOREIGN KEY REFERENCES dbo.bar(blatID)
ON DELETE CASCADE
)
-- http://www.aspfaq.com/ (Reverse address to reply.) "John" <John@discussions.microsoft.com> wrote in message news:FCBF114B-0887-45F7-8AE9-0BAB88FAF8E5@microsoft.com... > No, it wouldn't have to be through a diagram. I don't know where else in sql > server I can set the cascade properties. Is there some place else?
- Next message: Zach Wells: "Re: "Smart" Product Codes"
- Previous message: Alejandro Mesa: "Re: "Smart" Product Codes"
- In reply to: John: "Re: database diagrams"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|