Java - Io. Java - Sql. : Void Int
Java - Io. Java - Sql. : Void Int
*;
2. import java.sql.*;
4.
7. {
8. System.out.print("*");
9. }
10. System.out.println();
11. }
20.
21. try
22. {
23. Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
25. st = con.createStatement();
26. bin = new BufferedReader(new
InputStreamReader(System.in));
27. while(true){
34. ch = Integer.parseInt(bin.readLine());
35. if (ch==1)
36.
37. {
39. rm = rs.getMetaData();
41. myLine();
43. {
44. System.out.print(rm.getColumnName(i)+"\t\t");
45. }
46. System.out.println();
47. myLine();
48. while(rs.next())
49. {
53. }
54. System.out.println();
55. }
56. myLine();
57.
58. }
60. {
61. do
62. {
73. }while(eno.equalsIgnoreCase("y"));
74. }
85.
86. }
88. {
93. }
95. {
96. bin.close();
97. con.close();
98. System.exit(0);
99. }
100. }
101. }
102. catch(Exception e)
103. {
105. }
106. }
107. }