Java examples for JDBC:Database Meta Data
Listing the String Functions Supported by a Database
import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.SQLException; public class Main { public static void main(String[] argv) { try {/*from w w w. j a v a 2 s . c o m*/ Connection connection = null; DatabaseMetaData dbmd = connection.getMetaData(); // Get the list of string functions String[] stringFunctions = dbmd.getStringFunctions().split(",\\s*"); } catch (SQLException e) { } } }