All Questions

1
answer

How to print a hexadecimal value in uppercase?

I made a program in C ++ that reads a number and prints it in hexadecimal, follow the code below. #include <iostream> using namespace std; int main(void) { int n; cin>>n; cout<<hex<<n<<endl;...
asked on 30.07.2018 / 17:39
1
answer

Get the least significant bit of an integer in Java

I'm trying to do a bit manipulation in java, but I'm having a problem. I'm storing any number in an int and trying to get the least significant bit of it, but I do not know how to do that. For example: int valor = 98; The value in bin...
asked on 11.07.2018 / 01:49
2
answers

How to read comments from a class, function, or method?

I have already seen some implementations in the framework Symfony and Laravel that allow to define through comments routes in controller methods, or Doctrine Models annotation definitions. More or less like this: class Usuariosontroller {...
asked on 17.08.2018 / 19:29
2
answers

Bold "b" does not apply in a range

In table , if I apply bold ( <b> ) out of cells ( <td> ), it does not work: <table> <tr> <b> <td>Cell A</td> <td>Cell B</td> <td>Cell C<...
asked on 13.08.2018 / 14:46
2
answers

Search for two numbers at a time

Maybe this question has even been answered already, but I do not know how to do it, and I fell into the typical XY problem. I have a table that has several ids, and I need to search two id's, 34 and 5. SQLFiddle In the case above, I c...
asked on 17.09.2018 / 14:18
4
answers

Return results for all months in range

I have the following query : SELECT CAST(SUM(CASE WHEN s2.name LIKE '%Servidores' THEN (ta2.time_unit * 1.5)/60 ELSE ta2.time_unit/60 END) as DECIMAL(12,2)) AS TEMPO_CORRETO, MONTHNAME(ta2.change_time) AS MES, MONTH(ta2.chan...
asked on 18.05.2018 / 18:53
3
answers

How do I open a list of the "Queries SQL" category with VBA?

I want to invoke a VBA list of the " SQL Queries category". I know the PSO.Listas.GetF4SQL method but this way the list opens in "Modal" and does not allow to maximize the form. The goal is to use the PSO.AbreLista method, but I c...
asked on 24.06.2018 / 23:09
2
answers

Link href to id div

I know that we can make links by directing click href to an id of the page using # . #content1, #content2, #content3, #content4 { height: 50vh; border: 1px solid red; } <a href="#content1"> CONTEUDO 1</a>...
asked on 13.09.2018 / 15:11
1
answer

Select Float Mysql

In mysql field is stored 104.13 in format Float ; With this select, I can see the record: SELECT * FROM parcelas WHERE valor like '104%'; But with this select it does not appear: SELECT * FROM parcelas WHERE valor =...
asked on 18.04.2018 / 15:44
1
answer

What is the difference between the new JOIN operator and the previous ones?

I was looking at some examples of SQL in Oracle, and I noticed that it's only possible to do JOIN . Example SELECT T1.*, T2.desc FROM table1 T1 JOIN table2 T2 ON T2.id = T1.id_table2 Question What is the differe...
asked on 30.03.2017 / 14:07