Viewing 15 posts - 16 through 30 (of 80 total)
Dear All,
Thanks for this, I think I've found some non-valid times, and this is the problem. SQL error messages never lie!
Regards, Greg
June 5, 2014 at 6:40 am
Nope, they are all 4 chars in length...
June 5, 2014 at 6:07 am
OK will try, good idea.
I notice also that:
declare @sTime varchar(5) = ' 2359'
select isdate (@sTime)
returns 1! So not a useful check...
Greg
June 5, 2014 at 6:05 am
Yes, well good idea - but I've trimmed just in case, and displayed the string with [] around it, just to be sure that's not the problem.
I've tried to find...
June 5, 2014 at 5:32 am
Just to make diagnostics easier, I inserted the hours values (1100, 1425 etc.) into a 1 field temp table - still varchar(5). I thought I'd see the same convert error...
June 5, 2014 at 4:53 am
Nope, not filtering any rows.
June 5, 2014 at 4:42 am
Thanks all. Strikes me this isn't very good. I think it's the same for update and delete too. I guess it's complex/very difficult to chunk up the work and thread...
February 4, 2014 at 1:33 am
All I can think of here then is that some tasks (ie, a delete, or an insert exec) cannot be parallelised, regardless of server settings. So, in effect the bottleneck...
September 25, 2013 at 5:00 am
16 hyper threaded up to 32
September 24, 2013 at 1:05 pm
Hi Markus,
Yes, I see what you mean, but...
I'm running these query tests standalone so no other users in the way.
1) There are no triggers on the table
2) It's...
September 24, 2013 at 4:14 am
Dear All,
Thanks for the posts - this is an old one that I solved a while back (just using case statements as I recall). Didn't expect any further postings -...
April 9, 2013 at 2:08 am
One idea would be for me to delete those Off shifts. The remaining problems may be easier to address:
Whilst for sickness, gaps in days don't trigger new episodes, they do...
February 8, 2013 at 6:02 am
Chaps,
Due to my poor test data, it's not quite there. In fact it's worse, but that's my fault.
What's happening is that all Off (basically placeholders for "nothing's happening here")...
February 8, 2013 at 3:17 am
Well I must say:
1) You guys operate at a level of SQL comprehension way beyond me ! It is (and I use the word without reservation) awesome (PS I am...
February 8, 2013 at 2:00 am
OK best I can think of then is to use a calendar table to plug holes in the data - processing each staffid one by one in a supervisory cursor...
February 8, 2013 at 1:08 am
Viewing 15 posts - 16 through 30 (of 80 total)