I get an error:
Microsoft OLE DB Provider for SQL Server (0x80040E57)
String or binary data would be truncated.
When I try to insert data into a database table. Here is the code I am using.
Set Conn = Server.CreateObject("ADODB.Connection"
Conn.Open strC
Conn.Execute(insString)
Conn.Close
Set Conn = Nothing
insString = "INSERT INTO OrderItems(OrderID, ProductID, Quantity, Sequence, JobPath, PrinterName) VALUES ('Y10019','YBK-C-DLS','1','1','MP-1','\\Dell2400\KPDP2\OrderJobs\Y10019\Job_Y10019_1')"
Microsoft OLE DB Provider for SQL Server (0x80040E57)
String or binary data would be truncated.
When I try to insert data into a database table. Here is the code I am using.
Set Conn = Server.CreateObject("ADODB.Connection"
Conn.Open strC
Conn.Execute(insString)
Conn.Close
Set Conn = Nothing
insString = "INSERT INTO OrderItems(OrderID, ProductID, Quantity, Sequence, JobPath, PrinterName) VALUES ('Y10019','YBK-C-DLS','1','1','MP-1','\\Dell2400\KPDP2\OrderJobs\Y10019\Job_Y10019_1')"