drop function fn_trim不行?
解决方案 »
- 不敢确定~~大家帮忙看看吧~~~
- 如何计算合计值?
- 疑惑~~
- 关于遍历的实现,谢谢!
- 级链删除表的问题,分不多,真心求助
- SQL自动启动问题,高手呀急急急
- 给大家开个FTP
- 因在SQL SERVER中使用了触发器,且又频繁的插入数据,导致SQL SERVER的资源占用率经常达到100%,有什么好的办法能避免这种情况吗???
- 已设default值的字段,如何才能用alter talbe drop column来删除
- 如何用ADO将一个文本文件中的数据导入一个表中?
- 如何在不使用min函数的情况下,查询一个表AA中的num字段中值最小的数?
- 我头搞晕了 现在有个简单的更新语句 都不知道咋写 大家帮一下忙
reconfigure with override
go
delete sysobjects where name = 'fn_Trim'
改回dbo就可以删了:
*/
exec sp_configure 'allow updates',1
reconfigure with override
go
exec sp_mschangeobjectowner 'fn_Trim','dbo'
go
exec sp_configure 'allow updates',0
reconfigure with override
go
exec sp_configure 'allow updates',1
reconfigure with override
go
delete sysobjects where name = 'fn_Trim'
exec sp_configure 'allow updates',1
reconfigure with override
go
update sysobjects set uid = 1 where name = 'Fn_Trim'
go
exec sp_configure 'allow updates',0
reconfigure with override
--成功删除
drop function Fn_Trim