How to find out index from table?
Hi all,
I've tried to create indexes to some columns from some tables to use for Oracle Text.
I ve got a error message saying that I can not create an index:
"cannot create multiple domain indexes on a column list using same indextype".
I was wondering if an index already exists for that column, how do I find out the name of the index that points to that paticular colum?
Thanks a lot
E.
Check the view dba_ind_columns
That will tell you.
something like;
select index_name, column_position, column_name from dba_ind_columns
where table_name = '<table name>'
order by 1,2
Similar Messages
-
How to Find out the all tables in module wise ?
Dear Friends,
1.How to Find out the all tables in module wise ?
what are the total number of table in SAP ?
2. how to find out all existing functions in SAP ?
Thanks and regards,
Subasha Chandra Sahoo.Hi,
You will get the module wise list from:
http://www.sourceveda.com/SAPReference.htm
http://www.sourceveda.com/
Regards... -
How to find max(time) from table using group by
how to find max(time) from table using group by
select var max(time)
from table
into (var1, time1)
where .....
group by var.
it is fetching record which is top in table.
if u can help?
regards.No this will fetch the maximum time from teh table.
select var max(time)
from table xxxx
into (var1, time1)
where .....
group by var.
Refer this code
TABLES SBOOK.
DATA: COUNT TYPE I, SUM TYPE P DECIMALS 2, AVG TYPE F.
DATA: CONNID LIKE SBOOK-CONNID.
SELECT CONNID COUNT( * ) SUM( LUGGWEIGHT ) AVG( LUGGWEIGHT )
INTO (CONNID, COUNT, SUM, AVG)
FROM SBOOK
WHERE
CARRID = 'LH ' AND
FLDATE = '19950228'
GROUP BY CONNID.
WRITE: / CONNID, COUNT, SUM, AVG.
ENDSELECT. -
How to find out if a table has logging on?
I need to temporarily turn off logging, and restore the logging setting afterward.
How do I find out if a table has logging on or off before my change?TUBBY_TUBBZ?alter table tablea nologging;
Table altered.
Elapsed: 00:00:00.28
TUBBY_TUBBZ?select logging from dba_tables where table_name = 'TABLEA';
LOGGING
NO
1 row selected.
Elapsed: 00:00:00.00 -
How to find out name of table for a structure.
hello all,
I want to find out name of table for a structure ADDR1_DATA. can anybody pls tell me how to find out it?
Thanks,
AshuHi Ashu,
You write the structure name in se11
after selecting the database table radio button
click on the where used list button in the application tool bar.
You will find the table name if it is used else where.
Check out the website at:
http://sap-idoc2edi-consulting.com/
Read the blog at:
http://blogs.ittoolbox.com/sap/ehadzipetros
Regards,
Jagadish -
How to find out list of tables
how to find out list of tables
Hi,
You can check table DD02L via transaction SE16/SE16N.
Also please check this links.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e944e133-0b01-0010-caa2-be2cb240f657
http://www.erpgenie.com/abap/tables.htm
Regards,
Ferry Lianto -
How to find out all the tables in a schema with a particular column
Hi
Is there a way to find out all the tables in schema1 that has col1 as one of the columns?select table_name from dba_tab_cols where owner='schema' and column_name='col1';
-
How to find out size of tables
Can you please suggest me how to find out the size of tables?
I need to find what would be the appropriate size required for rollback segment.
Your quick help would be highly appreciated.Sizing the Rollback Segments (rollback segment) is an iterative process and requires several scheduled maintenance windows to re-size the rollback segment, based on the DML load. The optimal rollback segment size is a function of system update load (as determined by v$rollstat and v$transaction):
a) The COMMIT frequency.
b) The size of RAM log buffers.
c) Specific Oracle parameters (log_buffer, db_writer_processes, log_checkpoint_interval).
d) The size of the rollback segment data files.
The total size of the UNDO area for a specific transaction is as follows:
If the undo is 'x' bytes for 'n' number of rows then
T = x * (N / n) * 1.05
Where T = Approximate Total undo for the transaction in bytes.
x = Undo for the individual transaction.
N = Total number of rows in the original table.
n = Total number of rows in the test table.
Optimal rollback segment sizing is an iterative process, and is normally "tuned" over a period of several weeks. Generally, we build spreadsheets to track usage and determine the optimal size: -
How to find out when a table was last updated?
Is there a way to find out when a table was last updated/inserted/deleted? Thanks!
There may be an easier way but if you are trying to get info on something that has already happened look at your redo logs and archived logs. It would be hard but in V$LOGMNR_CONTENTS you could find the max time for a given object. Note to use this you need to set up log miner. Since you did not give a version try the Oracle 9i DBA Guide pg 9-1.
-
How to find out all the tables associated with particular T-code or Program
Hi All,
In 4.6B we have a transaction code SE49, where we can see all the tables associated with particular Transaction code or Program.
But in ECC 5.0 or in ECC 6.0 this transaction code is not available.So is there any alternative where i can find out all the tables associated with particular T-code or Program.
Thanks
ShubhamHi,
you are right, Transaction SE49 as well as SE48 do not exist anymore I'm afraid, they
are discontinued.
You might try to create a transaction variant:
1) Start SE93 to create a transaction variant
2) Specify a name, eg. ZSE49, and choose the first option:
"program and screen (dialog transaction)
3) Here specify SAPMSEUZ as program, and 200 as screen number
4) Choose a suitable development class (package) if you want it to be
transportable or Local (=$TMP) if non-transportable
5) press Save
Same applies for SE48, same program but dynpro 100.
Sorry for not being able the reasons behind the decision to discontinue
these transactions. I suppose at least part of the functionality was
integrated in SE38.
Best regards
Erika -
How to find out index of string
Hi,
Can you help me to find out index of following strting.
"sss.xxxxx_pain.001.001.02_1002225618.xml"
need to get value "1002225618".
ideally i need to get the value inbetween after second "_" and value before ".xml".
Thanks
MahiHi Mahi,
UDF should be like this:
If you do not want .xml in the out replace statement
var1=var1.substring(sublen+1, len);
with
var1=var1.substring(sublen+1, len-4);
Regards,
Krupa -
How to find out if a table has been changed?
hello
how can I find out in a zreport, if a specific table has been changed and data has been added or deleted?
like for instance the date of last change to the table?
thanks
AlisaAlisa...you can do it following manner
* Execute the report RSVTPROT to extract the changes done to database table
* table with output going into memory
TYPES: BEGIN OF ty_abap_list.
INCLUDE STRUCTURE abaplist.
TYPES: END OF ty_abap_list.
DATA: gt_abap_list TYPE STANDARD TABLE OF ty_abap_list.
SUBMIT rsvtprot AND RETURN
EXPORTING LIST TO MEMORY USING SELECTION-SCREEN 1000
WITH cusobj EQ c_tabname "Table Name
WITH dbeg EQ gv_begdate
WITH tbeg EQ c_begtime
WITH dend EQ gv_enddate
WITH tend EQ c_endtime
WITH objfirst EQ ''
WITH tabfirst EQ 'X'.
* Extract the list from memory
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = gt_abap_list
EXCEPTIONS
not_found = 1
OTHERS = 2. -
How to find out where a table is used in the code ?
I have a huge database, and I am adding a column to a table...
is there a query to find out if this would impact the code ? I mean I want to find all the places in the code with
insert into mytable, or update mytable.....
how to include both insert into mytable, and update mytable in dba_source ?Use DBA_DEPENDENCIES:
select owner,name,type from dba_dependencies where referenced_name = 'TABLE_NAME'
and referenced_owner = 'TABLE_OWNER';For example:
SQL> select owner,name,type from dba_dependencies where referenced_name = 'EMP'
2 and referenced_owner = 'SCOTT';
OWNER NAME TYPE
PUBLIC TABLE1 SYNONYM
SCOTT SELECT_EMP PROCEDURE
SCOTT EMP_DEPT_VW VIEW
SCOTT PP SYNONYM
SCOTT EMP_MV MATERIALIZED VIEW
SCOTT EMP_VIEW VIEW
6 rows selected.
SQL> However, keep in mind DBA_DEPENDENCIES stores statis references only. If your code references table in question in dynamic SQL you will have to parse DBA_SOURCE and in some cases, even that will not give you all answers.
SY. -
How to find out last_query from jsp form in oracle applications
Hi
At present i am working on Quality Module.
in India Localization.
In Quality module -> Results -> Inquiries -> Skip Lot Inquiry
If i enter our organization name
Then its openning one form.
I am unable to find out the table names from the jsp form.
User also unable to comment on it.
So, please help me on this issue.
Regards,
Pradeep.Hi
Once you open the jsp form, at below leftside corner you can see link : About This Page. If you click on the link : About this Page this again open another window, there you can see multiple tabs at header level, if you click on page tab, there you can all the VO objects used to build this page. If you click on VO object hyperlink you can see the query. -
How to find out OrgUnit from the MSS team viewer iview
Hi Experts,
Please refer following link:
https://wiki.sdn.sap.com/wiki/display/profile/HowtoreadinformationfromtheteamviewerinWeb+Dynpro
Using this link, I am able to find out the perno.
I have to find out OrgUnit of selected person. I did the mapping. I have also written following code:
String orgunit = wdContext.currentSelectedOrgUnitElement().getObjid();
wdComponentAPI.getMessageManager().reportSuccess("You have selected orgunit "+ orgunit);
However, orgunit value is always null
Can you please let me know how we can get the orgunit in this case?
Regards,
GaryHi Gabriel,
Requirement 1
Thanks. I did so. Using this I can see the OrgUnit. However, this is the OrgUnit of MSS user. It remains same through out the program. It is unlike pernr which changes as the user clicks on different Employees.
My exact requirement is as below:
User will click on Employee Selection drop down box. After that he will select "Employees from Organizational Structure". Here organization structure will be displayed. Now the user will expand Org Structure. I want to know the Org Unit of different Organization as the user will go on expanding the Org Structure using the buttons
Requirement 2
User will click on Employee Selection drop down box. After that he will select "Employees from Organizational Unit". Now we can see the Go button. I have to write some code on the button. Where I can find the code for the button. I spent lot of time. I am not able to find out the exact place where the view for the button is located.
Please help.
Regards,
Gary
Maybe you are looking for
-
Can't change background to graphics - help please?
Have trawled the help topics but I've been unsuccessful. I'm importing a tif or a jpeg and am getting it onto the browser but then I want to alter the background so the graphic blends in better. Any suggestions on the best way please? Thanks
-
I used below XdoLoader to download rtf file. Script ran successfully, but rtf file was not download. I ran this in unix home directory. Please advice. java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD -DB_USERNAME apps -DB_PASSWORD welcome -JDBC_CONNEC
-
Setting up hp deskjet d1660 on QOOK hub
Hello, I have QOOK hub and hp deskjet d1660. I want to use my printer in wireless network via QOOK hub. I connected usb cable between the printer and hub. How can I set it up? ARAS
-
Exported images looking different in different browsers
I've just published a set of images to my website using a publishing service from Lightroom 5, sRGB. The images look different when viewed in Chrome and Firefox browsers, Chrome looking fine but Firefox displaying them with a red cast. The also displ
-
MacBook won't boot because of permissions!?!?
Hi, I managed to really mess up my MacBook... And when I try to boot it now it sits on the boot screen with the apple logo and the spinning wheel... I have tried most things to reboot except for using the install disk (my drive won't read most DVDs f