Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • JSON/XML Types in Oracle Oracle
  • Space padding in korn shell Linux/Unix
  • db_status.sql Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • get_aix_vmstat.ksh Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • executing Function from SQLPLUS prompt Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • Insert cause enqueue locks Oracle
  • Index Range Scan 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

  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • Histogram information Oracle
  • eplan.sql Oracle
  • Rownum with Order by Oracle
  • Load testing on Oracle 19C RAC with HammerDB 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
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • My Test Case On 21-OCT-2005 Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • 10g oem configuration Oracle
  • Search and replace pattern Linux/Unix
  • Query to Generate aggregate on every 30 mins. Oracle
  • to see when crontab is changed. Linux/Unix
  • Mutating Table Error while using database trigger Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme