getting complete sql query in jython

Posted by kdev on Stack Overflow See other posts from Stack Overflow or by kdev
Published on 2010-03-31T03:19:49Z Indexed on 2010/03/31 3:23 UTC
Read the original article Hit count: 199

Filed under:
result=sqlstring.executeQuery("select distinct table_name,owner from all_tables ")

rs.append(str(i)+' , '+result.getString("table_name")+' , '+result.getString("owner"))

If i want to display the query select * from all_tables or ' select count(*) from all_tables'

how can i get the output to display . Please suggest thanks

© Stack Overflow or respective owner

Related posts about jython