Trainee
Date of registration: Mar 13th 2009
Location: Oberirsen - Germany
Occupation: Senior Software Engineer
Hobbies: Programming aund Photography
Jabaco Source |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Dim Con As java#sql#Connection Dim Order As java#sql#Statement Dim Data As ResultSet 'Load the JDBC-ODBC driver Class.forName "sun.jdbc.odbc.JdbcOdbcDriver" 'Create connection to the database test Set Con = java#sql#DriverManager.getConnection("jdbc:odbc:test") 'Create a statement and send the command to the database Set Order = Con.createStatement Set Data = Order.executeQuery("SELECT * FROM employee;") 'Print the result Do While Data.next() java#lang#system.out.println(Data.getString("Emp_Name")) Loop 'Close the connection Con.close |
Trainee
Date of registration: Mar 13th 2009
Location: Oberirsen - Germany
Occupation: Senior Software Engineer
Hobbies: Programming aund Photography
Trainee
Date of registration: Jul 11th 2014
About me: A beginner programmer.
Location: ...Jabaco Academy
Occupation: i have some but still not enough...
Hobbies: Jabaco
Source code |
|
1 |
Set Order = Con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY) |