I am trying to achieve a scenario where i have 2 database say db1
, db2
. Both the database have same same table tbl1
, tbl2
with identical schema.
My Problem is i want to select all data from db1.tbl1
and insert into db2.tbl2
. I need to do this with the help of scheduler running every 12 hrs.
Since i am new to sql any reference related to my solution would be helpful.
Any help is appreciated.