Posts by Caio Henrique Reblin • 77 points
9 posts
-
0
votes0
answers35
viewsQ: Exception when executing UPDATE clause on IBM DB2
Hello, I am doing an UPDATE on an IBM DB2 database, and is returning this message: DB2 query node, error in query: Error: [IBM][CLI Driver][DB2/LINUXX8664] SQL0100W Não foi localizada uma linha para…
-
-1
votes1
answer36
viewsQ: How to insert multiple Rows, where some Rows will have fewer values than columns
I’ll try to give a simple example of my problem. I have the following columns in a table called "Test": Name | Age | Gender | Nota1 | Nota2 | Nota3 I want to insert multiple lines in the table, but…
-
2
votes1
answer91
viewsQ: SQL query where the last 2 digits of WHERE should be ignored
I’ll try to get to the point. I got the following SELECT: SELECT * FROM "Inverter" WHERE "InstallationUUID" = '0D013C023900-15-0B4B00' AND "CreatedTime_Key" > 20170718000000 AND "CreatedTime_Key"…
-
2
votes1
answer107
viewsA: Read multiple scanf numbers separated by space and place in a vector in C
The question is not very clear to me, but I have no score to comment, so I will answer based on what I understand. According to what I interpreted you want to read multiple numbers in one scanf and…
canswered Caio Henrique Reblin 77 -
0
votes1
answer70
viewsA: Monitoring the last Row from a table
The question was not clear to me, but I have no score to comment on. So I will answer based on what I understood. In this case I would make a DataTable history cache, where every time you query…
-
0
votes2
answers101
viewsA: What reason does the "missing()" at the end of the program send me an error in which it is not possible to compile?
A simple solution to your problem is to pass a value as parameter when you call the method, and add a return at the end of the method. Example: public string falta(double mfinal) { double pfinal; if…
-
0
votes1
answer40
viewsA: Error system.net.webexception: 0 using the Ibmwiotp library
The problem was solved by changing the network. The proxy company where I work POST, I used another network provided by the same and I was able to do the POST normally.…
-
1
votes2
answers132
viewsA: I need the replay to stop when I type "F"
I recommend changing the repeating structure to while. while(condição){ } Compare the variable you store the input user with 'F': while(var != 'F'){ } The code will only stop if the variable equals…
-
1
votes1
answer40
viewsQ: Error system.net.webexception: 0 using the Ibmwiotp library
I’m working with the library Ibmwiotp to make a POST equipment on the IBM Watson Iot Platform. I have the following code: public void AddDevice(){ try{ ApiClient client = new…