M
M
mihzas2015-03-07 01:28:54
firebird
mihzas, 2015-03-07 01:28:54

Variable not being created in Firebird?

CREATE PROCEDURE my_procedure AS DECLARE VARIABLE my_variable int; begin my_variable = 5; end
Statement failed, SQLSTATE = 42000
Dynamic SQL Error
-SQL error code = -104
-Unexpected end of command - line 1, column 63
Statement failed, SQLSTATE = 42000
Dynamic SQL Error
-SQL error code = -104
-Token unknown - line 1 , column 1
-begin
CON> ;
Statement failed, SQLSTATE = 42000
Dynamic SQL Error
-SQL error code = -104
-Token unknown - line 1, column 1
-end Googled
it, didn't help. Did everything according to the documentation, what's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
ldv, 2015-03-07
@ldvldv

firebirdsql.su/doku.php?id=set_term

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question