Viewing 15 posts - 16 through 30 (of 66 total)
Thanks for the response. I don't know what the valid codes are as they can be added dynamically, so I'm not sure how well an IN will work. Let me...
October 25, 2010 at 11:32 am
I am trying to get the SUM of a field for all records with a code between two values, e.g. 600 and 699. Those values however can be alphanumberic, e.g....
October 25, 2010 at 9:12 am
Thanks for the help.
July 2, 2010 at 1:46 pm
sturner (7/2/2010)
select sum(case when field1 = 'A' then 1 else 0 end) as SUMA,
sum(case when field1 = 'B' then 1 else 0 end) as SUMB,
sum(case when field1...
July 2, 2010 at 1:40 pm
Nevermind, I figured it out, I can just subquery in the select statement and not try to use a join.
February 19, 2010 at 8:03 am
CirquedeSQLeil (1/26/2010)
Is this a bulk load script or is the script file various different sql statements and commands?
Various SQL statements.
January 26, 2010 at 12:06 pm
Found it, never mind.
Microsoft SQL Server Database Publishing Wizard 1.1
September 2, 2009 at 12:35 pm
It appears that you were checking before on both the employee and call both needed to have the same Classification or Division
in order to be selected. From...
July 15, 2009 at 9:21 am
Was thinking something like this would work?
update SECO_GLTRANS set Processed_Flag = (case WHEN Processed_Flag 'Y' THEN 'Y' ELSE 'N' END) WHERE Posting_Date = '20090329'
April 28, 2009 at 8:14 am
Mark (11/26/2008)
SELECT * FROM mytableWHERE POLE_ID NOT IN
(SELECT DISTINCT POLE_ID FROM mytable L
WHERE (L.DATE1 IS NULL OR L.DATE2 IS NOT NULL OR L.DIVISION <> 'E') AND L.IGNORE =...
November 26, 2008 at 9:12 am
It has Named Pipes and TCP/IP Protocols enabled.
August 26, 2008 at 11:55 am
Steve Jones - Editor (8/26/2008)
what were you using for the connection string? IP?
I wasn't using a connect string (per say, I'm sure there is one in the background somewhere), I...
August 26, 2008 at 8:17 am
Ok I changed the Client from TCP/IP to Named Pipes and it resolved the issue. Anybody better at SQL than I am tell me why that would resolve it? Thanks!
August 26, 2008 at 7:50 am
Viewing 15 posts - 16 through 30 (of 66 total)