Posts by Victor Henrique • 53 points
9 posts
-
0
votes1
answer169
viewsQ: Crop a sql server string
How can I cut part of a string, for example : "2017/12/teste.jpg", I only need to pick up "test.jpg".
sqlasked Victor Henrique 53 -
0
votes1
answer729
viewsQ: How to convert a string to JSON object
I get in the @FormParam a text in JSON format, I want to know how to make it a JSON object in Java, so I can manipulate the elements? @Produces(MediaType.APPLICATION_JSON) public String…
-
0
votes1
answer644
viewsQ: java.net.Bindexception: Address already in use: bind
How are you guys? So I have a problem running my WS, I developed in java, at the time of starting it returns me this error along with: at sun.nio.ch.Net.bind0(Native Method) at…
-
0
votes1
answer112
viewsQ: How to transform a string into an array
Good guys, next how can I turn a string into an array? For example: String test = "345,421,888,211"; Explaining the context, these values are Id’s that I concatenated into a string from a grid.…
-
0
votes1
answer320
viewsA: Different server time with PHP
See if this example helps you, because it will vary from where you are, for this just search the Timezone you want. date_default_timezone_set('America/Sao_Paulo');
-
1
votes0
answers19
viewsQ: Event mouseover and onclick event for the same set of elements
Guys, how can I make my mouseover and click, work for a set of elements, in my case an img and two Labels: Image Test <style> .imgImportacao{ width: 150px; margin-top: 10px; margin-left:…
-
0
votes2
answers39
viewsA: It is returning me a rounded number and I do not want ex number 1.99 and not 1.00 or 2.00
dim Qty as double = Val(txtQty.Text) dim Priceperqty as double = Val(txtPricePerQty.Text) i = Cdbl(Qty * Priceperqty)
vb.netanswered Victor Henrique 53 -
0
votes2
answers39
viewsA: It is returning me a rounded number and I do not want ex number 1.99 and not 1.00 or 2.00
Friend, I believe that what is causing the rounding is "Val()" because it is converting a string into an integer numeric value.
vb.netanswered Victor Henrique 53 -
-1
votes2
answers97
viewsQ: LEFT JOIN com having
If I have to use a grouping that involves a field of my table that is related through LEFT JOIN and need to use HAVING, how would it look? I know that in WHERE I can not put because ignores LEFT and…