Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Good Link from metalink 1 Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • Import and export statements Oracle
  • get_vmstat.ksh Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • DB Console Mainenance. Oracle
  • OEM-Commnds Oracle
  • JSON/XML Types in Oracle Oracle
  • find_string_in_database.sql Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • alter database backup controlfile to trace Oracle
  • Single character replacement in Unix Linux/Unix

findx.sql /* Find Indexes on specified USER.TABLE_NAME */

Posted on 02-Aug-2005 By Admin No Comments on findx.sql /* Find Indexes on specified USER.TABLE_NAME */

accept usrnm prompt “Enter The User Name -> ”

accept tblnm prompt “Enter The Table Name -> ”

select index_name, substr(column_name,1,15) “Colm Name”, column_position “Position”

from dba_ind_columns

where table_name = upper(‘&tblnm’)

and table_owner = upper(‘&usrid’)

order by index_name, column_position;

Oracle, SQL scripts

Post navigation

Previous Post: tab.sql
Next Post: fkwoindex.sql /* Find FK without Index */

Related Posts

  • Rename Oracle Instance Name Oracle
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle
  • Another export with Query Oracle
  • V$transaction notes for finding XID composition. Oracle
  • JSON/XML Types in Oracle Oracle
  • Processes Parameter decision Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • initUOCIOTTO.ora Oracle
  • upload.html PHP/MYSQL/Wordpress
  • find_err.sql for finding errors from dba_errors. Oracle
  • proper cpu stats Linux/Unix
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Find Command Linux/Unix
  • Changing the Global Database Name Oracle
  • DBMS_SQL for alter session. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme