Viewing 15 posts - 48,586 through 48,600 (of 59,099 total)
rbarryyoung (8/26/2008)
Jeff Moden (8/26/2008)
SELECT ROW_NUMBER() OVER (PARTITION BY ShiftID, TableID, StationID, EmployeeID, DATEADD(dd,DATEDIFF(dd,0,CounterDateTimeStamp),0)
...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 27, 2008 at 6:27 pm
Update:
What a huge PITA SQL Server 2000's TEXT data type is...
You can create a sproc with a TEXT datatype variable as one of the parameters. Trouble is, you can't...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 27, 2008 at 8:27 am
Tomm Carr (8/26/2008)
Here is my contribution:
Ummmm... nicely done, but be careful. If you take a look at the actual execution plan, there are two flow arrows of great concern......
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 9:51 pm
Hi Simon,
You'd probably get a faster, better response if you put your data in a ready to use/test format. Take a look at the link in my signature line...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 7:32 pm
Use UnPivot.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 7:29 pm
Haven't done a performance comparison, but I wouldn't be surprised if your all math solution were faster than just about any string solution including the one I posted.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 6:39 pm
Instead of using EXEC... use PRINT(@Query) and post the result, please.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 6:36 pm
Thanks for the code and the write up... it's exactly what I was afraid of though. In your example just for layer #1, if you have a million rows...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 6:33 pm
gan (8/26/2008)
Jeff Moden (8/25/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 6:21 pm
MrBaseball34 (8/26/2008)
I make a copy to a tempfilename passed into the procedure and then if there is an...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 6:09 pm
All those are well and good, but the OP still hasn't provided an answer to the question of which numeric field (or both) to sort on for some of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 6:04 pm
sg (8/26/2008)
Thanks for ur reply. I am an asp.net developer, not a dba :rolleyes: but still i have a good knowledge on db.
I have used joins on...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 6:01 pm
Sorry... new job has kept me busy... I think I may have a solution soon. Yep, I know you already have one using REPLACE on the quotes... there's just...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 5:56 pm
developer6 (8/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 5:50 pm
swtrans (8/19/2008)
C1 C2 C3 C4
110 99...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2008 at 12:47 pm
Viewing 15 posts - 48,586 through 48,600 (of 59,099 total)