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: ORA-00942: table or view does not exist when updating recordset using Oracle ODBC

Re: ORA-00942: table or view does not exist when updating recordset using Oracle ODBC

From: tojo <Tojo_at_hotmail.com>
Date: Fri, 19 Sep 2003 10:42:39 +0200
Message-ID: <MPG.19d4dfe7beab3aa49896ad@news.t-online.de>


In article <2d83b9f.0309182355.1dd0779f_at_posting.google.com>, matsla_at_hotmail.com says...
> Hi!
>
> We are moving from Microsoft ODBC driver to Oracle 9.2 ODBC driver on
> an existing VB6 application using RDO. The only problem we get is when
> updating a recordset if the schema owner + tablename > 30 characters.
> The table name is 25 chars long. The problem is we must include the
> schema owner due to security. It's no problem to create a recordset on
> the same table and just step through the result. One workaround is the
> change all statements to ( INSERT INTO ... ) but it's a lot of code.
>
> rs.AddNew
> rs!.... = xxx
> rs.Update
>
> => ORA-00942: table or view does not exist
>
> Any ideas?
>
> // Mats
>

Another solution would be to use synonyms:

create synonym myschema.prods
 for myschema.tbl_products_really_long_name

insert into myschema.prods (...)

Received on Fri Sep 19 2003 - 03:42:39 CDT

Original text of this message

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