MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old June 18th, 2004, 09:27 AM
Chris_Gilbert Chris_Gilbert is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: London
Posts: 166 Chris_Gilbert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 32 m 5 sec
Reputation Power: 6
Deleting using Relationships problem

I am in the process of converting an Access DB over to MySQL which up until now has been a relatively simple task.
The problem that I am faced with now is that MySQL doesn't appear to actually support any sort of relationship system in the same way to Access. For example, imagine I have three tables:

UserDetailsTable
UserBiogTable
UserCommentsTable

complete with the relevant information in each one.
With Access, if I set up relationships I am able to delete the a record in the UserTable and all the related records in UserBiogTable and UserCommentsTable are automatically deleted. Hardly rocket science but very useful.

It appears however that this is impossible in MySQL unless I manually delete all associated records.
Is this right or am i missing something? I was under the impression that MySQL was a RDBMS but this appears not to be correct?????

Thanks in advance, Chris.



THIS POST SHOULD HAVE BEEN POSTED IN THE MYSQL FORUM. SORRY IF I HAVE CAUSED ANY OFFENSE TO SQL SERVER USERS.
MODERATOR CAN REMOVE NOW.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > Deleting using Relationships problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway