Viewing 15 posts - 5,326 through 5,340 (of 15,381 total)
So you have duplicate ID and name. Which dateinserted do you want to keep?
April 1, 2014 at 8:16 am
jcrawf02 (4/1/2014)
Sean Lange (3/31/2014)
Ed Wagner (3/31/2014)
rodjkidd (3/31/2014)
Got an email from friend who was stuck on working out how many days old a debt is at...
April 1, 2014 at 8:13 am
SQLRNNR (4/1/2014)
jcrawf02 (4/1/2014)
Sean Lange (3/31/2014)
Ed Wagner (3/31/2014)
rodjkidd (3/31/2014)
Got an email from friend who was stuck on working out how many days old a debt is...
April 1, 2014 at 8:10 am
A cross join?
SELECT t1.Col1, t1,Col2, t2.Col1 as Col3, t2.Col2 as col4
from Table1
cross join Table2
April 1, 2014 at 8:04 am
So you have a temp table with 400 million rows??? Even if it is actually a persistent table why do you have a table that large with no primary key?...
April 1, 2014 at 7:59 am
Using some aliases here makes this query far less painful to read.
SELECT ISNULL(DATEDIFF(MM, cs.SavingsStartDate, @FYStartDate), 0) AS InYearMonths
FROM dbo.ContractBenefitReporting_SharesInReport sir
INNER JOIN dbo.ContractBenefitActuals cab ON sir.BenefitVersion = cab.Version AND sir.ShareID =...
April 1, 2014 at 7:56 am
Sean, neat wrapping it up in a proc, worth adding to a DB_Admin db.
Yep that's where I keep it. 😛
March 31, 2014 at 3:47 pm
It may be a good thing your are the FNG. At least that means your resume is current. That place sounds like a nightmare and one to avoid. :w00t:
March 31, 2014 at 3:24 pm
Ed Wagner (3/31/2014)
rodjkidd (3/31/2014)
Got an email from friend who was stuck on working out how many days old a debt is at the end of...
March 31, 2014 at 3:23 pm
ramana3327 (3/31/2014)
I have a parent stored procedure which is calling the child stored procedure. The procedures are using table valued parameters. Before calling the child sp, I want to put...
March 31, 2014 at 10:58 am
tresiqus (3/31/2014)
March 31, 2014 at 10:48 am
It is pretty tough to offer much advice here because we really dont have any details to look at. Do you know what query(s) are timing out? Have you examined...
March 31, 2014 at 9:57 am
JK 80940 (3/31/2014)
I have a sql server 2005 table that stores a list of small pdf articles, there are over 1900 of them, I have a Title, Author and...
March 31, 2014 at 9:50 am
Toreador (3/31/2014)
Sean Lange (3/31/2014)
March 31, 2014 at 7:48 am
Toreador (3/31/2014)
Lynn Pettis (3/31/2014)
There is nothing in the question to tell us that the login has been granted sysadmin privileges on the server.
Nor is there anything to say that it...
March 31, 2014 at 7:08 am
Viewing 15 posts - 5,326 through 5,340 (of 15,381 total)