Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: error handling

Re: error handling

From: <sybrandb_at_hccnet.nl>
Date: Fri, 22 Jun 2007 18:11:12 +0200
Message-ID: <21tn7314v6ukipg58btq79fqhnqvlroahn@4ax.com>


On Fri, 22 Jun 2007 08:03:05 -0700, colmkav <colmjkav_at_yahoo.co.uk> wrote:

>How can I return an error back to Access when executing a command to
>load a file using SQLLOADER and a control file?
>
>eg
>
>Execcmd "SQLLDR EQRISK/eq control=Instrument.ctl"
>
>(where execcmd is a function that executes the command)

Not an Oracle question. Sqlloader returns a non-zero status, and it's up to you.
And you don't disclose what execcmd is doing. Apart from that, using an Access application to call VBA to call SQLLDR to load an XE database: You are aware you can do this directly in Access? If so: Why did you implement this drama?

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Fri Jun 22 2007 - 11:11:12 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US