Microsoft
Software
Hardware
Network
Question : How to dump one MySQL record to put in another database?
Hello everybody,
I have two mysql databases on different machines, one is for testing. The schema for both are the same.
I want to move a record from the production database to the test database. Is there a way to dump one record so that it will produce the sql necessary to insert that record in the test database table? Something like a mysqldump but for one record.
thanks
Answer : How to dump one MySQL record to put in another database?
Use mysqldump with the --where option
mysqldump --opt --where="x=1 limit 1" database
Random Solutions
return double array in Delphi call to c++
deal with crm 4 sdk with ASP
ASP.net 3.5 vs 4
How do I update file, save to new location and keep original file as is using Visual Basic 2008?
Get Current selected link - apply css
Setting up wireless on a Cisco 1811
How do I get a user ID from a logged in user and include it in my query
Help with PHP statement
Count/sum items between dates
secure emails