Posts by Guilherme Duarte • 103 points
8 posts
-
0
votes4
answers114
viewsA: Doubt QUERY SQL construction
I think my Query will be more complex than it looks. For all the SQL statements you sent me I made 2 records in each table: Tab1: codigo datap valor 001 10/10/2010 800 001 10/10/2010 1000 Tab2:…
-
0
votes4
answers114
viewsQ: Doubt QUERY SQL construction
I have two TB1 and TB2 tables with equal fields in order to compare the records. The logic is: Query the records contained in TB1, but not contained TB2, considering 3 fields: code, date and value.…
-
0
votes2
answers772
viewsQ: Return JSON PHP POST query
I have this script in PHP, but I can’t see the result of the POST [Body]. It sends a CPF query and should return a json with the data. But nothing appears in the query. <?php $array = '{…
-
0
votes1
answer252
viewsQ: Doubts - Capturing messages in the Selenium IDE
I am building a Test in the Selenium IDE (Chrome extension) to fill out a form and capture the message it returns in case of an error. On the site, when an error occurs, the message I’d like to…
-
1
votes1
answer176
viewsQ: Error accessing string array
I have the following code: #include <stdio.h> #include<stdlib.h> #include<string.h> int main() { char v[]= {'Brasil', 'Alemanha', Japão'}; int i = 0; for (i=0; i<4; i++){…
-
1
votes1
answer258
viewsQ: Problems with update mysql
I have a field from a table that saves the path to a locally stored file. When I run the following command: UPDATE tabela1 set caminho = 'c:\logs\caminho.txt' where cod_tab = 1 it saves without the…
-
3
votes1
answer546
viewsQ: Questions about Recursion in the Mergesort function [C]
I have a question about recursiveness. Actually, I’m not understanding how it works. Come on! I have the following function: void MergeSort (int *V, int inicio, int fim) { int meio; if (inicio <…
-
4
votes2
answers179
viewsQ: Doubt about using the Inner Join
I have 4 tables in my database Tabela Cadastro - idCadastro(PK) - IP Tabela Porta - idPorta(PK) - numero porta - idSwitch(FK) Tabela Porta_has_Cadastro - idCadastro(FK) - idPorta(PK) //Observação:…