Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • AWR license Oracle
  • find_open_cur.sql Find open cursorts per session Oracle
  • compile_inv.sql Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Free conference number from http://www.freeconference.com Oracle
  • Clean up Oracle
  • Sample WW22 listener.ora Oracle
  • get_vmstat.ksh Linux/Unix
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Drop specific SQL plan baseline – spm Oracle
  • telnet listening Linux/Unix
  • Deleting first line and lastline of a file using sed Linux/Unix
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Absolute file number and relative file number Oracle
  • Small sample shell program 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

  • Display the top 5 salaries for each department using single SQL Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • DBMS_JOB all example Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • sqlnet.ora paramters Oracle
  • Kill a session dynanically using execute immediate 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 (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • newupload.html PHP/MYSQL/Wordpress
  • executing Function from SQLPLUS prompt Oracle
  • xargs use Linux/Unix
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • How to find password change date for user Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme