Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 database design issue
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 6

Doug G
Support Moderator

USA
6493 Posts

Posted - 06 October 2002 :  23:23:13  Show Profile
quote:
I would risk that the problem was the cascade update and not the referential integrity itself.

Technically, I think cascade update/delete is considered part of RI since it won't happen unless you have set up a relationship, but that's just an interpretation of the meaning of the term :)

I'm still wondering what would be gained by putting relationships in our db? The snitz code hasn't caused any relationship problems has it?



======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 07 October 2002 :  04:21:23  Show Profile
quote:
Originally posted by Doug G

[quote]I'm still wondering what would be gained by putting relationships in our db


You can then use various tools (such as Visio) to create database diagrams and all the relationships will be included automatically
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 07 October 2002 :  07:04:51  Show Profile  Visit Gremlin's Homepage
Yeah but Snitz wouldn't be as much fun if it was documented now would it

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 October 2002 :  07:06:25  Show Profile  Send ruirib a Yahoo! Message
quote:
Originally posted by Gremlin

Yeah but Snitz wouldn't be as much fun if it was documented now would it


Sure, what would we, the mods, do around here if that was the case ?


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 07 October 2002 07:06:52
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 07 October 2002 :  07:52:21  Show Profile  Visit Gremlin's Homepage
Exactly .. we'd be out of a job, broke and homeless ... no wait I'm that now .. hmmm

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 07 October 2002 :  08:15:37  Show Profile  Visit Azaniah's Homepage
*stares at the screen*

ok, for those of us (i.e. me) who aren't used all these terms is there an idiots guide to what y'all talking about?

Eagles fly!, but weasels don't get sucked into jet engines.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 07 October 2002 :  08:19:32  Show Profile  Visit Gremlin's Homepage
SQL for Dummies is actually quite informative and I think covers RI,PK,FK etc

One pro for RI within code is that it will actually maintain backwards and forwards compatibilty with the DBMS. You won't believe what a Pain in the******it was when I had to take an MSSQL2K Database and move it to an MSSQL6.5 Server, I had to rewrite virtually all of my cascading updates/deletes etc via Stored Procedure (found a great article on sqlteam for doing that) or within the code instead.

Kiwihosting.Net - The Forum Hosting Specialists

Edited by - Gremlin on 07 October 2002 08:22:58
Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 07 October 2002 :  08:33:38  Show Profile  Visit Azaniah's Homepage
Thanks I'll see if I can rumage a copy of that from somewhere.

Eagles fly!, but weasels don't get sucked into jet engines.
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 07 October 2002 :  11:04:00  Show Profile
quote:
Originally posted by pweighill

quote:
Originally posted by Doug G

[quote]I'm still wondering what would be gained by putting relationships in our db


You can then use various tools (such as Visio) to create database diagrams and all the relationships will be included automatically


Visio can create a database diagram without relationships. The only difference is there are fewer lines running around the diagram

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 October 2002 :  12:35:03  Show Profile  Send ruirib a Yahoo! Message
quote:
Originally posted by Gremlin

One pro for RI within code is that it will actually maintain backwards and forwards compatibilty with the DBMS.


I understand that, but that is a "risky" reasoning. If taken literally it could mean that you willingly chose not to take advantage of some interesting features common to several DBs, just because you need to keep the door open to be backward compatible in the future? Surely there won't be that many times where you'll need to port a database to a very old version of that same DBMS...

Productivity wise I'd usually go with any "common" database features the DBMS has to offer, other than choosing to implement those features in code...


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 07 October 2002 :  12:55:52  Show Profile
I dunno, I still have a SQL Server 6.5 in operation. :)

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 October 2002 :  13:05:48  Show Profile  Send ruirib a Yahoo! Message
Well, that's the price of working with "legacy" software, or a legacy DBMS in this case


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 07 October 2002 :  16:57:29  Show Profile  Visit Gremlin's Homepage
A Lot of people still have 6.5, MS SQL is a pretty expensive item to upgrade!

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 07 October 2002 :  17:02:18  Show Profile  Visit burthold's Homepage
I tell you though it is a worthy upgrade. I use to run a few high volume user apps on 6.5 and it would just drop a DB if the load got too high or it would suffer some corruption. I spent a ton of time keeping the old DB server running. 7.0 was a godsend, and I apsolutly love 2000.

Cheers,
Wes
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 07 October 2002 :  17:17:06  Show Profile  Visit Gremlin's Homepage
I'd agree with that, but if you've gone from 6.5 -> 7 -> 2000 you've probably spent what $10,000+ on upgrades ?

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page
Page: of 6 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.71 seconds. Powered By: Snitz Forums 2000 Version 3.4.07