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...
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!!
Look for "Execute Immediate" 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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.