dbTalk Databases Forums  

PL/SQL: DEFAULT vs. assignment

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss PL/SQL: DEFAULT vs. assignment in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ronald Fischer
 
Posts: n/a

Default PL/SQL: DEFAULT vs. assignment - 12-30-2003 , 07:47 AM






Is there any semantic difference between initializing a variable with
DEFAULT, and doing it with the assignment operator?

Ronald

Reply With Quote
  #2  
Old   
Daniel Morgan
 
Posts: n/a

Default Re: PL/SQL: DEFAULT vs. assignment - 12-30-2003 , 08:43 AM






Ronald Fischer wrote:

Quote:
Is there any semantic difference between initializing a variable with
DEFAULT, and doing it with the assignment operator?

Ronald
Yes. How could there be anything but a semantic difference?

--
Daniel Morgan
http://www.outreach.washington.edu/e...ad/oad_crs.asp
http://www.outreach.washington.edu/e...oa/aoa_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)



Reply With Quote
  #3  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: PL/SQL: DEFAULT vs. assignment - 12-30-2003 , 12:24 PM



Daniel Morgan (damorgan@x.washington.edu) wrote:
: Ronald Fischer wrote:

: > Is there any semantic difference between initializing a variable with
: > DEFAULT, and doing it with the assignment operator?
: >
: > Ronald

: Yes. How could there be anything but a semantic difference?

Since the source code looks different, I would have thought there was also
a syntactic difference.


Reply With Quote
  #4  
Old   
Daniel Morgan
 
Posts: n/a

Default Re: PL/SQL: DEFAULT vs. assignment - 12-30-2003 , 12:56 PM



Malcolm Dew-Jones wrote:

Quote:
Daniel Morgan (damorgan@x.washington.edu) wrote:
: Ronald Fischer wrote:

: > Is there any semantic difference between initializing a variable with
: > DEFAULT, and doing it with the assignment operator?
:
: > Ronald

: Yes. How could there be anything but a semantic difference?

Since the source code looks different, I would have thought there was also
a syntactic difference.

That too goes without saying.

--
Daniel Morgan
http://www.outreach.washington.edu/e...ad/oad_crs.asp
http://www.outreach.washington.edu/e...oa/aoa_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.