473,769 Members | 5,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating Table in Oracle

17 New Member
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 2198
amitpatel66
2,367 Recognized Expert Top Contributor
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
BMantri
7 New Member
Hello,
SQL> create table testtesttesttes ttesttesttest(n ame 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
Naveen Kumar Srivastava
17 New Member
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
Naveen Kumar Srivastava
17 New Member
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
Naveen Kumar Srivastava
17 New Member
Hello,
SQL> create table testtesttesttes ttesttesttest(n ame 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
5679
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 change, next size 0K, increase size by 0%. Since I am going to copy data from an existing MS Access table into this one, I know that the initial amount of records will be about 70000 and it will take about 7 Mb of disk space. I know it, because I...
6
6875
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 database software installed. I am testing the software by creating small test databases. If I create an Oracle database using the Database Configuration Assistant, it takes forever just to create the database. If I choose to create a new database...
2
22726
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 structure and rows.I tried with the following command create Table test1 as select * from test; But it give an syntax error.I have tried the same command in Oracle
4
16485
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 table created in Oracle and not MS.
1
17342
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 date columns) if the row is being inserted and set a column (e.g. just the modified date column) if the row is being updated. I know how to do this in oracle plsql. I would define it as a before insert or update trigger and reference old and new...
5
4353
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 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
3
4081
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 Access to Oracle and I get following error: ODBC Call Failed: ORA-12571: TNS Packet Failure Error I see table and its indexes created in Oracle. However, there are no
2
2848
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 website happens to be the best rails tutorial I can find for my purposes, and I'd like to follow along with it. Here's what's happening:
1
2272
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; left:180; background-color:#f0f0f0"> <% Dim conn dim objrs
0
9586
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10043
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9861
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7406
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3956
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 we have to send another system
2
3561
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.