adspace


How we can copy one table data into another table whose name
same as table but in differ database

Answer Posted / bhas

CREATE TABLE `bhas`.`cds` ( table structure and data)

INSERT INTO `bhas`.`cds`
SELECT *
FROM `cdcol`.`cds` ;

where bhas is new db and cds is table name, cdcol is old db

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current mysql version?

1105


What is current version of mysql?

1084


How to Change a users password from unix shell.

1223


Which statement is used in a select query for partial matching?

1247