How can I delete all function from my database using sql-script. I tried:
declare @nm varchar(100)
select @nm = name from sysobjects where type = 'FN'
exec('drop function ' + @nm)
And I put in into the loop but it not delete all function. Please help