Ryan_Chynoweth
Databricks Employee
Databricks Employee

I think there is an `executeQuery()` function that also works and returns a resultset. Something like this (I have not tested though):

conn = DriverManager.getConnection(url, username, password);
stmt = conn.createStatement();
sql = "SELECT * FROM mytable";
rs = stmt.executeQuery(sql);

View solution in original post