What does the function ValidSSN do?
p.s. I hope SSN doesn't stand for social security number, because social security numbers should be stored encrypted if they're stored at all.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability