Usando la siguiente función DBMS_UTILITY.GET_TIME. ya que devuelve la hora actual en centésimas de segundo.
Posts Tagged ‘database’
Medir el tiempo de ejecución en PL/SQL
Posted: 8th August 2011 by Jak in Database, Oracle, PL/SQLTags: base de datos, database, oracle, pl, sql
Para convertir un dato tipo clob a otro tipo string en java se pueden usar varias formas: 1.- La mas simple: rs.getClob("campo").getSubString(1,(int)rs.getClob("campo").length()); 2.- Con un metodo: public static String clobStringConversion(Clob clb) throws IOException, SQLException { if (clb == null) return ""; StringBuffer str = new StringBuffer(); String strng; BufferedReader bufferRead = new BufferedReader(clb.getCharacterStream()); while ((strng=bufferRead […]