Using SQL SERVER.
The database contains data from different years, somehow I want to fetch all the data (all the years) and show to the user, for example, database conta
Create procedure in this Below steps you need to follow.
Create table Common_Table
with same one structure which all your table like records_2000_02 and others.' Insert into your Common_Table select * from ' + Table_name
that you get from Information_schema.