Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2005

    Unanswered: Passing Parameters to Informix SQL

    I'm trying to pass a parameter to a WHERE clause in an Informix SQL statement. But I keep getting an error:


    Select * from Clients
    WHERE Client_ID = ?????

    What does Informix expect in the "?????" area?

  2. #2
    Join Date
    Feb 2005
    What is the error that you are getting? How are you going about this? Is it a stored procedure? A prepared statement? Something else?

    A very basic answer to your question would be to suggest that Informix is looking for a variable that has been defined and assigned a value that would be valid for comparison with Client_ID. Without more details about the situation and the error that you are getting, I can't give a more specific answer.

Posting Permissions

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