Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    77

    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
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    the column last trade has a space in it, you have to say [last trade]
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Aug 2004
    Posts
    77

    Thumbs up

    It works now.
    Thanks you very very........ much

Posting Permissions

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