Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hpux
  • Order by date
  1. hpux

    how can I print a specific line number in a file???

    Hi Guys Check this out!! I guess it will work in all flavours of UNIX FILE_NAME=$1 LINE=$2 grep -n '' $FILE_NAME|awk ' BEGIN{ FS=":"}{if ($1==LINE_NO) print $0}' LINE_NO=$LINE|cut -d : -f 2 Copy the above code in script_file and make it executable. Then run it by providing...
  2. hpux

    JDBC and scrollable result set

    I am 99 percent sure that Oracle doesn't support Scrollable cursors. So in your case its not a problem of JDBC. I know Informix supports scrollable cursors... Bad news !!! But cant help it. But I am sure Java can handle it programmatically..(through good old array manipulation!!!) Happy coding!!
  3. hpux

    Can procedure support CREATE TABLE and CREATE INDEX?

    Look for &quot;Execute Immediate&quot; command in Oracle8i.<br>This is better than dbms_sql package.<br>U just have to prepare the command string.<br><br>For example <br>sql_stmt varchar2(256);<br>sql_stmt = 'Create Table .....'<br>Execute immediate sql_stmt;<br><br>This will do the job<br>This...

Part and Inventory Search

Back
Top