mercredi 11 février 2015

REPLACE INTO tbl_name => No database selected (MYSQL)


REPLACE INTO playersettings (player_id, column1, column2, column3, column4, column5, column6, column7, column8, column9, column10, column11, column12, column13, column14, column15, column16, column17, column18, column19, column20, column21, column22) VALUES (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)


I ported the string (SQLITE) from INSERT OR REPLACE just to REPLACE INTO, now its just saying

#1046 - No database selected Can someone Help me?


(The execute should Replace an entry if there is some or Insert if there isnt an entry)


Aucun commentaire:

Enregistrer un commentaire