aha .. Ritesh caught the point here .. :-)
Now even I understand the question!
I'll add an example:
You can export .sql file, edit it and import. Have a look at attached file.
The SQL-export for this looks like:
CODE
/*
SQLyog Enterprise - MySQL GUI v5.12 BETA
Host - 5.1.9-beta-log : Database - test
*********************************************************************
Server version : 5.1.9-beta-log
*/
SET NAMES utf8;
SET SQL_MODE='';
create database if not exists `test`;
USE `test`;
/*Table structure for table `tablename1` */
DROP TABLE IF EXISTS `tablename1`;
CREATE TABLE `tablename1` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`t` varchar(50) DEFAULT NULL,
`vb` varbinary(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*Data for the table `tablename1` */
insert into `tablename1` (`id`,`t`,`vb`) values (1,'hos John Doe (PÃ¥minn=0)\\0','hos John Doe (Påminn=0)\0');
Note the difference between '\ \0' and '\0' in the SQL-file for the two columns
First column has an escaped \ followed by '\0'. This is valid for '\0'. '\0' alone implies that data are binary (not character data)