All Questions

1
answer

How can I create a query that subtracts a certain percentage?

I have a table with a certain amount of price according to each article, I would like to know how I can subtract a percentage from the price, for example 30%.     
asked on 15.11.2018 / 00:35
1
answer

Trigger to auto-insert values in a table

I'm new to projecting databases. I have 3 tables: users: +--------+--------+---------+----------+--------+ | userid | name | surname | password | admin | +--------+--------+---------+----------+--------+ | value1 | value2 | value3...
asked on 18.11.2018 / 17:49
1
answer

Java - I can not read UDP socket from port / ip

I need to read from an ip / port, using UDP and I do not get it. From an external utility, I see that the reader (RFID) correctly reads from said port / ip through UDP. Now, I want to read it from java and I can not (I clarify that it is the fir...
asked on 22.10.2018 / 14:31
1
answer

Custom SQL Server Audit Table

I need to make a trigger, that I insert in an audit table, the name of the table, the date and the type of action that is performed, this trigger must be executed at the database level after an UPDATE, INSERT or DELETE of any of the tables in th...
asked on 27.10.2018 / 18:36
1
answer

How to get a data from a JSON chain!

I would like to ask you for some help! It turns out that I have my html form of MenuItem, where I want to insert data into my DB of the menuitem table where your FK is menu_id of the table menu, the case is that in my DTO I am programmed like th...
asked on 30.10.2018 / 14:00
1
answer

Help - I can not send object of the view towards the controller arrive null attributes

I have a problem I try to send an object in javascript to my controller, the problem is that the controller receives as a list attribute and this list contains another list as an attribute. I think the problem is that I do not send or do n...
asked on 25.10.2018 / 16:58
2
answers

Center in javascript and leave space between lines

What friends do I have these barcodes, but I need the name of the product to be above and the price below in a focused way, I tried with <br> \n and nothing, I would really appreciate your help. This is the code: $...
asked on 26.10.2018 / 21:43
1
answer

How to remove a value from an html table depending on the selected value with an input check, jquery?

Good morning. I currently have 2 tables in this way: The table we lend the genre dynamically in the following way: var prestamos_creditos = $('.prestamos_creditos'); $.each(response.data, function(index,value){...
asked on 18.10.2018 / 15:09
1
answer

Problems with the toast in android studio

I am developing a small app that will show me a Toast when I click on a button. The problem is that I run the normal app but it does not show me the toast and it does not throw me an error either, it's as if I had not put it. I would apprecia...
asked on 22.10.2018 / 05:20
1
answer

How can I put the functions of Export in Datatables laravel

I have this little problem with the datatables, I can not put the elements to export Try using this example Datatables Export But I could not, I use laravel 5.5 and well this is what I have This is my driver use Illuminate\Ht...
asked on 21.10.2018 / 01:37