on 2010 Aug 18 2:00 PM
I encountered an error executing a CREATE PROCEDURE statement and burned it down to the following example:
create procedure CommentTest
as
begin
-- a comment's text may not contain any single quotes
select 1 from dummy
end
If I try to execute that with ISQL (Java) 11.0.1.2467 it gives me an error:
Could not execute statement.
Syntax error or access violation
SQLCODE=0, ODBC 3 State="42000"
The same statement works with the C-Version of ISQL (dbisqlc.exe).
Might I call this a bug or a feature?
Yes, single quotes are allowed inside -- comments.
There may (must?) be something else going wrong with your example... what version of SQL Anywhere are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.