Today I figured out on a problem during flashing an ESP32 WROOM dev board, during upload of firmware I received MD5 does not match. I performs many test: I realize that there is something that does not grant to write to flash. I just thinking to replace FLASH on board when I found this solution […]
Category: DEVELOPER
DB2 UDF
CLASSPATH=/opt/ibm/db2/V11.1/java/db2java.zip:/opt/ibm/db2/V11.1/java/sqlj.zip:/opt/ibm/db2/V11.1/java/db2jcc.jar:/opt/ibm/db2/V11.1/java/db2jcc_license_cu.jar /opt/ibm/db2/V11.1/samples/java/sqlj File UDFJsrv.java import java.lang.; // for String class import java.io.; // for …Stream classes public class UDFjsrv{// scalar UDFpublic static double scalarUDF(String inJob, double inSalary)throws Exception{double outNewSalary = 0.00; } } compila con javac UDFjsrv.java copia .class in /home/db2inst1/sqllib/function/ esegui lo script per creare la UDF “db2 -td@ -vf <script name>” Test la […]