Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • fkwoind.sql fkwoindex.sql Oracle
  • Find all users who have DML privileges Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Jai Shree Ram Linux/Unix
  • Guide to Linux System Command Mastery Linux/Unix
  • Flowers Resize datafiles Oracle
  • DBMS_JOB all example Oracle
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • create database syntax Oracle
  • How to change hostname in Linux Linux/Unix
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • ORA-3136 Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • How to choose Driver table in SQL statement Oracle
  • to see when crontab is changed. 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

  • cp_filesystem.sql Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • longtx.sql Oracle
  • online_ts_bkup.sql Oracle
  • eplan.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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Virtual Indexes in Oracle Oracle
  • Oracle 10g Wait Model Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • telnet listening Linux/Unix
  • CPU speed on solaris Linux/Unix
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • find_pk.sql /* Find Primary Key */ Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme