Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Oracle > In Oracle8 - works fine, in Oracle 9i - doesnt work!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-14-04, 12:38
_John Smith _John Smith is offline
Registered User
 
Join Date: Apr 2002
Location: USA-CA
Posts: 36
In Oracle8 - works fine, in Oracle 9i - doesnt work!

Hello,

I have some table defined in Oracle8:

create table A (f1 char(4));

filled with some data.

select * from A;
----------------
1000000 rows

Then I've created dblink from Oracle9i instance to be able to see this table.

In Oracle9i I write the following PL/SQL code:

create table B as select * from A;

And table B structure is looks very strange:

desc B
------
f1 char(12) (twelve!!!)


Another interesting stuff:

In Oracle9i I write:

create table C(f2 char(4));

insert into C select * from A;
----------------------------
ORA error: value too large...


Do you know what it can be?

May be sombody already had a such very strange behaivour of Oracle9i.

Thanks in advance,

John.
__________________
John Smith
Reply With Quote
  #2 (permalink)  
Old 06-14-04, 12:40
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 3,566
Based upon the very sparse information provided, my 1st guess is NLS parameters are different between the databases.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
Reply With Quote
  #3 (permalink)  
Old 06-14-04, 12:47
_John Smith _John Smith is offline
Registered User
 
Join Date: Apr 2002
Location: USA-CA
Posts: 36
Quote:
Originally Posted by anacedent
Based upon the very sparse information provided, my 1st guess is NLS parameters are different between the databases.

where i can get a list of NLS parameters have to be compared?

is this presented on DB dictionary?
__________________
John Smith
Reply With Quote
  #4 (permalink)  
Old 06-14-04, 15:44
saccskiz saccskiz is offline
Registered User
 
Join Date: Feb 2004
Posts: 136
Yes, data dictionary can be queried to get this information -
select * from v$nls_parameter;
Reply With Quote
  #5 (permalink)  
Old 06-15-04, 01:36
clio_usa clio_usa is offline
Registered User
 
Join Date: Apr 2002
Location: California, USA
Posts: 482
Quote:
Originally Posted by _John Smith
where i can get a list of NLS parameters have to be compared?

is this presented on DB dictionary?


Run this query and you will get all the NLS database parameters:

SQL> select * from nls_database_parameters;


Hope that helps,

clio_usa - OCP 8/8i/9i DBA
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On