How to find out no of table being created in a specific schema
Hi all,
I wanted to know how many table i have created in my schema.i have tried with this query but it is giving wrong information.
[sql>select count(*) from tab;
need your help please.
Regards
Laxman
select count(*)
from dba_tables
where owner= 'YOUR_SCHEMA_NAME'or
select count(*)
from user_tables
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 out the user who has created a new field in the custom table.
How to find out the user details who has created a new field in the custom table.
Thanks,
JoanHi Jesudasan ,
You can know the user details with version management.Please find the
below procedure to know.
Go to table->Utilities tab->version->Version management->Compare the previous one .
Hope this solves the issue,Let me know if you have any issues.
Thanks,
Rajani -
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 which queries are being used ?
We have a number of InfoSet Queries which the users are calling from SQ00. Some of them are very old.
I would like to find out which queries are being used, so we can have the idle queries decommissioned.
How can this be done ?
Best regards,
PeterHi,
It's been a while since I've done this but one method is to use ST03N & look for the execution of programs with an AQ* prefix. The general structure is AQZZ/<query user group><query name>.
You could probably get the same info from the audit log but I've not checked that.
Cheers, -
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 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 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 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 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 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 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 -
How to find out if a table is in the replication process?
Hi, I'm trying to figure out if one of the table in the database is replicated from outside. What should I do to find out this? Can anyone help me out? Thanks a lot! _meg
Try this query
select gname,oname,status from dba_repobject where oname='TABLE_NAME';
Maybe you are looking for
-
How do I import a file from Adobe Reader XI into InDesign CC 2014?
Have tried to start using this programme, but with no success with regard to opening a file which I saved under Adobe Reader XI as a PDF. It is a small book which I want to convert to an EBook. How do I start please? Tony L
-
My computer is ill, does not recognise hard drive and so can not restore
Hello there, I'm new to all this but would be thrilled if someone could help, I've had my iBook for going on three years and it crashed yesturday. To my horror it would not start up again afterwards. I heard the chime but then only a grey screen, I h
-
Adobe Acrobat 9 STD, commenting toolbar
Hi, I've got an issue, when trying to review and comment on a PDF in internet explorer, the commenting toolbar doesn't appear. therefore i cannot comment and review pdf's. O.S. is Windows 7. Internet explorer 8. Adobe Standard 9. I've done some troub
-
Integrating Tomcat with Apache
Hi there, I'm really stuck here. I'm trying to integrate Apache with Tomcate. Not having much luck. I have a number of things that aren't quite right. For whatever reason the connector (mod_jk2) between Apache and Tomcat isn't doing its thing. First
-
Can you disable the mac's start-up sound?
Thanks in advance for any help.