Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 1] New - if sql statement ends with a ? you will get an exception

ereport
Discussion topic

Back to topic list

[Issue 1] New - if sql statement ends with a ? you will get an exception

Reply

Author issues at ereport dot tigris dot org
Full name issues at ereport dot tigris dot org
Date 2003-03-25 13:26:46 PST
Message http://ereport.tigri​s.org/issues/show_bu​g.cgi?id=1

                  Summary: if sql statement ends with a ? you will get an
                           exception
                Component: ereport
                  Version: current
                 Platform: All
               OS/Version: All
                      URL:
                   Status: NEW
        Status Whiteboard:
                 Keywords:
               Resolution:
               Issue type: DEFECT
                 Priority: P5
             Subcomponent: www
               AssignedTo: ppound
               ReportedBy: ppound


If you are using a parameterized sql statement ( such as "select * from
table where column=?") and the statement ends in "?" you will get an
exception. To prevent this end you statement with whitespace or a
semicolon ("select * from table where column=? ").

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: issues-unsubscribe@e​report.tigris.org
For additional commands, e-mail: issues-help at ereport dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[Issue 1] New - if sql statement ends with a ? you will get an exception issues at ereport dot tigris dot org issues at ereport dot tigris dot org 2003-03-25 13:26:46 PST
Messages per page: