Does anyone recall where the setting is to allow/ignore double quote characters around table and column names? I'm able to execute queries against a dw or via the DB painter, but I get an error when querying an ASA local DB when running the application via PB 2019. Thank you, ME
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Double quote characters in queries
- Mike Eder
- PowerBuilder
- Wednesday, 24 March 2021 18:49 PM UTC
- Wednesday, 24 March 2021 19:29 PM UTC
- PowerBuilder
- # 1
Hi, Mike -
What connection parameters are you using currently? What version of the database? What error are you receiving? Are you able to successfully establish a connection either in the app or in the IDE's Database Painter?
- Wednesday, 24 March 2021 19:38 PM UTC
- PowerBuilder
- # 2
Hi Mike;
Is this what you are looking for ...
SQLCA.DBParm = "IdentifierQuoteChar='"',DelimitIdentifier='Yes'"
Regards ... Chris
- Wednesday, 24 March 2021 21:29 PM UTC
- PowerBuilder
- # 3
On the PROPERTIES of a database profile, go to the SYNTAX tabpage.
The top item is what you seek.
- Thursday, 25 March 2021 00:42 AM UTC
- PowerBuilder
- # 4
Hi Chris,
I think you are close. I write that as I thought similar. However, I found that we were not doing that in the past with either of those parameters. I have PB 2017 running on a separate machine; it is working and neither of those settings exist there. It has me wondering if there's a DB ini file setting or similar somewhere else other than the initial connection to the DB parameters.
I hope I'm making some sense. The odd thing is that other team members are working fine, and they are not seeing the issue that is occurring for me.
Thank you for your reply and assistance with this,
Mike
- Mike Eder
- Thursday, 25 March 2021 14:33 PM UTC
-
Helpful Loading... Helpful 0
- John Fauss
- Thursday, 25 March 2021 15:24 PM UTC
-
Helpful Loading... Helpful 0
- Chris Keating
- Friday, 26 March 2021 02:08 AM UTC
The other option is to set the quoted_identifier option when the connection is made, i.e.;
set temporary option quoted_identifier='off'.
This can be done using EXECUTE IMMEDIATE.
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.