Viewing 13 posts - 121 through 133 (of 133 total)
I never thought of using a 'double reverse'
Thank you very much, that was great and works no problem.
July 1, 2009 at 11:15 am
Is that going to work with the name: John Q. Public to give me:
First Name = 'John'
Last Name = 'Public'
July 1, 2009 at 9:36 am
Actually I'm a little embarrased to admit it.
I took a second look at the query and I am not adding (or finding the min, max, avg, etc...) anything.
So, feeling a...
June 10, 2009 at 11:00 am
That really helped.
Thanks to both for your help.
June 10, 2009 at 6:58 am
I suspect I am getting an INT from the iSeries.
June 9, 2009 at 2:50 pm
In the vtbl_TCH_First_Labor table it could be either a Null which I convert to 0 or the YYYYMMDD format.
In the other table it should always be in the YYYYMMDD format.
However,...
June 9, 2009 at 2:48 pm
I tried and tried using different versions of what Lynn provided, using with and without Convert.
I kept getting errors. However I just tried
YEAR(dateadd(mm, -3, Convert(smalldatetime,str(START)))) As Job_Start
and it worked.
Yeah!!!
I...
June 9, 2009 at 2:24 pm
I also tried
Case
When Start > 0 Then Convert(smalldatetime,Start)
Else 0
End
As Job_Start
June 9, 2009 at 2:01 pm
Okay, I know this should be easy since I figured out the convert in the first place.
But... I can't seem to get it to work.
What is the proper syntax for...
June 9, 2009 at 1:58 pm
Unfortunately Start and Close are in YYYYMMDD format.
Which is why I convert them to a string to strip out what I need.
June 9, 2009 at 1:33 pm
Viewing 13 posts - 121 through 133 (of 133 total)