Listing the Numeric Functions Supported by a Database - Java JDBC

Java examples for JDBC:Database Meta Data

Description

Listing the Numeric Functions Supported by a Database

Demo Code

import java.sql.Connection;
import java.sql.DatabaseMetaData;

public class Main {
  public void main(String[] argv) {
    try {/*from   ww  w  . j  av  a  2 s  .  co m*/
      Connection connection = null;
      DatabaseMetaData dbmd = connection.getMetaData();

      // Get the list of numeric functions
      String[] numericFunctions = dbmd.getNumericFunctions().split(",\\s*");
    } catch (Exception e) {
    }
  }
}

Related Tutorials