Posts by Joao Pedro • 36 points
5 posts
-
1
votes3
answers2698
viewsA: Using 2 versions of Java
If you know how to edit system variables in windows. The most practical way is to have a variable called JAVA_HOME and in the variable PATH put %JAVA_HOME%/bin Then you only change the value of…
-
0
votes1
answer57
viewsA: javahome installer argument (PSSAV)
You will need to download JDK 6 from the Oracle website and set in your environment variables a variable called JDK_HOME with the path to the root of the folder you saved the JDK and add the…
-
0
votes3
answers102
viewsA: Take Report with zero months
You can also always use a CTE and a CASE (in postgres I always prefer to use CTE’s to improve reading and split kerys WITH consulta AS ( SELECT to_char(fi.data,'yyyy/mm') as Mes, count(fi.*) as…
-
1
votes1
answer45
viewsA: How to shrink a large query - Postgresql
Dude, unfortunately not. Querys often have hundreds or even thousands of lines, it will depend on the size of the database. These are really big files. In Postgres you can better organize the querys…
-
0
votes0
answers28
viewsQ: Use more than one -> in the same PHP code line
I made my transition from Java to PHP and recently bumped into something I used to do in Java but am not able to do in php. The following code creates an object of type "User" public function…