摘要:
using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace Generics_CSharp { // 尖括号中的类型参数 T。 public class MyList : IEnumerable { protec... 阅读全文
摘要:
一、 Create Function Split(@Strs As Nvarchar(1024),@Separator as Nvarchar(10),@Index as Int) Returns Nvarchar(1024) As begin Declare @i As Int, @charpos As Nvarchar(1024) Set @charpos = @Strs Set @... 阅读全文
摘要:
--查询父单位的函数 CREATE Function GetParentUnit(@UnitId bigint, @Level int) Returns @Parents Table([UnitId] int ,[UnitName] nvarchar(64),[ParentUnitId] int) As Begin If @Level 0 Begin... 阅读全文