473,503 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem exporting access table in oracle database

I am using Microsoft Access 2000 and Oracle 9.2.0.5 on Windows 2000.
When I export a table from Access to Oracle using ODBC
I get error:
ORA 972 identifier too long

I think the error is because one or more columns in Access table
are longer than 30 characters. My question is how one can overcome this
problem.

I also see several column names which have /, ? or spaces in name
but I think Oracle somehow takes care of that by putting names inside
quoted string? I am just guessing, I am new to Access to Oracle
mapping.

Any help will be greatly appreciated? Is there anyway I can
create a table in oracle with 30 characters max long name
and then map them to Access long names somehow?

Thanks a lot,

Prem

Nov 13 '05 #1
5 4323
On 30 Dec 2004 19:04:46 -0800, pr**********@hotmail.com wrote:

A little bit of planning ahead of time goes a long way :-)

You can create your Oracle table with column names that it likes, and
then "map" them in Access using this technique:
- Create table in Oracle
- Create a linked table to it in Access
- Create a query in Access that renames the columns. Something like:
select NeatOracleColumn1 as BigOldColumnNameWithUglyCharacters1,
NeatOracleColumn2 as BigOldColumnNameWithUglyCharacters2 From
tblOracleTable
- Name this query tblOracleTable, and pretend it's a real table.

-Tom.

I am using Microsoft Access 2000 and Oracle 9.2.0.5 on Windows 2000.
When I export a table from Access to Oracle using ODBC
I get error:
ORA 972 identifier too long

I think the error is because one or more columns in Access table
are longer than 30 characters. My question is how one can overcome this
problem.

I also see several column names which have /, ? or spaces in name
but I think Oracle somehow takes care of that by putting names inside
quoted string? I am just guessing, I am new to Access to Oracle
mapping.

Any help will be greatly appreciated? Is there anyway I can
create a table in oracle with 30 characters max long name
and then map them to Access long names somehow?

Thanks a lot,

Prem


Nov 13 '05 #2

Tom van Stiphout wrote:
On 30 Dec 2004 19:04:46 -0800, pr**********@hotmail.com wrote:

A little bit of planning ahead of time goes a long way :-)

You can create your Oracle table with column names that it likes, and
then "map" them in Access using this technique:
- Create table in Oracle
- Create a linked table to it in Access
- Create a query in Access that renames the columns. Something like:
select NeatOracleColumn1 as BigOldColumnNameWithUglyCharacters1,
NeatOracleColumn2 as BigOldColumnNameWithUglyCharacters2 From
tblOracleTable
- Name this query tblOracleTable, and pretend it's a real table.

-Tom.

I am using Microsoft Access 2000 and Oracle 9.2.0.5 on Windows 2000.
When I export a table from Access to Oracle using ODBC
I get error:
ORA 972 identifier too long

I think the error is because one or more columns in Access table
are longer than 30 characters. My question is how one can overcome thisproblem.

I also see several column names which have /, ? or spaces in name
but I think Oracle somehow takes care of that by putting names insidequoted string? I am just guessing, I am new to Access to Oracle
mapping.

Any help will be greatly appreciated? Is there anyway I can
create a table in oracle with 30 characters max long name
and then map them to Access long names somehow?

Thanks a lot,

Prem


Tom:

Thanks a lot. I inherited this Access Datacase. It lareday has several
queries, forms, reports. If I rename columns, I may have to modify
existing code. Is there a transparent way, e.g., like Oracle Views
where names can be changed without impacting existing code.

All I have to do is to move Access Tables into Oracle and still use
existing Access front end.

Prem

Nov 13 '05 #3
On 31 Dec 2004 07:46:24 -0800, pr**********@hotmail.com wrote:

The technique I explained is designed to not affect the rest of the
app. So if you have an existing Access query that joins with the
Access table tblOracleTable, after you move this table to Oracle and
apply the technique, that query will continue to function unchanged.
Same for DAO or ADO code (with very few exceptions).

-Tom.


Tom van Stiphout wrote:
On 30 Dec 2004 19:04:46 -0800, pr**********@hotmail.com wrote:

A little bit of planning ahead of time goes a long way :-)

You can create your Oracle table with column names that it likes, and
then "map" them in Access using this technique:
- Create table in Oracle
- Create a linked table to it in Access
- Create a query in Access that renames the columns. Something like:
select NeatOracleColumn1 as BigOldColumnNameWithUglyCharacters1,
NeatOracleColumn2 as BigOldColumnNameWithUglyCharacters2 From
tblOracleTable
- Name this query tblOracleTable, and pretend it's a real table.

-Tom.

>I am using Microsoft Access 2000 and Oracle 9.2.0.5 on Windows 2000.
>When I export a table from Access to Oracle using ODBC
>I get error:
>ORA 972 identifier too long
>
>I think the error is because one or more columns in Access table
>are longer than 30 characters. My question is how one can overcomethis >problem.
>
>I also see several column names which have /, ? or spaces in name
>but I think Oracle somehow takes care of that by putting namesinside >quoted string? I am just guessing, I am new to Access to Oracle
>mapping.
>
>Any help will be greatly appreciated? Is there anyway I can
>create a table in oracle with 30 characters max long name
>and then map them to Access long names somehow?
>
>Thanks a lot,
>
>Prem


Tom:

Thanks a lot. I inherited this Access Datacase. It lareday has several
queries, forms, reports. If I rename columns, I may have to modify
existing code. Is there a transparent way, e.g., like Oracle Views
where names can be changed without impacting existing code.

All I have to do is to move Access Tables into Oracle and still use
existing Access front end.

Prem


Nov 13 '05 #4

Tom van Stiphout wrote:
On 31 Dec 2004 07:46:24 -0800, pr**********@hotmail.com wrote:

The technique I explained is designed to not affect the rest of the
app. So if you have an existing Access query that joins with the
Access table tblOracleTable, after you move this table to Oracle and
apply the technique, that query will continue to function unchanged.
Same for DAO or ADO code (with very few exceptions).

-Tom.


Tom van Stiphout wrote:
On 30 Dec 2004 19:04:46 -0800, pr**********@hotmail.com wrote:

A little bit of planning ahead of time goes a long way :-)

You can create your Oracle table with column names that it likes, and then "map" them in Access using this technique:
- Create table in Oracle
- Create a linked table to it in Access
- Create a query in Access that renames the columns. Something like: select NeatOracleColumn1 as BigOldColumnNameWithUglyCharacters1,
NeatOracleColumn2 as BigOldColumnNameWithUglyCharacters2 From
tblOracleTable
- Name this query tblOracleTable, and pretend it's a real table.

-Tom.
>I am using Microsoft Access 2000 and Oracle 9.2.0.5 on Windows 2000. >When I export a table from Access to Oracle using ODBC
>I get error:
>ORA 972 identifier too long
>
>I think the error is because one or more columns in Access table
>are longer than 30 characters. My question is how one can
overcomethis
>problem.
>
>I also see several column names which have /, ? or spaces in name
>but I think Oracle somehow takes care of that by putting names

inside
>quoted string? I am just guessing, I am new to Access to Oracle
>mapping.
>
>Any help will be greatly appreciated? Is there anyway I can
>create a table in oracle with 30 characters max long name
>and then map them to Access long names somehow?
>
>Thanks a lot,
>
>Prem


Tom:

Thanks a lot. I inherited this Access Datacase. It lareday has severalqueries, forms, reports. If I rename columns, I may have to modify
existing code. Is there a transparent way, e.g., like Oracle Views
where names can be changed without impacting existing code.

All I have to do is to move Access Tables into Oracle and still use
existing Access front end.

Prem


Tom:
Thanks a lot. I will give it a try.

Prem

Nov 13 '05 #5

Tom van Stiphout wrote:
On 31 Dec 2004 07:46:24 -0800, pr**********@hotmail.com wrote:

The technique I explained is designed to not affect the rest of the
app. So if you have an existing Access query that joins with the
Access table tblOracleTable, after you move this table to Oracle and
apply the technique, that query will continue to function unchanged.
Same for DAO or ADO code (with very few exceptions).

-Tom.


Tom van Stiphout wrote:
On 30 Dec 2004 19:04:46 -0800, pr**********@hotmail.com wrote:

A little bit of planning ahead of time goes a long way :-)

You can create your Oracle table with column names that it likes, and then "map" them in Access using this technique:
- Create table in Oracle
- Create a linked table to it in Access
- Create a query in Access that renames the columns. Something like: select NeatOracleColumn1 as BigOldColumnNameWithUglyCharacters1,
NeatOracleColumn2 as BigOldColumnNameWithUglyCharacters2 From
tblOracleTable
- Name this query tblOracleTable, and pretend it's a real table.

-Tom.
>I am using Microsoft Access 2000 and Oracle 9.2.0.5 on Windows 2000. >When I export a table from Access to Oracle using ODBC
>I get error:
>ORA 972 identifier too long
>
>I think the error is because one or more columns in Access table
>are longer than 30 characters. My question is how one can
overcomethis
>problem.
>
>I also see several column names which have /, ? or spaces in name
>but I think Oracle somehow takes care of that by putting names

inside
>quoted string? I am just guessing, I am new to Access to Oracle
>mapping.
>
>Any help will be greatly appreciated? Is there anyway I can
>create a table in oracle with 30 characters max long name
>and then map them to Access long names somehow?
>
>Thanks a lot,
>
>Prem


Tom:

Thanks a lot. I inherited this Access Datacase. It lareday has severalqueries, forms, reports. If I rename columns, I may have to modify
existing code. Is there a transparent way, e.g., like Oracle Views
where names can be changed without impacting existing code.

All I have to do is to move Access Tables into Oracle and still use
existing Access front end.

Prem


Tom:
Thanks a lot. I will give it a try.

Prem

Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
9217
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works...
11
17018
by: Rosco | last post by:
Does anyone have a good URL or info whre Oracle and Access are compared to one another in performance, security, cost etc. Before you jump on me I know Oracle is a Cadillac compared to Access the...
8
4024
by: Alfonso Esteban Gonzalez Sencion | last post by:
I am trying to use Access as a front end for extracting information from an Oracle database. I started using linked tables but I am getting a very curious behaviour. When I consult the linked...
0
1374
by: premmehrotra | last post by:
I am using Microsoft Access 2000 and Oracle 9.2.0.5 on Windows 2000. When I export a table from Access to Oracle using ODBC I get error: ORA 972 identifier too long I think the error is because...
3
4047
by: premmehrotra | last post by:
I am using Access 2000 and Oracle 9.2.0.x on a Windows 2000. I have setup Oracle 9.2 ODBC Driver (I have not yet figured how to set Microsoft's Oracle ODBC driver). I am exporting a table from...
10
2110
by: Saso Zagoranski | last post by:
hi, this is not actually a C# problem but since this is the only newsgroup I follow I decided to post my question here (please tell me where to post this next time if you think this post...
17
4382
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
2
3159
by: Snozz | last post by:
The short of it: If you needed to import a CSV file of a certain structure on a regular basis(say 32 csv files, each to one a table in 32 databases), what would be your first instinct on how to...
1
1826
by: palani12kumar | last post by:
Hi everybody. I'm in trouble in exporting a table from the Access to Oracle. I've created a table in Access and inserted nearly 20 records in that. Then i tried to move that into Oracle using the...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7076
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7274
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7453
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5576
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5005
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1507
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
732
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.