Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Truncate Table in PL/SQL
dgmenace <dgmenace_at_netscape.net> wrote:
> TRUNCATE is a SQL*Plus command that can not be executed in PL/SQL
No, you are mistake. TRUNCATE is DDL command and can't be executed in PL/SQL
> Chua Boon Yiang wrote:
>> Hi
>>
>> can i do a "truncate table T1" in a PL/SQL block ?
>> as i need to manipulate a temp table very often, w/o the ability to do a
>> truncate table will have abit efficiency problem.
>>
>> Thanks
>> Boon Yiang
-- ---------------------------- E-mail: fia_at_ins.dn.ua
![]() |
![]() |