函数,很简单存储过程开始可以写 if exist(...) drop procName 如果是函数,怎么写上面这句话?[解决办法]if exists(select 1 from sysobjects where name= '函数名 ') drop function 函数名[解决办法]if exists(select * from sysobjects where name= '函数名 ') drop function 函数名