- Sathishkumar S
- PowerBuilder
- Wednesday, 4 May 2022 12:36 PM UTC
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
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.