Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Foregin key constraint

Author  Topic 

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2004-08-05 : 06:29:17
How do you guys feel about not having any foregn key constraints in a "denormalized" table (ref: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=38202). Wount they just slow things down? I can't imagine needing them but maybe I'm missing somthing...

--
Lumbago
"Real programmers don't document, if it was hard to write it should be hard to understand"

mohdowais
Sheikh of Yak Knowledge

1456 Posts

Posted - 2004-08-05 : 07:39:26
Why would you think that NOT having foriegn key constraints would slow things down? Surely INSERT and UPDATE statements ought to be faster without constraints. And I don't think it has an impact of SELECT statements...with your indexes in place, it should fly.

OS
Go to Top of Page

mr_mist
Grunnio

1870 Posts

Posted - 2004-08-05 : 07:50:01
Surely if you have just one dernormalized table then the concept of foreign keys becomes a bit redundant?

-------
Moo. :)
Go to Top of Page

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2004-08-05 : 15:25:59
Excellent...and what I thought. Just wanted confirmation, the relationship is kept in the sourcetable so there shouldn't be any problems. Thanx.
Go to Top of Page
   

- Advertisement -