Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my sql database name is data20112012. when change financial year then i want to create new database named data20122013 and i want to take some tables into old data to new data
Posted
Updated 24-Jun-12 22:50pm
v2
Comments
Savalia Manoj M 25-Jun-12 4:42am    
Please specify what you wan't.
Prasad_Kulkarni 25-Jun-12 4:44am    
Not clear Vikro, please elaborate your question.

1 solution

The easiest way is :
1) Backup your database
2) Restore your database to a new name
3) Truncate table [tablename] the tables you don't want in the new database.
4) Selectively delete from the tables which require to be populated in the new.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900