Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index

we connect to a MS SQL server using this connectionstring:
"sdbc:ado:Provider=SQLOLEDB.1;Persist Security Info=True;Initial Catalog=DobbitMulti;Data Source="
 as URL for a  ""
as return we optain a  ""

who permit us to make normal statements to MS SQL tables.

but a simple "prepared statement" like:

insertSQL = "INSERT INTO DobbitMulti.pmgMiuCode(basis, nummer ,taal) VALUES(?,?,?)"
            oInsStmt = oLCPConn.PrepareStatement(insertSQL)
            oINsStmt.SetString( 1, smiubasis)
            oINsStmt.SetString( 2, smiutomake)
            oINsStmt.SetString( 3, staal)

return a error:

BASIC runtime error.
An exception occurred
Message: Incorrect syntax near ':'..

A bug or ????

Thanks for any hints



To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.