Viewing 15 posts - 4,006 through 4,020 (of 6,038 total)
LOL! Every SQL Server related job I've ever had, at some point during the first week, I get handed some pile of nonsense like this and told it's now one...
April 1, 2015 at 1:21 pm
Or when rolling off to history hourly:
where datediff( hour, PrintDate, getdate() ) > 120;
April 1, 2015 at 11:59 am
Could it all be as simple this: a single delete operation that leverages an output clause to insert deleted rows into a history table? If this were to be...
April 1, 2015 at 11:55 am
You can prevent duplication of service codes by leveraging an INSTEAD OF INSERT, UPDATE trigger where each service column is conditionally populated depending on whether a preceeding service column has...
April 1, 2015 at 11:29 am
If the procedure uses BEGIN TRY / BEGIN CATCH error handling, then confirm what it's doing with trapped errors. Consider commenting out the error handling blocks and just let...
April 1, 2015 at 10:56 am
Really, your disposable audit records that you purge after five days must have referential integrity and must be totally consistent? Let's consider that over engineering on the part of the...
April 1, 2015 at 9:40 am
Eric JOATMON (4/1/2015)
April 1, 2015 at 9:17 am
Maddave (3/30/2015)
I've been asked to come up with a better solution to delete the data. I can delete it in batches, which would solve the tlog growth, but it wouldn't...
March 31, 2015 at 2:13 pm
sqlfriends (3/31/2015)
The query is:
(@p0 datetime,@p1 datetime,@p2 bigint,@p3 datetime,@p4 datetime,@p5...
March 31, 2015 at 12:03 pm
sqlfriends (3/31/2015)
Any suggestions about the solution according to the chart I attached?Thanks!
Post the text for the actual UPDATE statement and also for the statement that is blocking.
Am I...
March 31, 2015 at 11:32 am
Once a year I watch 'The Sound of Music' with the family. This is one movie that could never be properly redone.
March 31, 2015 at 10:19 am
Michael Valentine Jones (3/31/2015)
Lost in Space
The Brady...
March 31, 2015 at 9:37 am
SQL_Kills (3/31/2015)
Hi,I tried to do a cross join but it wasn't working, do you have a example?
Thanks
What I was referring to is something like the following. Here we have a...
March 31, 2015 at 8:08 am
SQL_Kills (3/29/2015)
A0001 still needs to appear as 50 as a Difference for the InjectedDate 2015-03-05 23:19:01.727
To pad a resultset with missing rows required to form a complete set, you can...
March 31, 2015 at 7:19 am
Most ETL jobs from source to target want to perform both inserts for new rows and updates for existing rows having the same primary key. However, if you only need...
March 30, 2015 at 12:29 pm
Viewing 15 posts - 4,006 through 4,020 (of 6,038 total)