Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Stored Procedure truncate and Grant for Local temporary tables

$
0
0

You can't perform and DDL type statements within a stored procedure, and TRUNCATE is also not allowed.

 

I was with a client who got around this by issuing a TRUNCATE statement within a script, and THEN calling the stored procedure. This cut off like 25% of processing time since the DELETE was not held in rollback.

 

Regards,

Justin


Viewing all articles
Browse latest Browse all 8451

Trending Articles