R
Railway15mo ago
conskype

Postgres sql update query inserting "$1" instead of "?"

I have a Postgres server and I runned the query: update "Table_name" set("column_name") = ("Column_name" || E'\?') from the webpage of Railway I expected something like updating "hello" to "hello?" but it updated the rows like "hello$1".
Solution:
I have tried changing '?' for CHR(63) and it worked
Jump to solution
3 Replies
Percy
Percy15mo ago
Project ID: 816204a8-0722-45ec-a185-f5c79d0b2ecc
conskype
conskype15mo ago
816204a8-0722-45ec-a185-f5c79d0b2ecc
Solution
conskype
conskype15mo ago
I have tried changing '?' for CHR(63) and it worked
Want results from more Discord servers?
Add your server