Who told you that tail... I have hear of stories being told around the camp fire.... but....
I have never heard of this one....
Please correct me if I am wrong..!
I very

!
Please review the following code that uses the oracle jdbc driver CLASSES111.ZIP. This file must be in you CLASSPATH.
The following code works with JDK1.3 on NT and Oracle 7.3.4 on unix.
<code>
import java.sql.*;
public class CreateCoffees {
public static void main(
String args[]) {
String url = "jdbc

racle:thin:@S0030947:1521:ispd1";
Connection con;
String createString;
createString = "create table COFFEES " +
"(COF_NAME varchar(32), " +
"SUP_ID int, " +
"PRICE float, " +
"SALES int, " +
"TOTAL int)";
Statement stmt;
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
}
catch(java.lang.ClassNotFoundException e) {
System.err.print("ClassNotFoundException: ");
System.err.println(e.getMessage());
}
try {
con = DriverManager.getConnection(url, "userid", "password");
stmt = con.createStatement(); stmt.executeUpdate(createString);
stmt.close();
con.close();
} catch(SQLException ex) {
System.err.println("SQLException: " + ex.getMessage());
}
}
}
</CODE>
------------------
We learn more from our mistake's than from our success's.
[This message has been edited by Monty Ireland (edited October 16, 2000).]