New file extensions and samples for SQL

This commit is contained in:
Paul Chaignon
2014-04-22 10:34:19 +02:00
parent 58d65c2d27
commit 9f49efef0a
6 changed files with 285 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
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