Viewing 15 posts - 466 through 480 (of 860 total)
for once i agree with celko on the point its bad design. if you look at all your tables you have the exact same columns in each. since...
April 20, 2012 at 5:02 pm
crookj (4/20/2012)
Revenant (4/20/2012)
SQLRNNR (4/20/2012)
capn.hector (4/20/2012)
L' Eomot Inversé (4/20/2012)
Revenant (4/19/2012)
capn.hector (4/19/2012)
SQLRNNR (4/19/2012)
Revenant (4/19/2012)
capn.hector (4/19/2012)
crookj (4/19/2012)
SQLRNNR (4/19/2012)
styracosaurusTriceratops
High Tops
Tank tops
tube tops
inner tubes
nanotubes
buckyrods
bucky balls (SP)
buckmaster
whitetail
10 point
Touchdown and field goal
(ok more than one word...
April 20, 2012 at 3:07 pm
; WITH CTE AS (select ROW_NUMBER () OVER (PARTITION BY testCol ORDER BY (SELECT NULL)) row, * from testPartition)
SELECT testcol, CASE WHEN row = 1 then 'first' ELSE CAST(row AS...
April 20, 2012 at 1:03 pm
something like this maby:
SELECT *
FROM TableA a
LEFT JOIN TableB b
ON a.empid = b.empid
AND a.code = b.code
WHERE b.empid IS...
April 20, 2012 at 9:06 am
L' Eomot Inversé (4/20/2012)
Revenant (4/19/2012)
capn.hector (4/19/2012)
SQLRNNR (4/19/2012)
Revenant (4/19/2012)
capn.hector (4/19/2012)
crookj (4/19/2012)
SQLRNNR (4/19/2012)
styracosaurusTriceratops
High Tops
Tank tops
tube tops
inner tubes
nanotubes
buckyrods
bucky balls (SP)
April 20, 2012 at 7:26 am
ok something like this may work:
UPDATE #Temp1 SET t1.mtd = ISNULL(t1.mtd, t2.mtd), t1.ytd = ISNULL(t1.ytd,t2.ytd)
FROM #Temp1 t1
LEFT JOIN #Temp2 t2
ON t1.id = t2.id
WHERE t1.mtd IS NULL
...
April 20, 2012 at 7:19 am
Lynn Pettis (4/20/2012)
I wanted to say...
April 20, 2012 at 6:54 am
finally we are close to answering one question, can you post your DDL for #Temp2. im not sure how it relates to 1003 and 1004 in temp1. should...
April 20, 2012 at 6:48 am
SQLRNNR (4/19/2012)
Revenant (4/19/2012)
capn.hector (4/19/2012)
crookj (4/19/2012)
SQLRNNR (4/19/2012)
styracosaurusTriceratops
High Tops
Tank tops
tube tops
inner tubes
April 19, 2012 at 10:06 pm
riya_dave (4/19/2012)
thats so annoying . and i dont except any response...
April 19, 2012 at 9:38 pm
ON TOPIC: http://www.sqlservercentral.com/Forums/Topic1286816-392-1.aspx Lynn are you really going to try again. i wonder where your troll feeding sponser is. LOL 😀
April 19, 2012 at 9:31 pm
GilaMonster (4/19/2012)
#declare NewTopic;
Who plays MMOs and which ones?
I've just quit the one I played for a few years, they added a 'pay to...
April 19, 2012 at 5:11 pm
========== ORIGINAL METHOD ======================================================
SQL Server Execution Times:
CPU time = 9251 ms, elapsed time = 9267 ms.
========== With out PATINDEX =======================================================
SQL Server Execution Times:
...
April 19, 2012 at 4:44 pm
The Dixie Flatline (4/19/2012)
Yes, Gail, I was at the last Summit...
April 19, 2012 at 4:11 pm
Viewing 15 posts - 466 through 480 (of 860 total)