Posts by Guilherme Martin • 199 points
9 posts
-
0
votes2
answers1163
viewsA: Play javascript audio automatically
Add the attribute autoplay in his tag audio. Example: <audio autoplay> </audio> More information: https://www.w3schools.com/tags/att_audio_autoplay.asp…
-
0
votes1
answer52
viewsA: Oracle character count trigger
Just like Motta said in the comment, instead of doing a Rigger you can do a Non-constraint check. Below are the two ways to implement verification(Trigger/check Constraint). Trigger: CREATE OR…
-
1
votes1
answer57
viewsA: Select MAX(ID) does not work correctly
Query 1: This is happening because you are looking for affiliate_id 27. Its query brings the largest id that exists in the database, but the data it retrieves from user 27. Query 2: Your query is…
mysqlanswered Guilherme Martin 199 -
-2
votes6
answers304
viewsA: Align images to the center
Create this class in css: .center { display: block; margin-left: auto; margin-right: auto; width: 50%; } And include in your image: <img src="img/team-2.jpg" class="center" alt="">…
-
1
votes1
answer35
viewsA: Query between multiple Inserts
How the database connection is made? If by chance it opens every time the command is executed there is a big loss of performance, if that is it looks more over connections pools that will…
-
0
votes1
answer274
viewsA: Login MYSQL in C#
The command you executed is a Count(*), if you need user data in the application the correct one would be: select * from pessoas where Usuario = @Usuario and Senha = @Senha Why then you would…
-
1
votes1
answer74
viewsA: Does connecting to a java database have to be by a main class only?
No need, the recommended is to leave it in a separate class and make an instance of it or make a static method to recover the connection, follow a class example with a method for connection in the…
-
0
votes1
answer82
viewsA: Update data with Entity Framework
Debug the code and take a look at Innerexception, inside it has a list of errors that were generated during the command there you will find what went wrong.
-
0
votes1
answer97
viewsA: How to end an inactivity session using Angular7
In javascript there is a function for you to do this. setTimeout(function(){ alert("Teste"); }, 3000);
angularanswered Guilherme Martin 199