Results 1 to 3 of 3

Thread: [RESOLVED] What's wrong with this SQL "Update" statement?

Threaded View

  1. #1

    Thread Starter
    Fanatic Member The_Grudge's Avatar
    Join Date
    Jan 2005
    Location
    Canada
    Posts
    836

    Resolved [RESOLVED] What's wrong with this SQL "Update" statement?

    UPDATE PROD.Customer
    SET Prod.Customer.Rooms_Used = '4'
    WHERE ID LIKE '%00'
    AND CANCELLED <> 'Y'
    AND DATE <= To_Date ('2005/06/30','YYYY/MM/DD')

    It used "Debug.Print" to give me the results of a query I have in VB.
    This is what VB is sending Oracle, but it keeps coming back saying "Missing Expression". Any ideas as to why?
    Last edited by The_Grudge; Jun 1st, 2005 at 07:23 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width