Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Comments on tables
The comment statement is DDL and hence can't be used in PL/SQL directly. You'll need the dbms_sql package to apply it.
Hth,
Sybrand Bakker, Oracle DBA
<keenej_at_my-deja.com> wrote in message news:8qu10k$s22$1_at_nnrp1.deja.com...
> Does anyone know how to add a comment to a table from an Oracle 7.3
> stored procedure?
>
> I tried using: COMMENT ON TABLE myTable IS 'myComment';
>
> However, I get the follow error message:
>
> PLS-00103: Encountered the symbol "ON" when expecting one of the
> following: := . ( @ % ;
>
> Any help would be most appreciated.
>
> Thanks...
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Wed Sep 27 2000 - 23:25:18 CDT