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 2005 Forums
 Transact-SQL (2005)
 data base relationship

Author  Topic 

neda
Starting Member

1 Post

Posted - 2009-02-21 : 00:19:59
hi,
how can i have 2 tables that if i delete 1 item in this table don't delete this item on the other table?i khow in the properties in diagram are items that can be used ,unforchunately i don't know how to use.
please answer quickly.
thank u so much.

Nageswar9
Aged Yak Warrior

600 Posts

Posted - 2009-02-21 : 01:08:06
can u explain breifly what u want ?
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-02-21 : 01:34:33
quote:
Originally posted by neda

hi,
how can i have 2 tables that if i delete 1 item in this table don't delete this item on the other table?i khow in the properties in diagram are items that can be used ,unforchunately i don't know how to use.
please answer quickly.
thank u so much.


Remove ON DELETE CASCADE

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

Nageswar9
Aged Yak Warrior

600 Posts

Posted - 2009-02-21 : 01:36:41
Hi Madhivanan,

can u explain what is ON DELETE CASCADE
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-02-21 : 02:04:58
quote:
Originally posted by Nageswar9

Hi Madhivanan,

can u explain what is ON DELETE CASCADE


http://www.google.co.in/search?hl=en&q=ON+DELETE+CASCADE%2BSQL+SERVER&meta=

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -