Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms 5 (PL/SQL) Need to TRUNCATE a table.

Status
Not open for further replies.

andypara

Programmer
Apr 25, 2002
32
GB
Hi,

I need to truncate an Oracle 8i table from within a Forms 5 trigger. I've tried :-

EXECUTE IMMEDIATE 'TRUNCATE TABLE CTR_EMPL';

But it thows back an error when I compile it saying it doesn't like "IMMEDIATE".

Can you use Dynamic SQL in Forms??

What syntax can I use to do this?

Many Thanks.
 
Use forms_ddl built-in. Don't forget that this will issue commit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top