Maximum length allowed for column name, index name and table name?
Hi,
I want to know what is the maximum length allowed for coulmn name, table name and index name in MaxDB ?
Regards
Raj
Hi Raja,
simply check the catalog:
sqlcli bwt=> \dc domain.columns
Table "DOMAIN.COLUMNS"
| Column Name | Type | Length | Nullable | KEYPOS |
| ---------------- | ------------ | ------ | -------- | ------ |
| SCHEMANAME | CHAR UNICODE | 32 | YES | |
| OWNER | CHAR UNICODE | 32 | YES | |
| TABLENAME | CHAR UNICODE | 32 | YES | |
| COLUMNNAME | CHAR UNICODE | 32 | YES | |
and
sqlcli bwt=> \dc domain.indexes
Table "DOMAIN.INDEXES"
| Column Name | Type | Length | Nullable | KEYPOS |
| ------------------ | ------------ | ------ | -------- | ------ |
| SCHEMANAME | CHAR UNICODE | 32 | YES | |
| OWNER | CHAR UNICODE | 32 | YES | |
| TABLENAME | CHAR UNICODE | 32 | YES | |
| INDEXNAME | CHAR UNICODE | 32 | YES | |
regards,
Lars
Similar Messages
-
How to get the column name and table name with value
Hi All
I have one difficult requirement
I have some column values and they have given some alias column names but i need to find the correct column name and table name from the database.
For example value is "SRI" and i dont know the table and exact column name so is there any possibilities to find the column name and table name for the given value
Thanks & Regards
Srikkanth.MSearching all the database for a word...
Courtesy of michaels...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
11g upwards
SQL> select table_name,
column_name,
:search_string search_string,
result
from (select column_name,
table_name,
'ora:view("' || table_name || '")/ROW/' || column_name || '[ora:contains(text(),"%' || :search_string || '%") > 0]' str
from cols
where table_name in ('EMP', 'DEPT')),
xmltable (str columns result varchar2(10) path '.')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME es RESEARCH
EMP ENAME es JAMES
EMP JOB es SALESMAN
EMP JOB es SALESMAN
4 rows selected. -
How to find the column name and table name with a value
Hi All
How to find the column name and table name with "Value".
For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
Any help is highly appricatable
Thanks & Regards
Srikkanth.M2 solutions by Michaels (the latter is 11g upwards only)...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
SQL> select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('EMP', 'DEPT')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME ES RESEARCH
DEPT DNAME ES SALES
EMP ENAME ES JONES
EMP ENAME ES JAMES
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES PRESIDENT
EMP JOB ES SALESMAN
9 rows selected. -
Field and Table name for purchaser
I want to know the field and table name for purchaser id and purchaser name.
Plz help me.Dear
Purchaser name are define in Header level data in Purchase Order EKKO & Purchase ID define as a Purchasing Group
Purchser Name EKKO-ERNAM
Purchase I D EKKO-EKGRP
Regards
Aamir -
Want field and table name for RESERVED coloum in MMBE
Hi ,
There is a RESERVED coloum in MMBE and I want this * RESERVED* coloum in MB52 .
I got to know that Field related to this RESERVED coloum is BDMNG coming from table RESB .
To confirm the field and table I checked the value in BDMNG by putting join on MARA and RESB where MATNR = BAUGR.
But I got value in BDMNG is 50 and in MMBE it is .228 for that material.
Please tell me field and table name for RESERVED coloum. and hoe to join MARA and RESB to get exact result.
Thanks and Regards,
RanuHi,
Mara-matnr is not equal to Resb-matnr and it shows no record if i do like this.
But Mara-matnr is equal to Resb-baugr, and it gives me 1 record .But porblem is that i dint get BDMNG field matching with mmbe RESEVERD coloum. -
Whats the fieldname and table name for purchase order delivery date
hi all,
whats the fieldname and table name for purchase order delivery date
thanks and regradsEKET-EINDT is the delivery date according to the schedule lines.
for example the line item has 100 qty.
it is sent in three schedules (40, 40, 20).
Then EKET will have 3 records for one PO Line item.
The final delievry data is the EKET-EINDT for the 3rd schedule line item.
Regards,
Ravi -
How to change the name / IP address and domain name for BOE Server
Hello,
We want to change the name / IP address and domain name for BOE Server, please could you indicate the steps or procedure to follow?
I need your help
thank youIf it's 3.1 just change them, shouldn't cause any issues if by domain name you are referring to changing the domain the computer belongs to. If you are changing your domain for AD authentication then you will may have to take quite a few steps if the old domain is going away. Let us know.
Regards,
Tim -
How to know columns and table name whose column size are modified
Hi guys
I want to know which all columns in the tables are modify
i.e. list of columns and table name whose column size are modified
Step1 :
CREATE TABLE employees
( employee_number number(5) ,
employee_name varchar2(50) ,
department_id number(10)
CREATE TABLE Supplier
( Supplier_number number(5) ,
Supplier_name varchar2(50) ,
CREATE TABLE customers
( customer_id number(10) not null,
customer_name varchar2(50),
address varchar2(50),
city varchar2(50),
state varchar2(25),
zip_code varchar2(10),
Step2 :
Alter table employees
MODIFY employee_number number(10)
ALTER TABLE supplier
MODIFY supplier_name varchar2(100)
step3
query to dispaly
columnname table name
employee_number employees
supplier_name supplier
How to know columns and table name whose column size are modified
could you please provide query
Thanks in Advance09:35:50 SQL> desc dba_objects
Name Null? Type
OWNER VARCHAR2(30)
OBJECT_NAME VARCHAR2(128)
SUBOBJECT_NAME VARCHAR2(30)
OBJECT_ID NUMBER
DATA_OBJECT_ID NUMBER
OBJECT_TYPE VARCHAR2(19)
CREATED DATE
LAST_DDL_TIME DATE
TIMESTAMP VARCHAR2(19)
STATUS VARCHAR2(7)
TEMPORARY VARCHAR2(1)
GENERATED VARCHAR2(1)
SECONDARY VARCHAR2(1)
NAMESPACE NUMBER
EDITION_NAME VARCHAR2(30)LAST_DDL_TIME can be utilized -
Tcode for setting FI-SL planning: Summary table name
can any body suggest Tcode for for setting FI-SL planning: Summary table name.
Hi,
Check Tcode : GB01.
CHECK THESE ALSO,
GLPLINST.
GLPLINSTALL.
THANKS,
REWARD IF HELPFUL. -
Maximum connections allowed for AMS 5.0.1
How can I find out the maximum connection allowed for adobe media server 5.0.1 standard license?
...that would depend on your application.
For a one-way video-on-demand system that streams recorded video at the user's request. Adobe Media Server serves only one stream to each user.
Here are the bandwidth calculations you would make:
Calculating server bandwidth needs (BWs):
BWs = N × S
where N = number of simultaneous users (subscribers)
and S = average bitrate of encoded A/V content
For example to calculate the overall server bandwidth needed to stream video encoded at 500 Kbps to 1000 simultaneous users:
500 Mbps = 1000 × 500 Kbps
The above assumes that content is encoded at a constant bitrate. Most often, however, you will vary the bitrate of the content to suit the viewing audience. This affects your bandwidth needs at both the client and server level.
For example, suppose you estimated that half of the 1000 simultaneous users were going to connect via 350 Kbps DSL modem and the other half via 3 Mbps cable modem. Suppose further that while the video encoded at 500 Kbps was appropriate for the cable viewers, you wanted to encode a separate video at 150 Kbps for the DSL modem users.
In this case, the total bandwidth required of the system is lowered to 325 Mbps:
325 Mbps = (500 Kbps × 500) + (150 Kbps × 500)
This help ? -
Translation of Columns and Table Names
Hi,
We are starting a large migration project and we have a mix of dutch and english developers.
I was wondering if there is any clever ways to translate column names and table names.
Not physically translate the text but store the english column name against the dutch column name?
I know I could write a view which overlays the table with the english version but I was wondering if there was something a bit cleverer?
Anyway to store multiple meta data against a physical table?
Thanks
RichardI'd tend to agree with Nicolas that you'd generally want all the developers to agree on what a particular object was called rather than having half of them think of it in Dutch and half in English.
On the other hand, it would make sense to me that the comments you create on your objects and tables should be multilingual, i.e.
SQL> create table my_emp (
2 name varchar2(100)
3 );
Table created.
SQL> comment on table my_emp is 'Table containing employee information.
2 Lijst die werknemersinformatie bevat.';
Comment created.(The translation is from babelfish.yahoo so I apologize if it butchers the Dutch).
The developers should be able to see the table and column comments in their IDE of choice and should be able to see what the object represents in their language.
Justin -
I WANT FEILD AND TABLE NAME FOR VALUE OF UNRESTRICTED STOCK
I WANT FEILD AND TABLE NAME FOR VALUE(PRICE) OF UNRESTRICTED STOCK
hi
check this link you will get answer
http://wiki.sdn.sap.com/wiki/display/ERPSCM/StockTablesandStockTypes
regards
vijay -
FRM-30457: Maximum Length ignored for character-datatype
Hi,
I have a oracle form. When i use Compile Module (Ctrl + T) I am getting the following error:
FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mirror item MAIN_CONTROLS.DATA1.
Can anyone help to resolve this warning message?Hi,
Check the data type of MAIN_CONTROLS.DATA1, i think, it must be a number.
Or you might have not added the maximum length for MAIN_CONTROLS.DATA1.
I found the below when I surfed.
Error Message: FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mirror item %s.%s.
Error Cause:
A non-zero value was specified for the Maximum Length property in a subordinate mirror item whose Data Type is CHAR, ALPHA, or LONG. The Maximum Length property for such an item will be obtained from the master mirror item (the item specified by the Synchronize with Item property).
Action:
Specify the Maximum Length property in the master mirror item. -
FRM-30457: Warning: Maximum Length ignored for character-datatype subordina
Hello All
In migrating from form 6i to form9i I received the Warning
�FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mirror item�.
What I have do to get rid of it.Hi Duncan Mills,
I am trying to migrate forms from 6.0 to Forms 10G
I tried to select the maximum length property and press inherit button and I got the length of the mirroring item and the error persist "FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mirror item..." -
HOW DO I DONT ALLOW MY COMPUTER TO SAVE PASSWORDS AND USERS NAMES??
HOW DO I DONT ALLOW MY COMPUTER TO SAVE PASSWORDS AND USERS NAMES??
In Safari, go to Preferences (in Safari's menu) and choose AutoFill at the top. Uncheck Save User Names and Passwords.
Maybe you are looking for
-
Best way to apply same effect to multiple clips?
I have a bunch of short clips in the timeline. I want them all to end with a "fade to black" and I want the audio to fade to 0 db. I know how to do this by applying the "fade to black" and then applying 1/2 a crossfade 0db. Is there a way to apply th
-
Automatically add line-items to sales orders
Hello, Our client needs us to add line items to sales orders. The requirement is such that, when the users enter a material on a line item, they wish to see few more materials automatically added as new line items -- item category to be maintained as
-
Hey Apple! You bricked my locked iPhone
I did the 1.1.1 update and it failed. I keep getting SIM errors even though my phone is locked. If this was just an iPod, it would have been OK, but this is a phone which in my eyes is a necessity. (I know people in 3rd world countries are going to h
-
Using pl/sql functions for transformation
How can I use pl/sql functions in the transformation mapping field for my interface? I have a name field where firstname and lastname are concatenated via a space-character and I would like to extract this 'name' field to 2 separate database attribut
-
IPhone 4 unable to install new apps or updates
everything in "Waiting" state. Tried signing out of App Store and back in. Tried various accounts. Restarted. Shut down all apps. On the latest iOS. Tried 3G and Wi-Fi. Deleted stuck "Waiting" installs and tried one-by-one. 8.5GB free space on phone.