Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • chk_space_SID.ksh Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • Restoring a user’s original password 1051962.101 Oracle
  • Shuffle an array PHP/MYSQL/Wordpress
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • Virtual Indexes in Oracle Oracle
  • Recovering lost SYS password Oracle
  • Checking SQL Server Version SQL Server
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • oracle_env_10g_CADEV 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

  • Oracle 11g Environment Setup Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • standard Monitoring – 1 Oracle
  • oracle fast start failover best practice Oracle
  • Find sort details from Db find_sort.sql Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.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)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Finding Oracle Patches with opatch Oracle
  • find_cons.sql Oracle
  • v$backup.status information Oracle
  • scripts to take listener.log backup Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • shutdown linux Linux/Unix
  • Default User Profile Oracle
  • GSQ.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme