), CONVERT(smalldatetime, SUBSTRING(b.IDCard, , )), ) AS BrithDate_Name, DATEDIFF(year, CONVERT(smalldatetime, SUBSTRING(ISNULL(b.IDCard, ), , )), GETDATE()) AS Age_Name, CASE LEFT(RIGHT(b.IDCard, ), ) % WHEN THEN '男' ELSE '女' END AS Sex_Name, b.IDCa