Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Really Easy Newbie Question - Please Help!

Re: Really Easy Newbie Question - Please Help!

From: bob sullivan <bsullivn_at_home.com>
Date: Wed, 29 Mar 2000 00:35:42 GMT
Message-ID: <38E14FAE.C9906D03@home.com>


Andrew wrote:
> Hi I'm new to Oracle & was wondering if anybody could tell me what the 2
> colons in the following statement do. Would the statement behave the same
> without either colon?
>
> order_exceeds_balance := :customer.order_total > max_allowable_order;
>
> Sorry for being so dim, but I can't seem to find it in the documenation
> anywhere.

The first colon (preceding the equal sign) is part of the assignment operator, :=. The second colon designates :customer.order_total as a parameter. If you ran this statement, you'd be prompted to enter a value for :customer.order_total before the statement would run.

cheers,
~bob Received on Tue Mar 28 2000 - 18:35:42 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US