Hi Appeon,
I am doing the migration from SQL Anywhere to MS SQL Server Database
PB2019R3
Microsoft SQL Server 2019 (RTM) - 15.0.2000.5 (X64)
when I run the application and try to save the changes from the screen I am getting the below error
Microsoft OLE DB Driver for SQL Server
UPDATE failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or xml data type methods and/or spatial index operations.
To rectify the above error I have added DelimitIdentifier=1 in the INI file on DBParm part then error is not coming but update is not happening.
when I check the profiler update statement is generating but it is not affecting in the database.
Same I am trying in the powerbuilder DW itself
When I directly check with the datawindow I am getting the error when Enclose Table and Column Names in Quotes is not checked
SQLSTATE = 42000
Microsoft OLE DB Driver for SQL Server
UPDATE failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
No changes made to database.
UPDATE table SET column = 'Scan iTY' WHERE column = 1001
when I checked it Enclose Table and Column Names in Quotes and tried then the update is done and reflecting in the database.
But when I run the application from the power builder IDE and try to do from the user screen it is not happening.
when I check from the SQL Profiler update statement is generated but not affected in the database
I am unable to find the reason for it.
Please advice how to rectify the issue, and how to configure the ini file for Microsoft OLE DB Driver for SQL Server.
Thank you
Sathishkumar S
Autocommit is False while initiating the connection
Commit is based on the transaction object so not doing anything additionally
There is no error coming up from the application it seems saved but actually not happened and if I took the same update statement from SQL Profiler and execute it from the SSMS then it is executing.
Thank you.
I am using PFC where commit already in place once the update is done successfully then it will go for commit else rollback in the transaction object.
as of now I made autocommit as True to continue working an find is there further difficulties during the migration from SQL Anywhere to MS SQL DB.
Thank you
Sathishkumar