Posts by Henrique Fernandes Cipriano • 156 points
4 posts
-
1
votes2
answers104
viewsA: Sql file or direct in the database
I suppose when you say it manually, you mean the command line. This comes down to just how you enter the information, there is no better or worse, do what suits you best (usually cl). Regarding…
-
0
votes2
answers132
viewsA: Conditions in the SQL
To bring all products and unit case products exists some unit 0.98, just use the clause EXISTS by means of a sub-consultation: SELECT produto.cd_prod, produto.descricao, unid_prod.qtde_unid,…
-
2
votes3
answers82
viewsA: Error while traversing vector
The second is iterates over its vector up to index 3. When accessing the vet[a] index when a is equal to 3, this exception is launched. This means that the vet vector does not have the 3. This can…
-
1
votes3
answers79
viewsA: How to define an attribute to the parent form of a given input?
var inputs = $("input[name=_method]"); if(inputs.length > 0) { var form = inputs.parent(); form.attr("action", "/post/12"); form.submit(); } …
jqueryanswered Henrique Fernandes Cipriano 156