Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • cache buffer chain latch Oracle
  • Order by with ROWNUM Oracle
  • Free conference number from http://www.freeconference.com Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • Physical Standby switchover with session active Oracle
  • Changing Instance Name ( No DB_NAME) Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Recovering lost SYS password Oracle
  • Exadata Basics Oracle
  • online_ts_bkup.sql Oracle
  • Session_info.ksh Linux/Unix
  • restarting network in linux Linux/Unix
  • initUOCIOTTO.ora Oracle

PLSQL Table Syntax 1

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

DECLARE

TYPE DeptRecTab IS TABLE OF dept%ROWTYPE;

dept_recs DeptRecTab;

CURSOR c1 IS

SELECT deptno, dname, loc FROM dept WHERE deptno > 10;

BEGIN

OPEN c1;

FETCH c1 BULK COLLECT INTO dept_recs;

END;

Oracle, SQL scripts

Post navigation

Previous Post: create user with unlimited quota
Next Post: PLSQL Table Syntax 2

Related Posts

  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • oracle fast start failover best practice Oracle
  • My Minimum Tuning Programs Oracle
  • sql_doing_fts.sql Oracle
  • online_bkup.sql Oracle
  • sbind.sql Find Bind variable from sql_id sqlid 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
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • rm_backup_arch_file.ksh Linux/Unix
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • Locktree.sql Oracle
  • findobj.sql Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • useful dg links Oracle
  • Wait.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme