// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.sql.Connection;
import java.sql.DriverManager;

public class GetFunctions {
    public static void main(String[] args) throws Exception {
        Class.forName("com.mysql.jdbc.Driver");
        Connection con = DriverManager.getConnection("jdbc:mysql://localhost/Test", "root", "");
        System.out.println(con.getMetaData().getNumericFunctions());
        System.out.println(con.getMetaData().getStringFunctions());
        System.out.println(con.getMetaData().getSystemFunctions());
        System.out.println(con.getMetaData().getTimeDateFunctions());
    }
}
