Viewing 15 posts - 11,566 through 11,580 (of 26,486 total)
ScottPletcher (6/1/2012)
SELECT
CustomerId, AppointmentDate, ...
FROM (
SELECT...
June 1, 2012 at 12:41 pm
steviemoxford (5/31/2012)
June 1, 2012 at 12:34 pm
SQLUserC (6/1/2012)
I realize this may seem like a basic question but it involves correlated sub-queries which I don't have a rigorous understanding of yet.
Let's say there's an Appointments table...
June 1, 2012 at 12:27 pm
Your GROUP BY looks okay, but I don't see ANY aggregates in the SELECT list.
June 1, 2012 at 12:11 pm
Steve Jones - SSC Editor (6/1/2012)
Doctor Who 2 (5/31/2012)
No, GSQuared, I haven't tried LinkedIn. I am on it, but tend to spend my time there either interacting with others...
June 1, 2012 at 11:51 am
Is this a native SQL backup from SQL Server 2000 you are trying to restore to SQL Server 2005?
June 1, 2012 at 11:48 am
Wouldn't this work?
SELECT
CmpCompanyCode,
cmpCompanyName,
E.eecCoID,
E.EecEEID, --unique number stays with person, if listed more then once
E.EecOrgLvl2,
E.eecDateOfLastHire,
E.eecDateOfTermination,
E.eecEmplStatus,
E.eecEmpNo,
E.eecLocation,
E.eecFullTimeorPartTime,
E.eecJobCode,
eepNameLast,
eepNameSuffix,
eepNameFirst,
EepNameMiddle
FROM EmpPers JOIN EmpComp E...
June 1, 2012 at 9:36 am
Cadavre (6/1/2012)
michael vessey (6/1/2012)
im guessing that the OP wantsApples
bannanas
Chocolate
Coffee
turning into
A
Apples
B
Bannanas
C
Chocolate
Coffee
I really need to get one of those crystal balls that you guys all seem to have :w00t:
I guess...
June 1, 2012 at 9:33 am
Steve Jones - SSC Editor (6/1/2012)
Ugh, my apologies. In the copy/paste, I lost C somehow.The option was supposed to be c) get me out of here ASAP
That was me at...
June 1, 2012 at 9:21 am
barryocteau (6/1/2012)
A simple single column query of, say, names.
Would like to organize the data returned as such:
A
Apples
Appricots
B
Banana
Blue Berries
C
Clementime
....
.....
Not...
June 1, 2012 at 9:16 am
Here is the problem, we can't see from here what you see. You are basically asking us to shoot in the dark and hope we hit the mark. ...
June 1, 2012 at 9:09 am
I have to agree with what was said above, you need to normalize this data.
BigInt – 150 (PositionCol1, PositionCol2…………PositionCol150)
Int - 5
SmallInt – 5
Date – 150 (SourceDateCol1, SourceDate2,………….SourceDate150)
DateTime – 2
Varchar(2000) –...
June 1, 2012 at 7:44 am
Per Gail's request above, please post query, table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/[/quote]
Please understand that we can't see from here what you see there, unless you...
June 1, 2012 at 7:31 am
That I can't help with. I'm not a SSRS specialist. Read your post and it just sounds like caching. Ran into with SQL Server Agent when programmatically...
May 31, 2012 at 4:19 pm
Viewing 15 posts - 11,566 through 11,580 (of 26,486 total)