Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id hAC0ak315074
 for <oracle-l@orafaq.net>; Tue, 11 Nov 2003 18:36:46 -0600
X-ClientAddr: 66.27.56.210
Received: from ns3.fatcity.com (rrcs-west-66-27-56-210.biz.rr.com [66.27.56.210])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id hAC0akc15069
 for <oracle-l@orafaq.net>; Tue, 11 Nov 2003 18:36:46 -0600
Received: from ns3.fatcity.com (localhost.localdomain [127.0.0.1])
 by ns3.fatcity.com (8.12.8/8.12.8) with ESMTP id hABLgUbt011288
 for <oracle-l@orafaq.net>; Tue, 11 Nov 2003 13:42:48 -0800
Received: (from root@localhost)
 by ns3.fatcity.com (8.12.8/8.12.5/Submit) id hABLeQEd009304
 for oracle-l@orafaq.net; Tue, 11 Nov 2003 13:40:26 -0800
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D657A; Tue, 11 Nov 2003 13:44:24 -0800
Message-ID: <F001.005D657A.20031111134424@fatcity.com>
Date: Tue, 11 Nov 2003 13:44:24 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: Maryann Atkinson <maryann_30@yahoo.com>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: Maryann Atkinson <maryann_30@yahoo.com>
Subject: var source_data  varchar2(12)
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Content-Transfer-Encoding: 7bit

My original posting had a few lines truncated, so here I go again:

I'm looking at a PL/SQL script that goes like this

-- Header
var Source_Data  VARCHAR2(12)

DECLARE
        Num1   NUMBER;

BEGIN
      Source_Data := '&1';

What's the purpose of having a VAR statement in front or Before
of the Declare section? Is it used for bind-variables, is that what it is?

thx
maa 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Maryann Atkinson
  INET: maryann_30@yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

