Posts by Luiz Gustavo • 47 points
6 posts
-
1
votes1
answer56
viewsQ: How to take a value from a Static method
good night. I’m implementing a code that stores the amount of comparisons and the sorting time of binary search. So, I’m storing the data in a text file for later analysis. It’s just that I have a…
javaasked Luiz Gustavo 47 -
1
votes2
answers1012
viewsQ: Duplicate keys
** Improving the Post to better understand what happened. Person, good afternoon. I created a table 'client' in sql server and put the email field as vachar(50), Unique and null accept pq by logic,…
-
-3
votes1
answer78
viewsQ: Method is running 3 times
I created this method for a validation when the user will type the option that appears on the screen: private int menu; private int menuImprimir; public int getMenu() { return menu; } public void…
-
0
votes1
answer2160
viewsQ: How to remove a SQL Server Constraint
I’m having a problem removing a Constraint from a table. Objective is to delete the Constraint to delete a table. The problem is: I have an Income table that is associated with Extra Income. This…
-
0
votes3
answers1491
viewsA: How to use alter table by modifying an attribute to PK and FK?
I put the employee table here to see if it gets better to understand what I’m looking for. I have the employee table and I have this seller table, the employee has the Cod_func that is the PK. And…
-
2
votes3
answers1491
viewsQ: How to use alter table by modifying an attribute to PK and FK?
I have a table Funcionário, where your PK that’s the one Cod_Func. Then I created this table Vendedor, created the attributes manually, did not put the Cod_Func table Vendedor as PK, because this is…