DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Truncate table in a procedure

  1. #1
    Join Date
    Jan 2000
    Posts
    387

    Talking

    Hi,

    May I know if it is possible to use truncate table command in a procedure? I have tried it and it seems that I have encountering some error? can anyone help pls? Thanks! :)

  2. #2
    Join Date
    Feb 2001
    Posts
    9

    truncate in procedure

    Hai....


    We can give the truncate stmt with in pl/sql procedure.

    using Execute immediate.
    ex:
    Execute Immediate (' Truncate table table_name');

    i hope this will solve ur problem.


    bye
    komes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width