Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Import and export statements Oracle
  • send attachment from unix-shell script Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • Building Our Own Namespaces with “Create Context” Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • Implementing Listener Security Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • How to see which patches are applied. 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

  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • Oracle Statspack survival Guide Oracle
  • Important Script Method for tuning Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Ports used by Oracle Software Oracle
  • Jai Shree Ram 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
  • secure crt settings Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • To find explain plan for a statement that occurred in past. Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • telnet listening Linux/Unix
  • FRA Information. Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • To see only files and/or folders using LS command Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme