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

Home -> Community -> Usenet -> c.d.o.server -> Column length question.

Column length question.

From: <Serguei.Goumeniouk_at_cibc.ca>
Date: 21 Nov 2006 07:14:15 -0800
Message-ID: <1164122055.408646.91230@m7g2000cwm.googlegroups.com>

   Dear Experts,
As I know it is possible to use in stored procedures a column type definition for a variable declaration like the following:

myVariable tableName.columnName%TYPE;

Is it possible (and how) to use a column size definition? Something like:

IF (length(myVariable) > tableName.columnName%SIZE) THEN  .... do something ....
END IF;    Regards,
     Serguei. Received on Tue Nov 21 2006 - 09:14:15 CST

Original text of this message

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