SQL migration from MySQL to PostgreSQL: Difference between revisions

From annawiki
No edit summary
No edit summary
Line 1: Line 1:
#change LIKE to ILIKE : LIKE is not case-sensitive in MySQL, but in PostgreSQL it is !! query will then return an error in MySQL
#change LIKE to ILIKE : LIKE is not case-sensitive in MySQL, but in PostgreSQL it is !! query will then return an error in MySQL
#see also [[Postgresql vs Mysql]]
#see also [[Postgresql vs Mysql]]
#automatic conversation (which tool?) : suspected: turned the type of some fields (select list?) into boolean, i.e. the type "select list" needs to be changed before or treated in another way

Revision as of 2022-10-29T15:43:07

  1. change LIKE to ILIKE : LIKE is not case-sensitive in MySQL, but in PostgreSQL it is !! query will then return an error in MySQL
  2. see also Postgresql vs Mysql
  3. automatic conversation (which tool?) : suspected: turned the type of some fields (select list?) into boolean, i.e. the type "select list" needs to be changed before or treated in another way