Posts by Marcos Meira Soares • 13 points
3 posts
-
-4
votes6
answers59467
viewsA: How to calculate the difference between two dates?
$resultado = strtotime($data_inicial.' + '.$data_final);
-
1
votes1
answer441
viewsA: Procedure to create database and tables
Solved. The simplest solution I could find was this: i created the table by passing_database.table name_table. SET @sql1 := CONCAT("CREATE TABLE IF NOT EXISTS ",var_banco,".teste_loja ( id int NOT…
-
1
votes1
answer441
viewsQ: Procedure to create database and tables
I need to create a data bank for each client that makes a certain registration, for this I created a procedure to do such a thing. But I came across a small identification problem. When I run the…