Viewing 15 posts - 6,256 through 6,270 (of 8,753 total)
Jeff Moden (1/19/2015)
Eirikur Eiriksson (1/19/2015)
January 20, 2015 at 9:58 am
ashokputta9 (1/19/2015)
1.Split the RR ("PL:TW RR:1.8%,PL:TX RR:0.9%") into LowendRR ("PL:TW RR:1.8%") and HighendRR ("PL:TX RR:0.9%")
2.Split the LowendRR ("PL:TW RR:1.8%") into LowendPL...
January 19, 2015 at 10:14 pm
Quick thought, if the table's content is only being maintained with the MERGE statement, it would be better to move the trigger's logic into that implementation, that's straight forward with...
January 19, 2015 at 10:03 pm
ryanabr (1/19/2015)
I am using SQL Azure and I it looks like the LEAD and LAG keywords are not supported....
January 19, 2015 at 9:40 pm
Jeff Moden (1/19/2015)
Jack Corbett (1/19/2015)
Jeff Moden (1/18/2015)
Grant Fritchey (1/18/2015)
WayneS (1/18/2015)
How many folks have a home lab set up with servers?
How many folks just use virtual machines...
January 19, 2015 at 1:31 pm
Grant Fritchey (1/19/2015)
Eirikur Eiriksson (1/19/2015)
Grant Fritchey (1/18/2015)
WayneS (1/18/2015)
How many folks have a home lab set up with servers?
How many folks just use virtual machines on a computer (be...
January 19, 2015 at 9:13 am
Grant Fritchey (1/18/2015)
WayneS (1/18/2015)
How many folks have a home lab set up with servers?
How many folks just use virtual machines on a computer (be it laptop, etc)?
Other?
If you...
January 19, 2015 at 5:30 am
For completion, here is a SQL Server 2012 and later version using the window functions, roughly 3x faster than the 2005/2008 method
😎
USE tempdb;
GO
SET NOCOUNT ON;
declare @temp as table
(
ID int identity,
TS...
January 19, 2015 at 2:15 am
Further on twin.devil's reply, the cardinality (#) of the two tables indicates the action, if #inserted > 0 and #deleted =0 then "insert", if #inserted > 0 and #deleted >...
January 19, 2015 at 12:46 am
This is relatively easy to do on SQL Server 2012 and later, can you let us know which version you are on? Meanwhile here is a quick set based solution...
January 18, 2015 at 10:40 pm
Jeff Moden (1/17/2015)
January 17, 2015 at 8:06 am
Jeff Moden (1/16/2015)
Samuel Vella (1/16/2015)
Jeff Moden (1/15/2015)
No problem. Thank you very much for your efforts.
I have to admit that when it comes to SSIS, I get totally lost because...
January 17, 2015 at 4:38 am
smitty-1088185 (1/16/2015)
When the author choose to create the unique clustered index he excluded the PER.BusinessEntityID
columns and...
January 17, 2015 at 1:48 am
Quick thoughts, this trigger is supposed to copy the data being inserted into the dbo.Employee table into the dbo.EmployeeAudit table, catch error in the insert and roll back the transaction...
January 17, 2015 at 1:42 am
Viewing 15 posts - 6,256 through 6,270 (of 8,753 total)