Thank you for the responce. I think there maybe something else wrong because I get NULL from the return. I suspect I am not getting the blob out of the MSSQL DB correctly.
Here is how I am trying to migrate the data.
$ms_connection = @ mssql_connect($db_server, $db_user, $db_passwd)
$my_connection = @ mysql_pconnect($my_server, $my_user, $my_passwd)))
$result=mssql_query("SELECT blob_column FROM some_table");
while($row = mssql_fetch_row($result))
{
$sql = "INSERT INTO mysql_test (blob_column) VALUES ('$row[0]');";
mysql_query ($sql, $my_connection)
}
Pretty sure the above is the WRONG way to do it, please point me in a direction that help me migrate the data correctly.
Thanks