In addition to OG's solution above, I assumed you would be storing the Civil number as … a number so I came up with something like this...
Get the date of birth in xMMDD format by dividing the civil number by 100000 (where x is 1, 2 as per your rules).
Convert that to a date in CCYYMMDD format by adding 17000000
Convert that number to a real date.
declare @demo table (id int identity (1,1), civicNo bigint, dob date)
insert into @demo (civicNo) values (286063001795),(260102901794)
update @demo set dob = CONVERT(datetime, convert(varchar(10), 17000000 + (civicNo / 100000)))
As you will see from the link in solution 1 there are lots of ways of calculating age - I tend to use the following method but be aware that I haven't tested it across all combinations of leap year in birth year, leap year in "today", day of date of birth etc.
select *, datediff(Month, dob, getdate())/12 as age, (civicNo / 100000),17000000 + (civicNo / 100000)
from @demo
I completely agree with @OriginalGriff though - don't store data that is that dynamic on the database, calculate it when required.