Posts by Washington Borges • 34 points
2 posts
-
1
votes2
answers264
viewsA: Remove First Name and Last Name from Full Name
Try something like that: select SUBSTRING_INDEX(nome_completo, ' ', 1) as primeiro_nome, SUBSTRING(nome_completo,LOCATE(' ',nome_completo) + 1,char_length(nome_completo) - LOCATE(' ',…
-
0
votes1
answer50
viewsA: Update via POST showing error
As a good practice avoid concatenating string in SQL commands. Always choose to use the prepare statement to manipulate the database, this way you avoid possible SQL Injection attacks. Read the…
mysqlianswered Washington Borges 34