Bookmark Topic Watch Topic
  • New Topic

hOW TO EXCEUTE sQLPLUS AND SQL COMMAND USING JAVE

 
anilellendula kumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hai!

col table_name heading "Table|Name"
col column_name heading "Column|Name" format a25
select table_name,column_name from all_tab_columns
where rownum<11;

this sql and sqlplus command kept in TextFile, i want to call this textfile using java and connect to the database using JDBC can u help me the code of the JDBC to get the result of sql and sqlplus commands textfile
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please continue this in your previous post rather than creating a new one.
[ September 09, 2005: Message edited by: David O'Meara ]
 
    Bookmark Topic Watch Topic
  • New Topic