SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Sql Query to find invalid SSN Numbers


Sql Query to find invalid SSN Numbers

Author
Message
Joe Celko
Joe Celko
SSCrazy Eights
SSCrazy Eights (8.5K reputation)SSCrazy Eights (8.5K reputation)SSCrazy Eights (8.5K reputation)SSCrazy Eights (8.5K reputation)SSCrazy Eights (8.5K reputation)SSCrazy Eights (8.5K reputation)SSCrazy Eights (8.5K reputation)SSCrazy Eights (8.5K reputation)

Group: General Forum Members
Points: 8534 Visits: 4310
Jeff Moden - Thursday, March 14, 2019 9:29 PM
[quote]
roger.plowman - Wednesday, March 13, 2019 6:49 AM


But first, stop storing the damned things in an unencrypted fashion. ;-)

Say "AMEN!" , brother!! Or go to jail...


Please post DDL and follow ANSI/ISO standards when asking for help.
Lynn Pettis
Lynn Pettis
SSC Guru
SSC Guru (439K reputation)SSC Guru (439K reputation)SSC Guru (439K reputation)SSC Guru (439K reputation)SSC Guru (439K reputation)SSC Guru (439K reputation)SSC Guru (439K reputation)SSC Guru (439K reputation)

Group: General Forum Members
Points: 439248 Visits: 44200
jcelko212 32090 - Friday, March 15, 2019 11:46 AM
Lynn Pettis - Friday, March 15, 2019 8:32 AM
[quote]
roger.plowman - Friday, March 15, 2019 6:50 AM
[quote]
Jeff Moden - Thursday, March 14, 2019 9:29 PM
[quote]
roger.plowman - Wednesday, March 13, 2019 6:49 AM
The Social Security Act itself states that the SSN cannot be used for identification.
It is also illegal to murder people. How has that worked form you :-) ?

Wow, Mr. Celko, it has been illegal to murder people longer than Social Security has been around. Even the 10 Commandments states "Thou shall not murder."


Cool
Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (984K reputation)SSC Guru (984K reputation)SSC Guru (984K reputation)SSC Guru (984K reputation)SSC Guru (984K reputation)SSC Guru (984K reputation)SSC Guru (984K reputation)SSC Guru (984K reputation)

Group: General Forum Members
Points: 984850 Visits: 49389
jcelko212 32090 - Friday, March 15, 2019 11:46 AM
It is also illegal to murder people. How has that worked form you :-) ?


BWAAAA-HAAAAA!!! Really good! No one has found the bodies yet. BigGrinBigGrinBigGrin






(For all you paranoid folks out there, it's just a joke Wink)

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

When you put the right degree of spin on it, the number 318 is also a glyph that describes the nature of a DBAs job. Wink

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Sean Lange
Sean Lange
SSC Guru
SSC Guru (284K reputation)SSC Guru (284K reputation)SSC Guru (284K reputation)SSC Guru (284K reputation)SSC Guru (284K reputation)SSC Guru (284K reputation)SSC Guru (284K reputation)SSC Guru (284K reputation)

Group: General Forum Members
Points: 284184 Visits: 19843
Jeff Moden - Thursday, March 14, 2019 9:34 PM


I know, huh? I can't believe that any company would be so stupid but there's constant evidence that it's actually a rampant problem. Heh... I guess that one came out loud too, huh? BigGrin

Not too loud at all...perhaps not loud enough!!!! We need bigger signs with more volume to stop this kind of insanity.


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Modens splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum









































































































































































SQLServerCentral


Search