开发者

[SQL Server]Cannot INSERT SODT because SOHD does not exist

开发者 https://www.devze.com 2022-12-07 21:11 出处:网络
SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot INSERT SODT because SOHD does not exist.

SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot INSERT SODT because SOHD does not exist.

I am trying to insert data into table SOHD but am getting an error as above. I'm insert to table SOHD it success.

$sodt = $conn->prepare("INSERT INTO SODT (SOID, GoodID, GoodQty2, GoodPrice2, GoodAmnt, ShipDate, ListNo, DocuType, GoodType)
VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)");
$params1 = array($_POST['SOID'], $_POST['GoodID'], $_POST['GoodQty2'], $_POST['GoodPrice2'], $_POST['GoodQty2']*$_POST['GoodPrice2'], $_POST['ShipDate'], $_POST['ListNo'], $_POST['Docu开发者_JAVA技巧Type'], $_POST['GoodType']);
$sodt->execute($params1);

pic

sodt1sodt2sodt3 sohd1sohd2sohd3sohd4

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号