|
Log in |
FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]() drop procedure if exists test_proc;
drop table if exists t1; create table t1 (c1 integer); create procedure test_proc() modifies sql data begin atomic insert into t1 values (1); insert into t1 values (2,1); // forced error here end; call test_proc(); NexusDB: Query execution failed: NexusDB: No user transaction is currently in progress. [$2811/10257] [$2811/10257] The actual error condition is that there's a column number mismatch between the insert source and target, as correctly thrown if the compound statement is defined with NOT ATOMIC: drop procedure if exists test_proc; drop table if exists t1; create table t1 (c1 integer); create procedure test_proc() modifies sql data begin not atomic insert into t1 values (1); insert into t1 values (2,1); // forced error here end; call test_proc(); NexusDB: Query execution failed: Unexpected exception object raised: [Exception] Column number mismatch. Source has more columns than target (2 vs 1) [$3CA1/15521] Ole |
#2
|
|||
|
|||
![]() > The actual error condition is that there's a column number mismatch
> between the insert source and target, as correctly thrown if the > compound statement is defined with NOT ATOMIC: Thanks, issue #2174. -- Eivind Bakkestuen Nexus Database Systems Pty Ltd |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SQL error message incorrect | Martijn Tonies | nexusdb.public.support.sql | 2 | 21st June 2006 09:59 PM |
What is the cause for this error message? | MS | nexusdb.public.support.adoprovider | 7 | 3rd September 2005 10:18 AM |
v 2.01 : Error Message Request | Surjanto | nexusdb.public.support.sql | 1 | 10th August 2005 04:28 PM |
V2 - Low level error message in SQL | Ole Willy Tuv | nexusdb.public.support.sql | 1 | 29th July 2005 04:06 AM |
Weird error when autoinc field has value of -1 | Nathan Sutcliffe | nexusdb.public.support.sql | 4 | 1st April 2004 02:59 PM |