I need to find out how could a female and a male share the same identity number?
We all know that female ID numbers start with the number 0 after date of birth and the male ID numbers start with the number 5.
The following links are available: According to the provisions of the Identification Amendment Act, 2000 (Act No.
28 of 2000, which was promulgated on 13 October 2000) all forms of identity documents other than the green bar-coded identity document are invalid.
Probably, only the Department of Home Affairs can answer your question.
If you are looking for a test to discern the old numbers from the new numbers, this isn't it!
I ran a small hot script that would post ID number to the URL and checked relevant returned html text for match.
Recently (probably because elections are passed) the site stopped supplying names, but only confimed whether registered or not... Did you know: The current SA ID Number algorithm was created by my uncle Pieter den Boer (ex Q-Data, Brainware...) while working at IBM in the 1980's.
-- If the answer differs, the ID number is invalid.
One explanation might be that that the last THREE digits indicated race group in the old days and was done away with after the ANC came to power. Thanks for any help Thanks for this link - it has given me the inspiration to clean up this blog entry - I have also added the link at the top of the text - hopefully there will be less enquiries for ID status etc. */ WHEN no_data_found THEN lv_rply := FALSE; return lv_rply; WHEN OTHERS THEN cs_raise_exception(SQLCODE, SQLERRM, 'CS_VALID_SA_ID_NUMBER'); END; OK, I've seen the errors of my ways and got it to work! Here's the Oracle PL/SQL code: CREATE OR REPLACE FUNCTION FN_VALID_SA_ID_NUMBER ( p_id_number IN VARCHAR2 ) RETURN BOOLEANAS /* ===================================================================== This function was adapted from a TSQL function written by Craig Peacock on Donal Slemon Date: 2008/08/12 Description ----------- Validates an SA ID number.
(Returns 1=valid; 0=invalid) ===================================================================== */ lv_A NUMBER := 0; -- Holds Negative Index numbers (in odd number position) lv_B VARCHAR2(7) := null; -- Holds Positive Index numbers (in even number position) lv_B_num number(8,0) := 0; -- Holds Positive Index numbers lv_C NUMBER; lv_D NUMBER := -1; -- ~The check digit variable lv_I NUMBER; -- Counter Variable lv_dob NUMBER; lv_valid_dob BOOLEAN := FALSE; lv_is_valid NUMBER; lv_last_number NUMBER; lv_rply BOOLEAN := FALSE; lv_length NUMBER; lv_length_err EXCEPTION; BEGIN-- check length not 13 THEN lv_is_valid := 0; RAISE lv_length_err ; --RETURN lv_rply; END IF;-- check if first 6 digits are valid date (not strictly speaking necessary) lv_dob := substr(p_id_number,0,6); IF lv_dob IS NOT NULL AND to_date(lv_dob,'YYMMDD') IS NOT NULL THEN lv_valid_dob := TRUE; ELSE RETURN lv_rply; END IF; lv_I := 0 ;-- adding every odd position digit (starting pos 1)(result goes into lv_A) WHILE (lv_I 0) LOOP lv_C := lv_C lv_B_num mod 10; lv_B_num := ROUND(lv_B_num / 10); END LOOP; --WHILE */-- Add answer of lv_A to answer of lv_C -- Subtract the second digit (e.g. The number must tally with the last number in the ID Number.
Substring(2 * i 1, 1)) Next b *= 2 Dim c As Integer = 0 Do c = b Mod 10 b = Int(b / 10) Loop Until b On Saturday, 28 July 2007, my wife (PG Nosi) and bought a television.
We found out that she shares her identity number (7602210298085) with a certain Mr Paul Nkosi.