Posts by ronaldo junior • 35 points
4 posts
-
1
votes1
answer92
viewsQ: error while trying to change a table by adding a new column of type datetime in mysql
ALTER TABLE tb_coletas ADD dia DATETIME NOT NULL generates the following error Incorrect datetime value: '0000-00-00 00:00:00' for column I didn’t understand the error, as far as I know everything…
-
0
votes2
answers34
viewsQ: problems retrieving "Answer" from a request
I make the request normally, but when trying to recover the response of this request there is no return let rqs = new XMLHttpRequest(); rqs.open("GET",…
-
2
votes3
answers64
viewsQ: Why using 'IN" to filter records along with a subselect returns records that have, in certain columns, equal values
I was studying and I came across this, I know IN is like the OR, but what I didn’t understand was this command: SELECT * FROM Customers WHERE Country IN (SELECT Country FROM Suppliers); The return…
-
0
votes2
answers32
viewsQ: for in loop resuming the "length" index of a nodlist, is that normal? any tips to solve this?
as said the loop for in pecorre all indices and returns the indices, in this case they are (0,1,2), it is also returning the nodelist’s Dice length that I am pecorrendo, so when using the returned…
javascriptasked ronaldo junior 35