Viewing 15 posts - 32,656 through 32,670 (of 59,099 total)
tamil.selvanmca (9/2/2011)
2058 01/02/2011 13:43
2058 01/02/2011 20:12
2058 01/03/2011 14:04
2058 01/03/2011 20:13
2058 01/04/2011 14:09
2058 01/04/2011 20:12
I Want Show Like This
EmpCode ShiftDateTime TimeDetail
2058 01/02/2011 13:43 13:43,20:12
2058 01/03/2011 14:04 14:04,20:13
2058 01/04/2011 14:09 14:19,20:12
Please...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 8:11 pm
sqlzealot-81 does the trick although you could get rid of the outer select.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 7:55 pm
What is the average number of Device_ID's you have per server? I'm asking because I think I see some major issues with the indexes on this table but don't...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 7:16 pm
Sean Lange (9/2/2011)
Jeff Moden (9/2/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 6:38 pm
There's one major problem that I see in all of this... [font="Arial Black"]why are we converting things that aren't dates into NULLs when the original data is SUPPOSED TO ONLY...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 6:32 pm
nellisjp (9/2/2011)
Select Case When Len(InputDate) <> 8...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 6:29 pm
Noooooooooooooo!!!! 😉
You don't need to even have a UDF to do this. Just cast the 8 character input field as a DATETIME datatype and you're done!
As a side bar,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 2:33 pm
You bet... thank you for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 2:25 pm
Darryl Wilson (9/2/2011)
Its in the following format:
GREEN,0016861779528,"Dembo, Ron C","""Roulette"" or the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 2:25 pm
falcon00 (9/2/2011)
The purpose is simply to use it for a request, where user would physically...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 2:16 pm
The XML method won't work on NTEXT, period. Also be advised than NTEXT has been deprecated in favor of NVARCHAR(MAX). Since you're posting in a 2k8 forum, I...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 1:54 pm
First, welcome aboard! 🙂
There are 3 basic types of hierarchies... how are your hierarchies being stored? Adjacency List, Hierarchical Path, Nested Sets?
Since you're brand-spanking new to this forum, please...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 8:01 am
If your 6 digit (2 year ISO date) is actually an Integer, then the following will do...
SELECT CAST(CAST(110815 AS CHAR(6)) AS DATETIME);
If it's already character based, then the following...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 7:44 am
I see lot's of folks using Recursive CTE's (rCTE's) for this task. [font="Arial Black"]PLEASE [/font]don't use or recommend rCTE's for this or any simple counting task. Use one...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 7:28 am
alexander.semenov (2/23/2010)
Just stumbled on your topic and thought about why one should limit oneself with maximum recursion limit? We can use even less memory if we want to... The...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2011 at 7:25 am
Viewing 15 posts - 32,656 through 32,670 (of 59,099 total)