Viewing 15 posts - 10,906 through 10,920 (of 18,923 total)
1)
SELECT TOP 1 WITH TIES DrinkID FROM PubDrink GROUP BY DrinkID ORDER BY COUNT(*) DESC
2)
SELECT DrinkName FROM Drinks WHERE NOT EXISTS (SELECT * FROM PubDrink WHERE Drinks.DrinkID = PubDrink.DrinkID)
3)...
November 27, 2006 at 12:18 pm
Won't this cause a recurring action on the trigger??
November 27, 2006 at 11:55 am
System procedure in the master database. It looks through all tables in the current database and executes the statement passed in paramter. The question mark is used as a placeholder...
November 27, 2006 at 9:04 am
Have you searched the articles sections on this site. I'm sure you'll find something on this subject!
November 27, 2006 at 8:38 am
I'm assuming that there is at least 1 foreign key in the whole DB. So truncate was out of the question
.
November 27, 2006 at 8:13 am
RUN only in developpmenet area :
EXEC sp_MSForEachTable 'DELETE FROM ?'
November 27, 2006 at 7:44 am
Can't wait to be able to do this here
.
November 27, 2006 at 7:27 am
SELECT *
FROM ::fn_listextendedproperty(NULL, NULL, NULL, NULL, NULL, NULL, NULL)
November 27, 2006 at 7:14 am
Thanx for letting me know. Do you know any other alternative than my trace idea?
November 27, 2006 at 7:04 am
Or if you have audit on the tables and those audit tables are never deleted... but you see another gotcha situation where you may run with invalid data for a...
November 25, 2006 at 5:18 pm
well you can ask all those missing payments to be remade... but it might not be a good thing on the long run for the company
November 25, 2006 at 5:13 pm
Check out sp_addextendedproperty in books online.
November 25, 2006 at 8:32 am
How about this one... the dude makes a mistake in a delete statement and deletes 1000 rows when he meant to delete 500 on a 1M rows table. He doesn't...
November 25, 2006 at 8:16 am
Exactly the point of a NULL. We don't know the information.
Now we could get started on the fact that we could know that this information does not exists but that's...
November 25, 2006 at 7:29 am
1975 now
?
Good week-end guys.
November 24, 2006 at 10:02 am
Viewing 15 posts - 10,906 through 10,920 (of 18,923 total)