dbTalk Databases Forums  

Re: Error 3146 - ODBC Call failed

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Re: Error 3146 - ODBC Call failed in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: Error 3146 - ODBC Call failed - 12-30-2008 , 02:03 AM






Niranjan <nhiras (AT) gmail (DOT) com> wrote:
Quote:
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


Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: Error 3146 - ODBC Call failed - 12-30-2008 , 11:00 AM






Niranjan wrote:
Quote:
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@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #3  
Old   
DA Morgan
 
Posts: n/a

Default Re: Error 3146 - ODBC Call failed - 12-30-2008 , 11:00 AM



Niranjan wrote:
Quote:
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@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #4  
Old   
DA Morgan
 
Posts: n/a

Default Re: Error 3146 - ODBC Call failed - 12-30-2008 , 11:00 AM



Niranjan wrote:
Quote:
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@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #5  
Old   
DA Morgan
 
Posts: n/a

Default Re: Error 3146 - ODBC Call failed - 12-30-2008 , 11:00 AM



Niranjan wrote:
Quote:
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@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #6  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Error 3146 - ODBC Call failed - 12-31-2008 , 09:56 AM



On Dec 30, 12:00*pm, DA Morgan <damor... (AT) psoug (DOT) org> wrote:
Quote:
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...@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 --


Reply With Quote
  #7  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Error 3146 - ODBC Call failed - 12-31-2008 , 09:56 AM



On Dec 30, 12:00*pm, DA Morgan <damor... (AT) psoug (DOT) org> wrote:
Quote:
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...@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 --


Reply With Quote
  #8  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Error 3146 - ODBC Call failed - 12-31-2008 , 09:56 AM



On Dec 30, 12:00*pm, DA Morgan <damor... (AT) psoug (DOT) org> wrote:
Quote:
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...@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 --


Reply With Quote
  #9  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Error 3146 - ODBC Call failed - 12-31-2008 , 09:56 AM



On Dec 30, 12:00*pm, DA Morgan <damor... (AT) psoug (DOT) org> wrote:
Quote:
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...@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 --


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.