Viewing 15 posts - 196 through 210 (of 1,048 total)
I don't think it looks bad, it does what you want.
Your only other option is to always use OUTPUT into a table variable. Then test the logging flag after the...
The probability of survival is inversely proportional to the angle of arrival.
June 7, 2012 at 7:41 am
ScottPletcher (6/6/2012)
DECLARE @deleted_ids TABLE (
license_message_id int
)
BEGIN TRY
BEGIN TRANSACTION
DELETE FROM
dbo.license_message
OUTPUT DELETED.license_message_id INTO @deleted_ids
WHERE
archive_date...
The probability of survival is inversely proportional to the angle of arrival.
June 7, 2012 at 6:58 am
Okay, I understand your set up now. The clustered index is on the id.
I'd try to do it this way:
--
-- get a consistent snapshot of ids to be deleted
--...
The probability of survival is inversely proportional to the angle of arrival.
June 6, 2012 at 2:30 pm
Is the clustered index based on some sort of chronological entity that is also a factor of your deletes?
For a scenario like you just described... rows inserted and rows aged...
The probability of survival is inversely proportional to the angle of arrival.
June 6, 2012 at 11:44 am
MisplacedChildhood (6/4/2012)
The probability of survival is inversely proportional to the angle of arrival.
June 5, 2012 at 2:58 pm
I'm right at B. I like it here and the people but I'm underutilized in terms of my technical skill set. While not underpaid per se, I'm interested in more...
The probability of survival is inversely proportional to the angle of arrival.
June 5, 2012 at 2:48 pm
mtucker-732014 (5/29/2012)
The probability of survival is inversely proportional to the angle of arrival.
May 30, 2012 at 7:49 am
Just use the import data wizard. You can import directly into an existing table or to a temp table and then insert to the existing, whatever you prefer.
Just right click...
The probability of survival is inversely proportional to the angle of arrival.
May 29, 2012 at 9:33 am
I watched "The Thirteenth Floor" on Netflix really enjoyed it, though it is a couple years old. I'm not usually into Sci-FI movies but this was more Computer-Techi than Sci-Fi....
The probability of survival is inversely proportional to the angle of arrival.
May 25, 2012 at 8:33 am
Sean Lange (5/25/2012)
The probability of survival is inversely proportional to the angle of arrival.
May 25, 2012 at 7:38 am
Its all about the journey, not the destination. That's the one downside of flying fast: Its cool but its over all too quickly.
The probability of survival is inversely proportional to the angle of arrival.
May 25, 2012 at 6:36 am
Fly Girl (5/24/2012)
The probability of survival is inversely proportional to the angle of arrival.
May 24, 2012 at 8:00 am
If you could provide a complete listing of the code in the procedure that might be informative. Also, as someone else suggested, is everything in the dbo schema?
The probability of survival is inversely proportional to the angle of arrival.
May 24, 2012 at 7:26 am
I'm sorry you have to deal with this crap. It is the result of a VB programmer gone wild with a database to play with. Sorta like giving a machine...
The probability of survival is inversely proportional to the angle of arrival.
May 22, 2012 at 9:54 am
You would certainly want consider that metric, but understanding the database design (or lack thereof) , database sizes, type of transactional activity and the nature of the applications. Batch requests...
The probability of survival is inversely proportional to the angle of arrival.
May 22, 2012 at 6:39 am
Viewing 15 posts - 196 through 210 (of 1,048 total)