Le mercredi 24 mars 2004, MaxDB - Mailing List a �crit...
bonjour,
> However Field2 does
> not allow nulls. If the insert executes with it being Null then the insert
> fails. If this is done within the same session CURRVAL returns a number even
> when the insert fails. Is there a way , within the stored proc, to test if
> the insert failed, that way I can set SET intReturnVal = -2; and know it
> failed?
Can't you test the $RC value ?
I think that $RC should be 0 if success.
--
jm
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]