Home » RDBMS Server » Server Administration » Problem with table created in lower case in user_tables
Problem with table created in lower case in user_tables [message #52967] Wed, 21 August 2002 22:31 Go to next message
Parag
Messages: 10
Registered: July 2002
Junior Member
Hi,

I have created a table using following script:

create table "temp1" (Roll_no number (3), Name varchar2 (20));

Now the table gets created with a lower case entry in user_tables, and hence does not get recognized in any SQL statements as a table.

Now problem is, my friend is having Oracle 8.1.7 (On HP-UX 11) and I have 8.1.6 (On Windows NT workstation), the difference for me in this case is the table is recognized by 8.1.7 when enclosed in "" (double quotes) whereas not at all in 8.1.6. The 8.1.7 after addition of double quotes lets do all SQL functionality with the table.

For Ex:

Insert into "temp1" values (10, 'Michelle');
commit;
select * from "temp1";

works very fine, just as normal table.

My Question is : Is is actually a difference in the versions or is it a installation glitch or any other explanation to this available ?
Re: Problem with table created in lower case in user_tables [message #52976 is a reply to message #52967] Thu, 22 August 2002 04:26 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
it will work even in oracle 7.3.
And this behaviour is expected.
Re: Problem with table created in lower case in user_tables [message #52998 is a reply to message #52967] Fri, 23 August 2002 04:31 Go to previous messageGo to next message
Parag
Messages: 10
Registered: July 2002
Junior Member
> it will work even in oracle 7.3.
> And this behaviour is expected

Is this a BUG in Oracle version 8.1.6 ? or is it a architectural change ? If so, then it must have got propogated to version 8.1.7 also, but it didn't.

Can you help me on this ?
Re: Problem with table created in lower case in user_tables [message #53000 is a reply to message #52967] Fri, 23 August 2002 05:00 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
it is not a bug.
the behaviour is expected.
have a look
here
Previous Topic: all objects in tablespace
Next Topic: Creating INDEX on a particular Partition of a table
Goto Forum:
  


Current Time: Thu Dec 26 10:42:49 CST 2024