Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004

    Unanswered: Update method with now() function

    I tried to update date/time . This is code that I tried to do but it didn't work. I got message syntex error.

    sql="update group1 set last trade=now(), vol="&rst4("volumn")&" where ticker ='"&request.querystring("stockname")&"'"

  2. #2
    Join Date
    May 2004
    Try this:

    sql="update group1 set [last trade]=getdate(), vol="&rst4("volumn")&" where ticker ='"&request.querystring("stockname")&"'"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts