Viewing 15 posts - 16 through 30 (of 124 total)
SELECT Docket_EngFinish = CONVERT(DATETIME,'2013-07-15 14:08:24.640',121) UNION ALL
SELECT CONVERT(DATETIME,'2013-07-15 13:29:30.780',121) UNION ALL
SELECT CONVERT(DATETIME,'2013-07-15 12:55:57.437',121) UNION ALL
SELECT CONVERT(DATETIME,'2013-07-15 10:21:17.470',121) UNION ALL
SELECT CONVERT(DATETIME,'2013-07-15 10:06:09.610',121) UNION ALL
SELECT CONVERT(DATETIME,'2013-07-15 09:33:54.580',121) UNION ALL
SELECT CONVERT(DATETIME,'2013-07-12 17:43:33.547',121) UNION...
July 19, 2013 at 7:23 am
2013-07-15 14:08:24.640
2013-07-15 13:29:30.780
2013-07-15 12:55:57.437
2013-07-15 10:21:17.470
2013-07-15 10:06:09.610
2013-07-15 09:33:54.580
2013-07-12 17:43:33.547
2013-07-12 11:30:24.500
and many more
Jay
July 19, 2013 at 6:18 am
Point taken Chris, but even if I did I wouldn't get results as I don't them in in the SSMS query?
July 19, 2013 at 6:03 am
I just wondered, if I am passing the week number to sql from c# I am going to have a problem when its week 1, because to get last week...
July 19, 2013 at 5:52 am
Same DB, same Connection Chris. How strange.
July 19, 2013 at 5:43 am
If I run this is Visual Studio to fill my Dataset I get results
SELECT Docket_Id, Docket_Number, Docket_Machine, Docket_Status, Docket_EngineerName, Docket_Category, Docket_SubCategory, Duration, Module,...
July 19, 2013 at 5:32 am
Well I don't understand why I get no results when querying a week number as mentioned before, I get results if I go as low as week 15 but we...
July 19, 2013 at 5:28 am
Yes I do now find that strange considering I have data in there for last week?
July 19, 2013 at 5:22 am
Hi Chris, if I do
Select * from dbo.DocketTB Where DatePart(Week,Docket_EngFinish ) = 28
last week!
I get no results, do I have to pass something else? I know there is data...
July 19, 2013 at 5:21 am
I am awaiting a response regarding the time factor, just for reports I would have thought that week numbers rather than a Monday to Monday 0700 - 0700 would have...
July 19, 2013 at 4:20 am
Sargable being not having the () ?
I am trying not just to use you solution copy and paste, would you not advise using hrs? seeing as we know how many...
July 19, 2013 at 4:05 am
I am using a dataset within my c# app to fill a report then export to excel and email at the given time, so I pass the command to the...
July 19, 2013 at 3:54 am
Viewing 15 posts - 16 through 30 (of 124 total)