Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • refre.sql Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • fkwoind.sql fkwoindex.sql Oracle
  • v$backup.status information Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Export Import with QUERY Oracle
  • Oracle 10g for solaris 10 Oracle
  • Rman Notes -1 Oracle
  • set_env_dba Linux/Unix
  • Renaming Global Name GLOBAL_NAME Oracle
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle
  • runsql_once.ksh 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

  • Temporary tablespace explaination Oracle
  • Rman Notes -1 Oracle
  • All About oracle password and security from metalink Oracle
  • useful dg links Oracle
  • Renaming Oracle Instance Name Oracle
  • plan10g.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 (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • find checksum of a file. Linux/Unix
  • currwait.sql Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • switchover for primary database Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • My Minimum Tuning Programs Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • How to calculate PROCESSES parameter Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme