I want to get Identifiers with quotes in monetdb.
Say I have a Table tableA
which has two columns ColumnA
and ColumnB
.
I want the quote to be set dynamically. if my ColumnA
is quoted and columnB
is not it should add quotes for ColumnB
.
select "columnA", ColumnB from "tableA"
query should run as below query
select "columnA", "columnB" from "tableA"
in monet db
I have a scenario where I am getting the dynamic queries. for some identifier (Column name) we are getting as quoted and some are not. I want to make it unified. like those columns names are not quoted it should add qoute for them in monetdb
Exmaple select "tableA".ColumnnameA, tableA.ColumnB from "tableA" when I will execute the above query I will get the error no such column 'tableA.ColumnB' but when I will ad the quote to the second column table name it works fine
select "tableA".ColumnnameA, "tableA".ColumnB from "tableA" this query work for me but I can't add manually quote to the all the query. Is there are property which I can set in the monetDB to add quote whenever it is missing.
Can I implement the same in monetDB?