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
Batch file to modify a text files
PHP MySQL SELECT OPTGROUP parent value
cross domain javascript
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
Any good advanced javascript books/links to recommend?
XSLT transformation
The shared hand in the calendar comes back by default after a restart of outlook.
The trust relationship between this workstation and the primary domain failed
RAID recommendation for VMWare ESXi 4.0 with HP 410i controller
MS SQL Server only using one core on a 4 core box