Posts by Guilherme Vahldick • 86 points
2 posts
-
1
votes1
answer97
viewsQ: Problem with Adodb’s Insert_id function
In my code I perform two insertions using the Adodb 5 library, with the Mysql driver for PHP. But at certain times occurs the function Insert_ID() return an id (primary key) of a Insert previous to…
-
6
votes2
answers1593
viewsA: Checking empty column with CASE in Mysql
You can use the COALESCE function for this. SELECT COALESCE(NULLIF(nomeCli,''), nomeFantasiaCli) FROM cliente
mysqlanswered Guilherme Vahldick 86