Viewing 15 posts - 12,286 through 12,300 (of 15,381 total)
JokerUK (4/23/2012)
I figured that looking at an INT when deleting would be more efficient than...
April 23, 2012 at 9:29 am
Another idea would be to use cascading deletes. You said that is slower? My guess is due to indexes.
April 23, 2012 at 9:08 am
Why have day and month as columns with a datatype of int? Can you replace those with a datetime column, which could be the same value as the parent table?...
April 23, 2012 at 9:06 am
Yes that type of delete is going to perform horribly, especially with that much data. There is no need for a loop here at all. This should be a single...
April 23, 2012 at 8:41 am
How about some ddl and sample data? Then post what you have tried. The error message is pretty self explanatory. When using aggregates all non-aggregated columns must be included in...
April 23, 2012 at 8:15 am
rarara (4/23/2012)
ACinKC (4/20/2012)
rarara (4/19/2012)
1) delete from table_A where ID = 123452) drop table table_12345
Hopefully it would either have those two steps wrapped in a transaction or drop the table first,...
April 23, 2012 at 8:07 am
You are correct that I am a bit confused by what you are trying to do. We need to see ddl (create table statements), sample data (insert statements), desired output...
April 23, 2012 at 8:03 am
Yeah that would be an interview ending request for me. I have facebook and there is absolutely nothing on there that would in anyway shape of form be offensive to...
April 23, 2012 at 7:55 am
Have no fear, we don't bite. 😀 It is hard to know all the details from your description but it seems that you could use what is called a "calendar"...
April 20, 2012 at 2:53 pm
If you want some real help take a look at the first link in my signature. Honestly I am surprised that over 300 points you wouldn't know to post ddl,...
April 20, 2012 at 1:29 pm
To me it seems like the easiest implementation of this would be to have a delete trigger on the "List" table. Then it can simply delete the "child" table. Then...
April 20, 2012 at 12:41 pm
Define before or after. You are going to need to find something to use to order by. Once you have figured that out need to investigate "islands". Jeff Moden has...
April 20, 2012 at 12:27 pm
Viewing 15 posts - 12,286 through 12,300 (of 15,381 total)