mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
9 lines
230 B
SQL
9 lines
230 B
SQL
|
|
if not exists(select * from sysobjects where name = '%object_name%' and type in (N'FN', N'IF', N'TF', N'FS', N'FT'))
|
|
exec('create FUNCTION dbo.%object_name%() returns int as begin return null end')
|
|
GO
|
|
|
|
%object_ddl%
|
|
|
|
go
|