Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Remove DOS CR/LFs (^M) Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Oracle Material from OTN Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • UTL_FILE test program Oracle
  • Recovering lost SYS password Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • Rownum with Order by Oracle
  • switchlogfile.sh Linux/Unix
  • Oracle Release Explaination Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • secure crt settings Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • tblwopk.sql tablewopk.sql Oracle
  • How to analyze statspack or AWR report. 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

  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Specify the Rollback segment to use in Transaction Oracle
  • Oracle 10g for solaris 10 Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Oracle Internal Good Websites 1 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Finding Oracle Patches with opatch Oracle
  • Rename Tablespace Oracle
  • Small sample shell program Linux/Unix
  • findobj.sql Oracle
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • refre.sql Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme