[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [SQR-users] Order by date (MM/DD/YYYY) RESOLVED



Hello All,
Just wanted to thank those that replied for your time
Wes Williams from http://groups.yahoo.com/group/MAXIMO/ informed me of the
"datepart" function which did the trick.
order by workorder, datepart(yy, targcompate), datepart(dy,
targcompdate),wo3,eqnum
Thanks again.
Larry

-----Original Message-----
From: McCown, Larry 
Sent: Thursday, February 12, 2004 6:54 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] Order by date (MM/DD/YYYY)


Hello All,
I have a date field that includes hours and minutes and I am trying to get
my order by to only look at the mm/dd/yyyy.  Suggestions?
Thank you in advance for your time.
VisualSqribe 5.0
Maximo 4.0.3
SQLServer 7.0
 
Larry  *
Larry McCown
Northrop Grumman
Western Region Facilities
One Hornet Way WG00/W5
El Segundo, Ca. 90245
Phone (310)628-3939
Fax      (310)332-3149
 <mailto:Larry_McCown@NorthropGrumman.com> 
Larry.McCown@NGC.com <mailto:Larry.McCown@NGC.com> 
Opportunities to be kind are never hard to find.
Words kill, words give life; they're either poison or fruit - you choose.
 
 

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users