摘要:
1 USE [test] 2 GO 3 /****** Object: StoredProcedure [dbo].[p03_get_groupno_e1] Script Date: 2019/7/8 14:59:39 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SET Q 阅读全文
摘要:
1 USE [test] 2 GO 3 /****** Object: StoredProcedure [dbo].[p02_get_group_member] Script Date: 2019/7/8 14:58:03 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SET 阅读全文
摘要:
1 USE [test] 2 GO 3 /****** Object: StoredProcedure [dbo].[p01_get_group_path] Script Date: 2019/7/8 14:40:47 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SET Q 阅读全文
摘要:
1 USE [test] 2 GO 3 /****** Object: UserDefinedFunction [dbo].[tf_split_char] Script Date: 2019/7/8 14:39:15 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SET QU 阅读全文
摘要:
1 USE [test]; 2 GO 3 /****** Object: UserDefinedFunction [dbo].[f_findrecycle] Script Date: 2019/7/8 14:37:08 ******/ 4 SET ANSI_NULLS ON; 5 GO 6 SET 阅读全文
摘要:
--功能:统计sql server 2012表的行数 SELECT a.name, a.object_id, b.rows, b.index_id FROM sys.tables AS a INNER JOIN sys.partitions AS b ON a.object_id = b.objec 阅读全文
摘要:
1 SET STATISTICS IO ON; 2 SET STATISTICS TIME ON; 3 GO 4 IF OBJECT_ID(N'dbo.t1') IS NOT NULL 5 DROP TABLE dbo.t1; 6 GO 7 CREATE TABLE t1 8 ( 9 id INT 阅读全文