Sign-up....

如何truncate table在store procedure中或function中

RT.

[5 byte] By [msdn] at [2007-10-25 21:51:04]
# 1 Re: 如何truncate table在store procedure中或function中

execute immediate 'truncate table TABLE1'

sasacat at 2005-10-17 14:54:50 >
# 2 Re: 如何truncate table在store procedure中或function中
truncate的表不能建有外键约束
mqmmx at 2005-10-17 15:49:00 >
# 3 Re: 如何truncate table在store procedure中或function中
存储过程里面执行DDL操作可以用动态SQL
rolandzhang at 2005-10-18 18:15:00 >

Oracle

All Classified