473,387 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Creating Table in Oracle

Hi to All

I want to create a table in oracle having name more than 16 character how i can?

I know that oracle support table namt upto 28 character by default it support 15 character but i don't know how to change size.

If any one know please reply me.

Thanks
Apr 17 '08 #1
5 2174
amitpatel66
2,367 Expert 2GB
Hi to All

I want to create a table in oracle having name more than 16 character how i can?

I know that oracle support table namt upto 28 character by default it support 15 character but i don't know how to change size.

If any one know please reply me.

Thanks
You can create a table with name of lengh 30 charcaters or less in 9i version. Which version of oracle you are using?

You can use CREATE STATEMENT to create a table.Try creating for length of 16 and post if it errors out.
Apr 17 '08 #2
Hello,
SQL> create table testtesttesttesttesttesttest(name varchar2(10));

Table created.

There is no issue if you put the name of the identifier less than or equal to 30 character.

I am using the oracle version as
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production



Please specify your oracle version by

select * from v$version;


Regards,
BMantri
Apr 22 '08 #3
You can create a table with name of lengh 30 charcaters or less in 9i version. Which version of oracle you are using?

You can use CREATE STATEMENT to create a table.Try creating for length of 16 and post if it errors out.

Thanks for reply

Actually i am doing R&D in oracle i dont know what i do but the table max length character is set to 15 Whenever i create the table it will truncated to 15 character . how i increase the max lenght.
Apr 25 '08 #4
You can create a table with name of lengh 30 charcaters or less in 9i version. Which version of oracle you are using?

You can use CREATE STATEMENT to create a table.Try creating for length of 16 and post if it errors out.
I am doing R&D in oracle 10g .and i donot know what i do the default length of the table will set to 15 character when i create the table it will truncate to 15 character .
I want to know how to set default length of oracle table name.
Apr 25 '08 #5
Hello,
SQL> create table testtesttesttesttesttesttest(name varchar2(10));

Table created.

There is no issue if you put the name of the identifier less than or equal to 30 character.

I am using the oracle version as
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production



Please specify your oracle version by

select * from v$version;


Regards,
BMantri



I am doing R&D in oracle 10g .and i donot know what i do the default length of the table will set to 15 character when i create the table it will truncate to 15 character .
I want to know how to set default length of oracle table name.
Apr 25 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Galina | last post by:
Hello I am trying to create a table, which includes a field type LONG. The wizard hasn't allowed me to enter storage settings for this table. It set the initial size is 64K and not available to...
6
by: Dim St Thomas | last post by:
I am a developer working on a database client program. I am testing this program on a Windows XP machine (1.5 GHz AMD chip, 480 Mb RAM, 60 Gb disk) This machine has Oracle 9.2.0.1.0 and RedBrick...
2
by: Kevin | last post by:
Hi All, I am new to MS SQL Server.I am using MS SQL 2000.I have a problem in creating a table by using Select command.I have table called "test" and i want to create another table with the same...
4
by: Ritchie | last post by:
How do you create a new table from a SELECT statement of another table using MS SQL Server. This is part of a distributed database topic for university. Unfortunately I can only seem to get the new...
1
by: efinney | last post by:
Hi, I'm a newbie to sql server and this may be a really dumb question for some you. I'm trying to find some examples of sql server triggers that will set columns (e.g. the created and modified...
5
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
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...
2
by: Thufir | last post by:
I'm working from <http://www.oracle.com/technology/pub/articles/haefel- oracle-ruby.html>, would like to adapt the SQL for MySQL, please. Yes, I know, that's oracle wheras I'm using MySQL. This...
1
idsanjeev
by: idsanjeev | last post by:
<%@ Language =vbscript%> <% Option Explicit %> <html> <head><TITLE>VOICE OF BARAUNIANS</TITLE></head> <body> <!--#include file="front.inc"--> <div style="Position:Absolute; width:700; TOP:0;...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...

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.