身份证验证 ZT
摘要:
alter function dbo.IDTrue--验证十八位身份证是否正确( @ID varchar(18))returns bitas begin--验证格式是否正确declare @RES bitdeclare @W table (rn int,val int)insert into @W(rn,val)select 1,7union select 2,9union select 3,10union select 4,5union select 5,8union select 6,4union select 7,2union select 8,1union select 9,6unio 阅读全文
posted @ 2004-12-10 16:31 老代哥哥 阅读(266) 评论(0) 推荐(0) 编辑