Answer the question
In order to leave comments, you need to log in
Why is postgre not outputting lines when a valid request is made?
select * from proxy where user='40'
There is such a sql query, the user attribute is an integer. Where did I go wrong? If I remove the quotes, it throws an error:
ERROR: operator does not exist: name = integer
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Answer the question
In order to leave comments, you need to log in
And with quotes it displays "nothing" i.e. zero fields.
user='40'
'user'='40'
"user"='40'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question