Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by bitbucket
»
CASCADE - 1
52 posts, Page 1 of 6
1
2
3
4
5
»
»»
CASCADE - 1
Rate Topic
Display Mode
Topic Options
Author
Message
bitbucket-25253
bitbucket-25253
Posted Tuesday, March 19, 2013 10:31 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 7:33 AM
Points: 5,103,
Visits: 20,213
Comments posted to this topic are about the item
CASCADE - 1
If everything seems to be going well, you have obviously overlooked something.
Ron
Please help us, help you -before posting a question please
read
Before posting a performance problem please
read
Post #1432987
demonfox
demonfox
Posted Tuesday, March 19, 2013 10:49 PM
Ten Centuries
Group: General Forum Members
Last Login: Saturday, May 18, 2013 6:46 PM
Points: 1,074,
Visits: 1,076
All that sql statemens were just for the final show
Nice and easy !!
~ demonfox
___________________________________________________________________
Wondering what I would do next , when I am done with this one
Post #1432992
Dineshbabu
Dineshbabu
Posted Tuesday, March 19, 2013 10:59 PM
Right there with Babe
Group: General Forum Members
Last Login: Today @ 6:02 AM
Points: 766,
Visits: 451
I expected there will be some trickery work will be there.. But it's easy and staright forward question..
--
Dineshbabu
Desire to learn new things..
Post #1432994
Lokesh Vij
Lokesh Vij
Posted Tuesday, March 19, 2013 11:01 PM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 8:24 AM
Points: 1,176,
Visits: 1,253
Dineshbabu (3/19/2013)
I expected there will be some trickery work will be there.. But it's easy and staright forward question..
+1
Nice and easy. Thanks Ron!
~ Lokesh Vij
Guidelines for quicker answers on T-SQL question
Guidelines for answers on Performance questions
Link to my Blog Post -->
www.SQLPathy.com
Follow me
@Twitter
Post #1432995
Danny Ocean
Danny Ocean
Posted Wednesday, March 20, 2013 12:00 AM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 7:51 AM
Points: 1,085,
Visits: 1,166
Good question.
In real life scenario, we need to take care of cascade option.
Keep Learning - Keep Growing !!!
http://growwithsql.blogspot.in
Thanks
Vinay Kumar
Post #1433004
demonfox
demonfox
Posted Wednesday, March 20, 2013 12:19 AM
Ten Centuries
Group: General Forum Members
Last Login: Saturday, May 18, 2013 6:46 PM
Points: 1,074,
Visits: 1,076
Danny Ocean (3/20/2013)
Good question.
In real life scenario, we need to take care of cascade option.
I prefer not to have delete cascade on design .. to let the error display when the constraint doesn't allow it..
well, delete cascase could be a better option for delete based on performance , but with proper indexing , I guess, basic deletes shouldn't be too intensive process ..
and , it keeps of mistakes off the track
that's what constraints are for ...
~ demonfox
___________________________________________________________________
Wondering what I would do next , when I am done with this one
Post #1433011
Danny Ocean
Danny Ocean
Posted Wednesday, March 20, 2013 12:31 AM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 7:51 AM
Points: 1,085,
Visits: 1,166
demonfox (3/20/2013)
Danny Ocean (3/20/2013)
Good question.
In real life scenario, we need to take care of cascade option.
I prefer not to have delete cascade on design .. to let the error display when the constraint doesn't allow it..
well, delete cascase could be a better option for delete based on performance , but with proper indexing , I guess, basic deletes shouldn't be too intensive process ..
and , it keeps of mistakes off the track
that's what constraints are for ...
Keep Learning - Keep Growing !!!
http://growwithsql.blogspot.in
Thanks
Vinay Kumar
Post #1433016
Koen Verbeeck
Koen Verbeeck
Posted Wednesday, March 20, 2013 1:52 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 2:11 AM
Points: 9,378,
Visits: 6,473
Nice basic question Ron, thanks!
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1433041
peter.row
peter.row
Posted Wednesday, March 20, 2013 2:09 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 2:25 AM
Points: 179,
Visits: 210
Basic question designed to seem like a trick?
This applies equally to SQL Server 2005 and 2008 not just 2008R2 and 2012.
Post #1433050
Stuart Davies
Stuart Davies
Posted Wednesday, March 20, 2013 2:18 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 1:41 AM
Points: 2,477,
Visits: 2,140
Nice and clear question - thanks Ron
-------------------------------
Posting Data Etiquette - Jeff Moden
Smart way to ask a question
There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
I would never join a club that would allow me as a member - Groucho Marx
Post #1433052
« Prev Topic
|
Next Topic »
52 posts, Page 1 of 6
1
2
3
4
5
»
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.