I mean to say that code below update the Date but not the time.



________________________________
From: Jean Haidar <[email protected]>
To: [email protected]
Sent: Thu, January 27, 2011 11:47:07 AM
Subject: UPDATE SQL SERVER


I am trying to update date and time in  SQL Server field usin Stored procedure  
below
 
the code below  just update but not the time.
  
ldCmpldt=DATETIME()
 
lccmdu=" exec [dbo].[usp_UpdateEAppAudit]"
lccmdu=lccmdu+ "@ID = '"+lccaseID+"',"
lccmdu=lccmdu +" @CompleteDate='"+ TTOC(ldCmpldt) +"'"
 
IF lncon > 0
  llretv2= SQLEXEC(lncon,lccmdu) 
ENDIF
 
 
Jean haidar
[email protected]

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to