Atul.

This query will return you a Remedy date/time field as a SQL date:

SELECT DATEADD(s, [Remedy_DT_Field], '01-01-1970 00:00:00'
FROM [tablename]

Regards,
Ben Trimmer




Atul Vohra <[EMAIL PROTECTED]> 
Sent by: "Action Request System discussion list(ARSList)" 
<[email protected]>
10/01/2007 10:27 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Convert Date in to timestamp in remedy






Hi,

We are using ARS 6.3, MS SQL. I want to update a date field using direct 
sql - can some one help me with this.

Is there a function to convert the date field in to timestamp or can I use 
the sql to update the date field directly.

Thanks
Atul

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where 
the Answers Are"




* * * * * * * * * * * * * * * * * * * * * * * * * IMPORTANT NOTICE* * * * * * * 
* * * * * * * * * * * * * * * * * *

Unless otherwise indicated or obvious from the nature of the transmittal, the 
information contained in this email message is CONFIDENTIAL information 
intended for the use of the individual or entity named herein. If the reader of 
this message is not the intended recipient, or the employee or agent 
responsible to deliver it to the intended recipient, you are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited. If you have received this communication in error, please 
immediately notify the sender using the above contact information or by return 
email and delete this message and any copies from your computer system. Thank 
you.


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to