mysql insert into怎么把空字符串转为NULL

$faceidResult = empty($faceidResult) ? "NULL" : "‘$faceidResult‘";
$sql = "INSERT INTO Cln_User (ID,Tel_Code, OtherImage, Ip_Country, Browser_Language, videoName, riskVideo,faceidResult, faceidStamp, riskStamp, Ip_City) 
        VALUES (NULL, ‘$Browser_Language‘, ‘$videoName‘, ‘$riskVideo‘, $faceidResult, ‘$faceidStamp‘, ‘$riskStamp‘, ‘$Ip_City‘);";

  

mysql insert into怎么把空字符串转为NULL

上一篇:Oracle corrupt block(坏块) 详解


下一篇:经典SQL语句大全