Viewing 15 posts - 6,241 through 6,255 (of 26,490 total)
Not to my knowledge. You may not be able to use Audit but you could setup database triggers to capture the use of DDL to disable triggers and even...
July 23, 2014 at 7:57 am
Jeff Moden (7/22/2014)
July 22, 2014 at 12:23 pm
Sean Lange (7/22/2014)
Sean Lange (7/21/2014)
July 22, 2014 at 12:10 pm
tarr94 (7/21/2014)
Here is a sample table:
CustomerID------InvoiceID------Total
----95---------------3546--------#30
----100--------------3547--------$12
----95---------------3548--------$42
----100--------------3549--------$25
----100--------------3550--------$30
I'm looking to write a query that will only return the invoices for each customer that have a Total difference of greater than $10. ...
July 22, 2014 at 12:06 pm
ChrisM@home (7/22/2014)
@wBob, you might find a TOP() -limited IBG-style inline tally even more efficient.
Sort of like this:
IF OBJECT_ID('dbo.numbers') IS NULL
BEGIN
CREATE TABLE dbo.numbers ( x INT, CONSTRAINT PK_numbers PRIMARY KEY (...
July 22, 2014 at 10:50 am
wBob (7/22/2014)
USE tempdb
GO
IF OBJECT_ID('#claims') IS...
July 22, 2014 at 10:41 am
pietlinden (7/22/2014)
July 22, 2014 at 10:05 am
mtassin (6/21/2012)
Make sure to clean up your backups and only keep a small number...
July 22, 2014 at 9:09 am
New Born DBA (7/22/2014)
Grant Fritchey (7/22/2014)
Learn PowerShell.Automate all the things.
Would love to, but where should I start?
Not to be snarky (I am just now starting to learn PowerShell), at...
July 22, 2014 at 9:02 am
Luis Cazares (7/22/2014)
I suggest that you stop using rCTEs to count as they're a form of hidden RBAR and will cause problems. And low row counts don't justify the...
July 22, 2014 at 8:35 am
Well, I figured out who is still missing: Truncate Y'All and NFL Soldiers.
July 22, 2014 at 8:28 am
Well, day time State side works best for me since Afghanistan is 10.5 hours ahead of the States and I work nights out here.
Only thing I have to worry about...
July 22, 2014 at 8:24 am
Who hasn't checked back in yet, or are we all here for another year??
July 22, 2014 at 7:56 am
adonetok (7/21/2014)
One claim number may have various max sequence number.
For example,
1) Claim number: 111 max sequence: 17
2) Claim number: 222 max...
July 21, 2014 at 3:14 pm
wBob (7/21/2014)
SELECT c2.*
FROM ( SELECT DISTINCT CoverageCode FROM dbo.[Contract] ) x
CROSS APPLY ( SELECT TOP 5 * FROM dbo.[Contract] c WHERE...
July 21, 2014 at 1:47 pm
Viewing 15 posts - 6,241 through 6,255 (of 26,490 total)