|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Dynamic sql error - execute statement
i'm frustated
using "execute statement" in stored proc, i'm using interbase 6.5 (try it in fb 2.0 too but same result)..i got this error message invalid token engine code : 335544569 engine message : dynamic sql error sql error code = -104 token unknown ..line..char.. statement can anyone help me ??? |
|
#2
|
||||
|
||||
|
Some code could help ...
__________________
My blog Tutorials about OSS databases, DBMonster ... Contribute to OSS Development, fill bug reports! Developer Shed eSupport Commented my.ini/my.cnf (ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins Random data (with a bias) |
|
#3
|
|||
|
|||
|
Quote:
CREATE PROCEDURE NEW_PROCEDURE AS begin /* Procedure Text */ execute statement 'delete from saldobarang'; suspend; end error code return : Invalid token. Dynamic SQL Error. SQL error code = -104. Token unknown - line 5, char 9. statement. |
|
#4
|
|||
|
|||
|
can any one help me ???
what's wrong with the code ?? is't a bug ?? or not yet supported at interbase 6.5 |
|
#5
|
||||
|
||||
|
Please consider that:
1. We are here to help at our discretion, so please refrain from "bumping" threads or sending private messages or emails asking for help 2. We might not have the same software version as you do (I'm on Firebird 2 for example) 3. There is no need for a stored proc with execute statement, which is aimed at using dynamic sql, to issue a delete 4. I have something like yours running perfectly in Firebird 2 5. Interbase 6.5 is a commercial product, you should check with Borland Regards |
|
#6
|
||||
|
||||
|
|
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Dynamic sql error - execute statement |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|