SQL Server Image Table
CREATE TABLE "SqlServerTable" (
"id" INT NOT NULL,
"image" IMAGE NOT NULL,
PRIMARY KEY ("id")
);
MySQL Image Table
CREATE TABLE `MySqlTable` (
`id` INT NOT NULL,
`image` LONGBLOB NOT NULL,
PRIMARY KEY (`id`)
);
What is the difference between image
and longblob
?
How can convert data from image
type in SQL Server to blob
type in MySQL?
When I copy data from SQL Server to MySQL, does not show any image with this
file_put_contents('2xx.jpg',$MySqlTable['image']);
?
I have do special processing on image type SQL Server?