Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • For Search and replace unix command. Linux/Unix
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • send email from unix mailx with attachment. Linux/Unix
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • JSON/XML Types in Oracle Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • Monitor and Trace Unix processes using truss Linux/Unix
  • ipcs -l Linux/Unix
  • dbinv.sql Oracle
  • Unix split command to split files Linux/Unix
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • Roles and Stored Object behaviour Oracle

PLSQL Table Syntax 2

Posted on 02-Aug-2005 By Admin No Comments on PLSQL Table Syntax 2

DECLARE

TYPE EmpTabTyp IS TABLE OF emp%ROWTYPE

INDEX BY BINARY_INTEGER;

emp_tab EmpTabTyp;

BEGIN

/* Retrieve employee record. */

SELECT * INTO emp_tab(7468) FROM emp WHERE empno = 7468;

END;

Oracle, SQL scripts

Post navigation

Previous Post: PLSQL Table Syntax 1
Next Post: Rename Oracle Instance Name

Related Posts

  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • Locktree.sql Oracle
  • Jai Shree Ram Oracle
  • Find Stale DR Physical Standby Oracle
  • import-export with multiple files Oracle
  • block_ident.sql 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
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • v$backup.status information Oracle
  • Wait.sql Oracle
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme