Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Error 3146 - ODBC Call failed

 
   Database Help (Home) -> Oracle RSS
Next:  Employee Hours Database  
Author Message
Niranjan

External


Since: Jan 30, 2008
Posts: 6



(Msg. 1) Posted: Mon Dec 29, 2008 4:30 pm
Post subject: Error 3146 - ODBC Call failed
Archived from groups: comp>databases>oracle>misc (more info?)

Hi everyone
We just upsized to SQL server (Access 2003 front end). I am running
into error 3146 on a particular table. Part of my code, I have a
simple delete SQL statement and I am getting an error on this
statement.

CurrentDb.Execute "Delete * from [Raw Import Table];", dbSeeChanges

Raw Import Table has a PK (ID - Autonumber).

Does anyone know how to fix it?

 >> Stay informed about: Error 3146 - ODBC Call failed 
Back to top
Login to vote
Laurenz Albe

External


Since: Jan 11, 2008
Posts: 58



(Msg. 2) Posted: Tue Dec 30, 2008 3:25 am
Post subject: Re: Error 3146 - ODBC Call failed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Niranjan wrote:
> We just upsized to SQL server (Access 2003 front end). I am running
> into error 3146 on a particular table. Part of my code, I have a
> simple delete SQL statement and I am getting an error on this
> statement.
>
> CurrentDb.Execute "Delete * from [Raw Import Table];", dbSeeChanges
>
> Raw Import Table has a PK (ID - Autonumber).
>
> Does anyone know how to fix it?

Easy, just use Oracle instead.

You have come to the right group!

Yours,
Laurenz Albe

 >> Stay informed about: Error 3146 - ODBC Call failed 
Back to top
Login to vote
DA Morgan

External


Since: Dec 14, 2007
Posts: 757



(Msg. 3) Posted: Tue Dec 30, 2008 9:00 am
Post subject: Re: Error 3146 - ODBC Call failed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Niranjan wrote:
> Hi everyone
> We just upsized to SQL server (Access 2003 front end). I am running
> into error 3146 on a particular table. Part of my code, I have a
> simple delete SQL statement and I am getting an error on this
> statement.
>
> CurrentDb.Execute "Delete * from [Raw Import Table];", dbSeeChanges
>
> Raw Import Table has a PK (ID - Autonumber).
>
> Does anyone know how to fix it?

SQL Server is not an Oracle product so we can not help you with
your current issue using your existing RDBMS. But if you were
to move to Oracle with a real front-end such as HTML_DB, a substantial
improvement by almost any measure, the issue would not exist.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan.TakeThisOut@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
 >> Stay informed about: Error 3146 - ODBC Call failed 
Back to top
Login to vote
Mark D Powell

External


Since: Dec 20, 2007
Posts: 294



(Msg. 4) Posted: Wed Dec 31, 2008 7:56 am
Post subject: Re: Error 3146 - ODBC Call failed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 30, 12:00 pm, DA Morgan wrote:
> Niranjan wrote:
> > Hi everyone
> > We just upsized to SQL server (Access 2003 front end). I am running
> > into error 3146 on a particular table. Part of my code, I have a
> > simple delete SQL statement and I am getting an error on this
> > statement.
>
> > CurrentDb.Execute "Delete * from [Raw Import Table];", dbSeeChanges
>
> > Raw Import Table has a PK (ID - Autonumber).
>
> > Does anyone know how to fix it?
>
> SQL Server is not an Oracle product so we can not help you with
> your current issue using your existing RDBMS. But if you were
> to move to Oracle with a real front-end such as HTML_DB, a substantial
> improvement by almost any measure, the issue would not exist.
> --
> Daniel A. Morgan
> Oracle Ace Director & Instructor
> University of Washington
> damor... RemoveThis @x.washington.edu (replace x with u to respond)
> Puget Sound Oracle Users Groupwww.psoug.org

Let it not be said that those of us on the Oracle newsgroup do not
always try to be helpful:

The 3146 is a catch all error that masks the real problem. Here is
one known issue where SQL Server database settings can cause the issue
and documents on the error and how to get more information.

PRB: DAO Run-Time Error 3146 When Modifying SQLServer Data
http://support.microsoft.com/kb/195225


How To Get More Information on the ODBC Call Failed Error
http://support.microsoft.com/kb/154510


Trappable Microsoft Jet and DAO Errors
http://msdn.microsoft.com/en-us/library/bb221208.aspx

HTH -- Mark D Powell --
 >> Stay informed about: Error 3146 - ODBC Call failed 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
if I call a plsql is there a commit? - Hi, excuse me for the simplicity of the question but I'm a beginner.. I have seen somethings similar in this forum. If i have a procedure plsql that calls an other one like this: CREATE OR REPLACE PROCEDURE p1 as begin p2(); p3(); .... end; After p...

Call Sqlldr from DOS Batch. - Hi, I'm getting error when I try to call Sqlldr from a batch file: My batch file look like this: SQLLDR PARFILE=C:\TMP\mypar.par CONTROL=C:\TMP\mycontrol.txt ........ Someone told to set Oracle Var. but anyway the problem persist. This the error..

Stored procedure call working on one server but not on ano.. - I have 2 servers the old one is running 9.2.0.1.0 on Red Hat Linux I login as STEST, both scripts below work this one: DECLARE a VARCHAR(100); begin STEST.GETNEXT_ID('ABC',1,a); end; as well as this one; DECLARE a VARCHAR(100); begin..

ODBC : End of loop in FindFirst - Hello everybody, I should be very interested to know if anybody has already seen such messages. When I launch a FindFirst on an OraDynaset from Excel, I see a message with "End of Loop" as a title, and in the text : Ins: 1, BS: 0, BV:0 VS:1...

error on index - Hi can someone tell me what is the meaning of this error: ORA-13223: duplicated record in STRADE.THE_GEOM in SDO_GEOM_METADATA ORA-06512: a "MDSYS.MD", line 1723 ORA-06512: a "MDSYS.MDERR", line 17 ORA-06512: a "MDSYS.SDO_GE...
   Database Help (Home) -> Oracle All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]