Posts by Azelha • 19 points
4 posts
-
0
votes1
answer26
viewsA: mysql Trigger to replicate the ID value in another column
Then some tests I came to the conclusion that it might not be possible to copy the ID. (at least with simple Trigger) Am I right? I did a test with a Rigger that copies and Formats the Date and…
-
-1
votes1
answer26
viewsQ: mysql Trigger to replicate the ID value in another column
I’ve been around this but the value is "NULL" create trigger tr_ReplID before insert on DuploId FOR EACH ROW set new.ID=new.Replica_ID; What do I mean... When entering data in the Processes table ID…
-
1
votes1
answer153
viewsQ: Onblur clears the field
This code calculates the difference between dates: <!DOCTYPE html> <html> <head> <title></title> </head> <body> <form method="post" action="">…
javascriptasked Azelha 19 -
1
votes0
answers85
viewsQ: Trigger to format date
create trigger tr_Fmt_Data before insert on Tempos for each row set new.Mes = date_format(new.Datas, "%M"); insert into Tempos (Datas) values("2017-10-03"); Would it be possible for you to help me…