Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Histogram information Oracle
  • scripts to take listener.log backup Linux/Unix
  • restarting network in linux Linux/Unix
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • USER_TABLES.Freelists Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • eplan9i.sql Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • V$transaction notes for finding XID composition. Oracle
  • Important Solaris Commands Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • Parallel DML Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle

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

  • Sample WW22 listener.ora Oracle
  • reset Sequence Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • Vivek Tuning for Row Locks. Oracle
  • Oracle Material from OTN Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database 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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • Finding Oracle Patches with opatch Oracle
  • purge_trc.sh Linux/Unix
  • DBMS_SQL for alter session. Oracle
  • catting.sh Linux/Unix
  • Reading parameter file and printing Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme