How to turn off strict mode in PostgreSQL
I have problem with postgres, it's so different than mysql (type data string_numeric and numeric). I have a query for a type column of type varchar. Simple example Table A id(int) | kode(string) | name(string) --------+--------------+------------- 1 | 2 | yuan In mysql we can get data with select * from A where kode = 2; but in Postgres that is wrong SQL because type of data column kode is string, so must add ' to build query like select * from A where kode = '2'; How to set Postgres to use the SQL like mysql does (turn off strict mode)?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.