I ran a query to show an id and birthday as follows:
select id,birthd,brthyr,brthmn,brthdy
from dbo.core
where id= '0000000'
The results are id=00000000, birthd=1877-01-01, birthyr=null, brthmn=null and brthdy=null
I want to take the birthd and populate it into the three null tables. Thus I want the following:
birthyr=1877, brthmn=01 and brthdy=01
I produced a partial update query
update dbo.core
set birthyr = ???
where id = '0000000'
How difficult would it be to pull out the birthyr in this case. I guess I would need a separate update query for the month and day.
select id,birthd,brthyr,brthmn,brthdy
from dbo.core
where id= '0000000'
The results are id=00000000, birthd=1877-01-01, birthyr=null, brthmn=null and brthdy=null
I want to take the birthd and populate it into the three null tables. Thus I want the following:
birthyr=1877, brthmn=01 and brthdy=01
I produced a partial update query
update dbo.core
set birthyr = ???
where id = '0000000'
How difficult would it be to pull out the birthyr in this case. I guess I would need a separate update query for the month and day.