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 Advance
09: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
Similar Messages
-
Need to know schema and table name
Hi folks,
I need to know the schema name and the table name associated with a column. Though jdbc has the api to getTableName and getSchemaName, some database vendor like oracle does return empty upon call of mentioned methods. I found that oracle driver does not support that ��
Can any one give me the solution? It is urgent. Or do you suggest any third pary jdbc driver which can provide those?
Thanks
Angelinahi,
does not work for me.
more pls
--thanks -
How to know on what tables the standard bw datasource are built in ECC
Hi Guys,
How do we know on what tables the BW DataSource are built in ECC.
Thanks & Regards
Jagannadha RajuHi Raju,
check in below link which will give details of the datasources and associated tables.
http://help.sap.com/saphelp_nw70/helpdata/en/3d/5fb13cd0500255e10000000a114084/frameset.htm
Hope this helps.
Regards,
Reddy -
Table names to find Program names and Table names
Hi All,
I want to find Program names and Tables names where Transaction codes are not been created.
If TCodes are created I can find from TSTC.
But programs and tables which does not have tcodes.
How can I find them?Hi Praveen Kumar
You know the program name go to se38 and find out if u know table name go to se11 and find out .if you want to see both where there are used in which program go to se80 it would be easy.
How to trace in se80 . select programe and down give programe name you will gte it. -
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. -
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 Field Name and Table Name
Hi All,
I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
Is there any way i can do it.
Points will be rewarded for all useful answers.
Regards
ABHi All,
I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
Is there any way i can do it.
Points will be rewarded for all useful answers.
Regards
AB
Hi Abuser,
now u have legacy data. now u want to do upload this data from legacy to r/3 by using one sap transaction. yes ok na..
first of all u want to know the data is relevant to the which transaction...
without knowing the transaction u cant trasfer the data..
then open transaction put cursor on i/p field and click on f1
and find out the field name & table..
this is one method to find the field name and table name. -
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 -
How to Find what are tables and "Table Name" in particular "Data File"
hi Team,
I have one database that database 300 gb size , this database having 6 ndf files ,
here How to Find what are the tables and "Table Name" in particular "Data File"[.ndf]Hi,
In addition to Prashanth’s suggestion, you can also use the following Transact-SQL statements to get more detailed information including all objects and indexes per Filegroup / Partition and allocated data size of databases.
The script can work with Microsoft SQL Server 2005 and higher version in all Editions. For more details, please review this article:
List all Objects and Indexes per Filegroup / Partition.
-- List all Objects and Indexes
-- per Filegroup / Partition and Allocation Type
-- including the allocated data size
SELECT DS.name AS DataSpaceName
,AU.type_desc AS AllocationDesc
,AU.total_pages / 128 AS TotalSizeMB
,AU.used_pages / 128 AS UsedSizeMB
,AU.data_pages / 128 AS DataSizeMB
,SCH.name AS SchemaName
,OBJ.type_desc AS ObjectType
,OBJ.name AS ObjectName
,IDX.type_desc AS IndexType
,IDX.name AS IndexName
FROM sys.data_spaces AS DS
INNER JOIN sys.allocation_units AS AU
ON DS.data_space_id = AU.data_space_id
INNER JOIN sys.partitions AS PA
ON (AU.type IN (1, 3)
AND AU.container_id = PA.hobt_id)
OR
(AU.type = 2
AND AU.container_id = PA.partition_id)
INNER JOIN sys.objects AS OBJ
ON PA.object_id = OBJ.object_id
INNER JOIN sys.schemas AS SCH
ON OBJ.schema_id = SCH.schema_id
LEFT JOIN sys.indexes AS IDX
ON PA.object_id = IDX.object_id
AND PA.index_id = IDX.index_id
WHERE OBJ.type_desc='USER_TABLE'-- add this WHERE clause to display the information of user tables
ORDER BY DS.name
,SCH.name
,OBJ.name
,IDX.name
Thanks,
Lydia Zhang -
Cost Component structure field and table names
Hey all,
i need to code a BADI to push value of one column in cost component structure to another column in ccs for only order settlements..
any idea how to do this??
i am very new to abap please take it easy on ur answer..
i coulndt even find in which table and fields these values are stored...
thank youI have an OSS note, it tells you step by step how to config the badi u need.. but does not mention about the logic u ll use.. it is up to you....
so i need to find the field names and tell take these and post them to these columns...
i dont know if i make any sence, but this is all i need to do...
so i have the body i have the logic but i dunno the import and export fields...
i believe the table is ckmlkeph.... and field that populate the columns are kst0XX, but i cannot see the field name and table name if i select a line in the column and F1 ???? -
Hi All,
I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
Is there any way i can do it.
Points will be rewarded for all useful answers.
Regards
ABif you know the transaction code you use to post the uploaded data in SAP, you just need to do BDC recording in using transation SM35. Record the whole process and create a program from the recording... and you wont even need to know the tables and field names-- almost everything will be done for you....
All you need to do is replace record data with upload data.
You can also try to look for a standard Function Module / BAPI which can do the processing for you and provide it with a table containing the upload data ...
Reward points if useful -
Reg:field and table name
Hi Guys,
I am developing one report for knowing the recognised amount ,but i am not able to get the field and table name .In system it is showing that VBRAV51HD:RVAMT_REAL_G.But this is a structure,how to get a field name for recognised amount.Please help.
Thanks & Regards,
Sash.Hi sash,
I think u need to some R n D upon it. First take the structure and open it in SE11. Then try to find out what all tables does the structure comprises of. Then try finding the relevant fieldname of the table( which is also existent in the structure) getting accessed when the field is triggered. That may solve your problem. try finding the objective of your structure being shown.
Abhijit -
How can we get the table name...
Hi All,
How can we get the actual table name for an argument if its datatype is %ROWTYPE.
For Ex :
function ACCOUNT_UPDATE (account_no number,
person person%rowtype,
amounts dbms_describe.number_table,
trans_date date)
return accounts.balance%type;
In the above function 'ACCOUNT_UPDATE', for argument person the datatype is 'person%rowtype'.
Is there any way to get the name from Data Dictionary tables.
I tried using All_Arguments and DBMS_DESCRIBE, I can able to get all the individual fields of %ROWTYPE by I could not able to know the exact table name thru the DD.
my requirement is dynamically I need to declare a variable for the argument datatype.
Your help is highly appreciated.
Thankshi vinay,
this is the easiest way to find the tablename of a particular field.
t.code:XD01.
enter.
select the kunnr field.
press F1.
the top of the screen u will get 'Technical setting icon.
select that one.then u will get tablename,fieldname,parameter id also.
if helps give the rewards.
regards,
akash.k -
Obtaining qualifier and table name in describe
Determining qualifier and table name in describe
Is there a way in OCIParamGet() on a statement handle/OCIAttrGet() sequence to determine the qualifier and table name?
Otherwise, how can I get this information?
When doing a join and listing the columns, we would like to be able to list qual.table name, followed by the columns associated with that table.If not with the parameter attributes (whic I haven't checked) you can always use the DescribeAny() to get the information.
If you need I can get you a fairly complete sample for DescribeAny() which demonstrates describing just about every type of schema item.
Drop me a line if you want it [email protected] -
How to identify the psa table names in bi 7?
Hi all,
How to identify the psa table names in bi 7? i need to know the psa table name in bi 7?
as well as i need to check whether any historical data loads is there for psa for a particular period?
How to filter for a particular data in the psa in bi 7?
Thanks
PoojaHi Pooja,
A)How to identify the psa table names in bi 7? i need to know the psa table name in bi 7?
Double click on the PSA and CTRLSHIFTF5 --->in PSA properties -->PSA table ..u can find the name here ....
B)as well as i need to check whether any historical data loads is there for psa for a particular period?
usually as SAP best practise we will not keep data in PSA for not more than 30 days or at the amx 60 days..you may not find historical data here..however to find the oldest data -->Right Click >Manage>Give some old date ,say 01.01.2005 in the Request newer than ...and Refresh.....
Other way is to find out in the Data provider i.e in the Cube or DSO ...
How to filter for a particular data in the psa in bi 7?
a)Do not map it
b)in the DTP...Filter it ....i.e from PSA -->CUBE/DSO....
c)Or write a routine also in start routine ...
Rgds
SVU123
Maybe you are looking for
-
Help me, please. generate error when i run web application
i want you help me. I run web application on local window very well. I deploy web application success on Linux. But it generate error when run it. My web application use : struts framework, hibernate framework, tomcat 4.1, PostgreSQL 7.3 Database. wh
-
Dear all, I wanted to use SDO_GEOM.SDO_BUFFER function to generate a buffer polygon around a geometry object while it is pretty slow to perform for a large spatial database. I think it better to use Spatial Operators for it takes advantage of spatial
-
Error while installing oracle10Gr2 on OEL5 64 bit
Hi , I am tring to install ORCLE1OG r2 on OEL5 64 bit and i am getting problems. O: -------------------------------------- INFO: The "/ed82/Oracle102/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were
-
Is there a way to get the version of the C++ coherence library
Hi, I've noticed that the API for the PofExtractor class has changed from 3.5.1 to 3.5.2. It does break binary compatibility so I need a way to know if I'm loading the right dll. Is there a way to get the version of the C++ coherence library? I've be
-
Error during viewing the OLAP cubes
Hi ALl, Thanks for you time. I recently installed a new development environment of BOXI-R2 sp4 and then imported all the contents from another existing BOXI-R1 environment. I can now see all my existing UNIVERSES properly. However each time I try to