Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Generate SSH without password authentication. Linux/Unix
  • Find total file sizes Linux/Unix
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • How to see which patches are applied. Oracle
  • Virtual Indexes in Oracle Oracle
  • Roles and Stored Procs II Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • find_err.sql for finding errors from dba_errors. Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Rename Tablespace Oracle
  • Debugging Shell FIles Linux/Unix
  • To find explain plan for a statement that occurred in past. Oracle
  • pvm_pre_change.sql Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • Passing from Unix to PLSQL using bind variables 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

  • configUOCIOTTO.ora Oracle
  • Flowers Resize datafiles Oracle
  • Jai Shree Ram Oracle
  • Import and export statements Oracle
  • Backup and Recovery Scenarios Oracle
  • VIvek Encryption Package and Its Usage 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
  • rm_backup_arch_file.ksh Linux/Unix
  • How to start CRS manually Oracle
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Implementing Listener Security Oracle
  • Removing first line Linux/Unix
  • PLSQL Table Syntax 2 Oracle
  • Renaming Oracle Instance Name Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme