if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[f_Sql]’) and xtype in (N’FN’, N’IF’, N’TF’)) drop function [dbo].[f_Sql] GO if exists (select * from dbo.sysobjects where id = object_id(N'[序数表]’) and OBJECTPROPERTY(id, N’IsUserTa