Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute procedure and string concat [CORE580] #936

Closed
firebird-automations opened this issue Jul 2, 2001 · 4 comments
Closed

Execute procedure and string concat [CORE580] #936

firebird-automations opened this issue Jul 2, 2001 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @dyemanov

SFID: 437859#⁠
Submitted By: dimitr

I'm not 100% sure this is a bug, but IMHO this ability
should be supported.

The engine does not allow to pass an expression with
string concatenation to a SP. When I'm compiling a
procedure with a line like this one:

execute procedure p_do_something('a' || 'b');

I get an error:

Invalid token.
Dynamic SQL Error.
SQL error code = -104.
Token unknown - line 14, char 57.
||.

Of course, the following work fine:

declare variable the_var varchar(64);
...
the_var = 'a' || 'b';
execute procedure p_do_something(the_var);

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2001-07-04 08:06
Sender: dimitr
Logged In: YES
user_id=61270

Damn. All entries were lost during the conversion from Bug
to Feature Request and vice versa.

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2001-07-04 07:42
Sender: dimitr
Logged In: YES
user_id=61270

OK, let it be a request for enhancement.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 10604 ] => Firebird [ 14939 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants