Max no of feilds a database table can have?
Hi all,
Can some body tell me Max no of feilds a database table can have?
Thanks a lot - Chandan
Hi Chandan,
You can refer the below link ( check the sub heading constraints).
http://help.sap.com/saphelp_47x200/helpdata/en/cf/21eb6e446011d189700000e8322d00/content.htm
Regards,
Siva.
Similar Messages
-
Max.No. of columns a table can have in oracle9i db.10g?
wat is the maximun no. of columns a table can have in the oracle database
version 9i. and in the version oracle 10g.Limit is 1000 for both versions
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch44.htm#288033
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/limits003.htm -
What's the max number of columns a table can have on 32 bit OS & 64 bit OS
What is the max number of columns a table can have on 32 bit OS & 64 bit OS ?
Edited by: sameer naik on 02-Jul-2010 02:11For TimesTen 7.0 and 11.2.1 releases the limit on the number of columns per table is 1000 for both 32 and 64 bit TimesTen. This can be found in the documentation under System Limits.
Regards,
Chris -
Why a table can have only one PK ?
Just wanted to know the reason why Oracle allows only one PK per table ?
I came across a situation where my existing large PK which is on a single (ID) column needs an alteration to add a new column (No).
ID column on which PK is based is now subjected to have duplication and that is the reason why i want to add a new column. The new column composition is not going to ensure uniqueness.
So, i need to create (alter) PK on two columns now.
It seems, in order to do that, i need to drop the existing PK and create a new one. Since this is a OLTP production database, business cannot afford to drop the existing pk.
When i tried to create a separate PK on two columns, Oracle gave me below err:
ORA-02260: table can have only one primary keySo, i wanted to understand why Oracle allows only one PK / table ? and considering above err, is there any way to make required changes to my PK without altering existing PK?
(Table is a large 30 GB partition table and PK is a non partitioned global index)
I think PROBABLY i need to drop existing PK and re-create the new one. But core intention for opening this thread is to know rational behind one pk/table concept.OraDBA02 wrote:
Just wanted to know the reason why Oracle allows only one PK per table ?
It's not exactly Oracle's fault. The ISO SQL standard requires that a "PRIMARY KEY" constraint can only be used once per table. However, a UNIQUE constraint on non-nullable columns achieves effectively the same thing as a PRIMARY KEY. You can have multiple UNIQUE constraints.
Arguably the PRIMARY KEY constraint is unnecessary and could safely be dropped from the SQL language. In principle in the relational model a "primary" key is nothing more or less than a candidate key. All keys are equal in the relational model and there is no fundamental reason to designate a primary key at all. There is certainly no reason not to have multiple keys. In the SQL world though it is a very widely observed convention to use a PRIMARY KEY constraint for each table and to use it for all foreign key references. -
Limit on the number of partitions a table can have
Hi,
It's been quite some time I'm thinking of a simple and the best solution to a performance issue in my application. Benefiting out of partitioning the table seems a simplest approach; it involves very minimal changes to my application code and in addition, it keeps the overall application logic 100% intact. However, at times, the number of partitions required can grow to as large as 500 thousand. I know of another application implementing as many as 50 thousand partitions for one of its tables. I'm wondering if Oracle recommends or poses any limit to a number of partitions the table can have. How does that limit, if it exists, vary if each of my table partition holds only a small amount of data; say, not more than 2 thousand records each of 1 KB size. What are the important considerations that one needs to keep in mind while creating the huge number of partitions for a table?
Any inputs on this would be a great help.
Thanks,
Aniruddh
ps: Consider Oracle releases 10g onwards.
Edited by: Aniruddh on Dec 30, 2009 9:46 AM
Edited by: Aniruddh on Dec 30, 2009 9:50 AMAniruddh,
>
What are the important considerations that one needs to keep in mind while creating the huge number of partitions for a table?
>
I doubt if you are using partitioning for the right causes. Please explain how is your data structured and why you need to create so many partitions..?
when creating partition, you need to consider..
a) why you need to partition?
b) how is your data structured
c) how your data is indexed.
d) What kind of queries would you firing on this table to get the data. Will they use the partition key ?
Thanks,
Rajesh.
Please mark this/any other answer as helpful or answered if it is so. If not, provide additional details/feedback.
Always try to provide create table and insert statements to help the forum members help you better. -
Hello All
What can be the max difference in cable lengths that we can have between the ISLs in a port-channel between MDS switches? Do we have any documentation?
Thanks
Chetancompetitive solution instead recommends a distance variance of 30 meters or less among ISLs within a trunk. If the distance variance is greater than 30 meters, undesired and degraded performance will occur. For example, if a trunk has a distance of 100 kilometers, the competitive trunking solution allows a cable length variance of only 0.03 percent!
ref;
http://www.cisco.com/c/en/us/products/collateral/storage-networking/mds-9500-series-multilayer-directors/white_paper_c11-534878.html
hth
regards
inayath
**********PLZ dont forget to rate if this info is helpfull. -
What is the max number of bits a boolean array can have?
Hello,
What is the maximum number of bit that a boolean array can have?
Regards,
Kaspar
Regards,
KasparThere is no real size limit. (except for the natural limits of arrays because the size is a 32bit integer, etc.)
... of course if you ever plan to convert it back to an integer using "boolean array to number", you better stay below 64 bits.
Can you explain what you want to do in a bit more detail?
Message Edited by altenbach on 05-23-2007 02:51 PM
LabVIEW Champion . Do more with less code and in less time . -
Max. limit on how many ringtones you can have??
I have about 10 ringtones in my itunes library and I dragged them and put them into my iPhone...under the ringtones list on my phone it says that there should be 10 uploaded on my phone but there's only 8. So can you only have 8 ringtones on your phone or is there some kind of limit? I tried taking the ringtones off and putting them back on...and it would still only allow me to put 8 ringtones onto my phone. Any info??
ThanksHi Duke,
I have 95 ringtones on my 1st Gen iPhone. So I am certain you can have more than 8. No question.
Since you say you "dragged your files..." my bet is it' a file type issue. I know that if the audio file isn't correctly formatted and installed into iTunes - as a Ringtone file (.m4r) - the iPhone won't incorporate it. So if you have .mp4 files - they won't show up in your phone. With respect to legality and copyright laws, if these are sounds you created yourself, you should import the sounds in question into GarageBand (as .AIFF files), and then choose SHARE and "SEND RINGTONE TO iTUNES", and Garage Band will correctly format and install the sound file for you.
Hope that helps.
Joel -
New ABAP Program to check Direct UPDATE in Database Table
Hi all,
As per customer requirement , I have to develop ONE Program which find out that in which ABAP Program , Programmer has used Open Sql command like UPDATE , DELETE , INSERT , MODIFY to direct update in Database Table.
Have a look on all Z-ABAPs, find out if there are statements with "update", "delete", "insert" or "modify" in the coding, then find out if updates to sap-Tables are done
How can I achived that ?
Please , If anybody is having idea , than please let me know..
Thanks You ,Hi
Kindly refer to the below link. This has step by step how you can achieve the checks.
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/12659a90-0201-0010-c18b-9d014f9bed0d]
But if you want to check if any program they have used 'UPDATE' then you can do like below.
Go to SE38
Utilities---> Find in Source Code-
Find --- UPDATE
In program - Z* or ZX* if you want to search only in Exits
Regards,
Vijay V . -
How to add a value table to a field in database table?
Dear Experts,
Normally a value table can be added in the domain.
And the field of the database table will have the value table, to which this domain is assigned.
My question is.. Is it possible to assign a value table to any field ina database table, directly?(i.e. <b>without assigning to that domain</b>)
If yes.. please let me know the <b>step-by-step</b> procedure clearly.
Thanks to U in advance.Hi sr,
1. what is the purpose of your value table ?
-- so that the user can select values
from some master table , for that field !!!!
2. This is done by
CHECK TABLE (foreign key concept)
(and not value table)
3. When we create a check table for a field,
then
some DEFAULT table is PROPOSED
. that DEFAULT table is nothing
but PICKED up from the domain of that field,
and shown from the value of VALUE TABLE.
(we can change it however)
4. so for your purpose,
just create a CHECK TABLE.
regards,
amit m. -
Efficient way of updating data to database table
what is the efficient way of updating data to database table .
i have huge amount of data in my internal table , how to use update statement in this case .
1. database table having 20 fields ,
2. one is key field and suppose 20 th field i want to change .
3. I have data for only 2 fields , i.e for ( 1 st and last 20 th field ) .
i can't use update statement in loop , as it is not good practice(hits database several times ) .
do it effects all the 20 fields for particular record .Hi,
Use UPDATE statement , check below description from SAP help.
UPDATE dbtab FROM TABLE itab. or UPDATE (dbtabname) FROM TABLE itab.
Effect
Mass update of several lines in a database table.Here, the primary key for identifying the lines tobe updated and the values to be changed are taken from the lines of theinternal table itab.
The system field SY-DBCNT contains the number of updated lines,i.e. the number of lines in the internal table itab which havekey values corresponding to lines in the database table.
Regards
L Appana -
ATWRT field is from which database table.
Hi Gurus,
I need to see the field name ATWRT(Manufac Method) for the particular material number.from which database table can i access both the data.Please help me .
Thanks in advance.
Points will be rewarded.
Thanks & Regards,
A.Ashok kumar.Hi
these are the tables where atwrt exists:
ABAUSP
AFFV
AFFVB
AFFVD
APICAWN
API_CAWN
API_CCHAR
API_VALI
API_VALUE
API_VAL_IN
CCIHS_IHPRIOT
CCRCS_EHS_SVT_MA
CLGO_MULTIPLE
CLRS_OBJ_KEYS
CLRS_OBJ_VALUES
CLSELSTATISTICS
CLS_CHARAC
COFIV
COFV
COFVP
COME
COMEP
COMER
COMSE
COMW
COVLP
CRMT_IC_SCRIPT_M
CSIM_ST_DETAIL
CTBW_VALUE_TEXT
CTIH_01
CTMSEXIT001
CTMS_02
CUCD_CONF
CUD0_02
CUGEN_SIMPLE_LIT
CUGEN_SIMPLE_SIN
CUGEN_VALUE
CURTO_CU_GEN_SIMPLE_L
CURTO_CU_GEN_SIMPLE_S
CUSL_01
CUSL_02
CUSL_05
CUSL_06
CUSTOMER_FILTER_CHAR
CUXREF
CUXR_OBJ
CUX_EXP_VALUE
DDB_AW
DDB_C01
DDB_C02
DDB_C03
DDB_C04
DDB_C06
DDB_C07
DESCR
DIWPS_ATINN
DIWPS_CA
DIWPS_CONF
DIWPS_CONF_MARK
DIWPS_RV_ATINN
DIWPS_RV_CA
DIWPS_RV_CONF
DIWPS_RV_CONF_MARK
DIWPS_RV_NAV
DIWPS_WA_WORKPACKAGE
DIWPS_WPID_CONF
DIWPS_WP_NAV
E1AUSPM
E1CAWNM
E1CUV1M
E1EDL12
E1EDL15
E1ISU_SDORD_POS_CONF
E1WBB17
DIWPS_ATINN
DIWPS_CA
DIWPS_CONF
DIWPS_CONF_MARK
DIWPS_RV_ATINN
DIWPS_RV_CA
DIWPS_RV_CONF
DIWPS_RV_CONF_MARK
DIWPS_RV_NAV
DIWPS_WA_WORKPACKAGE
DIWPS_WPID_CONF
DIWPS_WP_NAV
E1AUSPM
E1CAWNM
E1CUV1M
E1EDL12
E1EDL15
E1ISU_SDORD_POS_CONF
E1WBB17
E1WTADDI12
E2AUSPM
E2CAWNM
E2CUV1M
E2EDL12
E2EDL15
E2WBB17
E3AUSPM
E3CAWNM
E3CUV1M
E3EDL12
E3EDL15
E3WBB17
ECONF_OUT
EHQMSAPIM1
Regards
Preeti
<b>
Reward if useful</b> -
How to get the Database table behind condition records
Hello All
In transaction VK13, after giving condition type, I can select sales document.
For a given Sales Document number, there are several conditions.
How can i extract all the conditions for a given sales document?
I am coding a report for this. In which database table can i get the condition between sales document number & different conditions attached to it?
On the screen, i can see that the fields are from the structure KOMG. What is the corresponding table?
Thanks
Chandra SekharHi,
corersponding tables will be konp , a771,a511,a564
here i am providing you sample query related to it
{ -Get the Territory list price YPR0
SELECT vkorgau
zzland1_ag
zzmatgrade
a511~kfrst
datbi
datab
kbetr
INTO TABLE it_list1
FROM a511
JOIN konp
ON a511knumh = konpknumh
WHERE a511~kappl = 'V'
AND a511~kschl = 'YPR0'
AND vkorgau = '5000'
AND zzland1_ag = v_land1
AND loevm_ko <> 'X'.}
Thanks & Regards,
Sateesh.
Edited by: sateesh kumar on Nov 12, 2009 12:59 PM -
Deleting and updating records in a database table
dear all ,
i have created a databse table to which i have to update and delete records thru my program whixh i am unable to do so plz help me.Hi Sonu,
To delete and update the records in your database table, you can create a Function Group and all the necessary function modules for it. This will a good approach as this will separate the database interface logic and the business logic. You need to use the DELETE and UPDATE ABAP keywords to delete and update the records of the database tables. Have a look at the ABAP Keyword documentation for a complete details of the usage.
Have a look at the following link:
DELETE
http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3aef358411d1829f0000e829fbfe/frameset.htm
UPDATE
http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3aef358411d1829f0000e829fbfe/frameset.htm
Hope this will help.
Thanks,
Samantak. -
Z database table needs to have field creation/update/deletion tracked
Hi,
I have a Z database table.
I have a program that gets data from an excel file and uploads the content to the Z database table.
I need to track the creation/update/deletion of the records in the Z database table.
The Z database table can also have records changed/updated/deleted manually thru table maintenance. These changes also need to be tracked.
How do I do this?
~ EricHi
For a my z-table (called ZFAGTD01), I created the object for change documents, this is the log after generating it:
Change documents: Display information about generated sources
Change doc. object Z_PROAGE_PRV
Generation on 23.07.2004 11:51:28
of SVIL01
Include programs and function modules
Data declaration, TOP...................... FZAGPCDT
Consisting of............................. FZAGPCDF
and....................................... FZAGPCDV
Update function module..................... Z_PROAGE_PRV_WRITE_DOCUMENT
Call update function module................ FZAGPCDC
Dictionary structures
VZFAGTD01
Just as you see, the system has created the fm and some includes containing all data it needs to call the fm.
So u need only to use those includes, just only u need to consider before calling the fm u need to fill:
- The change flag: usually called UPD_<Z table>;
- Fill the header Y<ZTABLE> of z-table with old data;
- Fill the header X<ZTABLE> of z-table with new data;
- Fill the variables TCODE, UTIME, UDATE, USERNAME,
- Fill the variable OBJECTID with the key of Z-table
For example my object is used in my program in this way:
FORM INSERT_CHANGE_DOCUMENT.
CHECK FL_CHANGE_DOC = 'X'.
CHECK SY-SUBRC = 0.
CONCATENATE XZFAGTD01-MANDT XZFAGTD01-BUKRS XZFAGTD01-GJAHR
XZFAGTD01-BELNR INTO OBJECTID.
TCODE = SY-TCODE.
UTIME = SY-UZEIT.
UDATE = SY-DATUM.
USERNAME = SY-UNAME.
* Load old data: header
IF ZFAGTD0K IS INITIAL.
CLEAR YZFAGTD0K.
ELSE.
SELECT SINGLE * INTO YZFAGTD0K
FROM ZFAGTD0K WHERE BUKRS = XZFAGTD01-BUKRS
AND GJAHR = XZFAGTD01-GJAHR
AND BELNR = XZFAGTD01-BELNR.
ENDIF.
* Load old data: items
SELECT * INTO TABLE YZFAGTD01 FROM ZFAGTD01
FOR ALL ENTRIES IN XZFAGTD01
WHERE BUKRS = XZFAGTD01-BUKRS
AND GJAHR = XZFAGTD01-GJAHR
AND BELNR = XZFAGTD01-BELNR
AND POSNR_P = XZFAGTD01-POSNR_P.
SORT: XZFAGTD01 BY POSNR_P,
YZFAGTD01 BY POSNR_P.
* Check if heade was changed
IF YZFAGTD0K <> ZFAGTD0K.
UPD_ZFAGTD0K = 'U'.
ELSE.
CLEAR UPD_ZFAGTD0K.
ENDIF.
UPD_ZFAGTD01 = 'U'.
PERFORM CD_CALL_Z_PROAGE_PRV.
REFRESH XZFAGTD01.
ENDFORM. " INSERT_CHANGE_DOCUMENT
Max
Maybe you are looking for
-
BlackBerry Messenger version 7.0.1.23 Fault
I have a BlackBerry 9360 (3G, Wi-Fi), 7.1 bundle 1717 (v7.1.0.569, Platform 9.6.0.86), BlackBerry Messenger version 7.0.1.23 The team originally had the version of BlackBerry OS 6 operating system, for months to upgrade to the latest available for th
-
When connecting to database in SQL* plus giving Error
hi, I am using Oracle 10g. My problem is when i connecting to database in Server through SQL * Plus giving the Error: ORA-12514: TNS:listerner does not currently know of service requested in connect descriptor. Why this is happening i don't know. I c
-
Command to list and export structure of all tables.
Is there a command in oracle which can list and export the structures of all the tables( table, column difination, constraints, etc)? Thanks!
-
50% CPU required to seek to end of video?
Why does it take 50% of CPU to perform the simple task of seek ing to the end of a 4 minute video? Takes forever to do it too. This is a H.264 clip, 40mb filesize, a keyframe every 24 frames, is that too many or too few, is that what's eating up the
-
Our APEX Application need to connect the LDAP server for authentication. Our LDAP team provides the SSL certificate, We need to configure the SSL certificate in Database server. We require the steps for installing SSL certificate in Oracle Wallet ma