Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Good notes for shared pool Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • Gathering statistics with DBMS_STATS Oracle
  • Read CSV File using Python Python/PySpark
  • oracle_env_10g_CADEV Linux/Unix
  • Restoring a user’s original password 1051962.101 Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • nfs mount command Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • handling filenname with space Linux/Unix
  • Reading config file from other folder inside class Python/PySpark
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Flowers Resize datafiles Oracle
  • login.sql Oracle
  • Find long Running Transaction 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 Tablespace Oracle
  • Goldengate Tutorial Oracle
  • get_vmstat_solaris Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • How to know current SID Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • good note for shared pool tunnig Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme