Posts by Douglas Venancio • 117 points
4 posts
-
1
votes2
answers1931
viewsQ: Error: "Column Count doesn’t match value Count at Row 1" when inserting value in table with Trigger
After creating the Trigger: DELIMITER # CREATE TRIGGER BACKUP_PRODUTO_INS AFTER INSERT ON PRODUTO FOR EACH ROW BEGIN INSERT INTO BACKUP.BKP_PRODUTO VALUES(NULL, NEW.IDPRODUTO, NEW.NOME, NEW.VALOR,…
-
0
votes0
answers74
viewsQ: Differences between using Typecast and wrapper class?
Hello, the activity proposal would show how old the user would be, I wrote my code first to then be able to compare with the teacher, it turns out that my first line came out much smaller than the…
javaasked Douglas Venancio 117 -
10
votes1
answer227
viewsQ: Difference between printf and format
Is there any difference between using the printf and the format? Example 01: float nota = 5.3f System.out.printf ("Sua nota: %.2f", nota) Example 02: float nota = 5.3f System.out.format ("Sua nota:…
-
0
votes2
answers441
viewsQ: What does this piece of code mean?
Recently I came across a stone in the shoe, I was going to comment on a code, but I realized I was filling sausage when commenting on it, because I do not know what is the actual use of the code…