Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Search and Replace vi editor command. Linux/Unix
  • find_longsql.sql Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Histogram Overview Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Running select from V$ views from remote server Linux/Unix
  • USE_NL and INDEX hints example Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • cache buffer chain latch Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • Find_table_size.sql Oracle
  • Processes Parameter decision Oracle
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • track_autoupgrade_copy_progress.sql Oracle
  • checking redhat linux version Linux/Unix

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

  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • Error Handling in Proc Oracle
  • Roles and Stored Procs II Oracle
  • v$event_name Oracle
  • findobj.sql Oracle
  • Temporary tablespace explaination Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Nice notes on wait events Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • DBMS_SQL for alter session. Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • Rollback force for distributed transactions Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix
  • USER_TABLES.Freelists Oracle
  • purge_trc.sh Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme