Пример #1
0
        public DataTable columns(String table)
        {
            QueriesExecute obj = new QueriesExecute();
            String         cmd = " select COLUMN_NAME from ALL_TAB_COLUMNS where TABLE_NAME = '" + table + "'";
            DataTable      dt  = obj.select(cmd);

            return(dt);
        }
Пример #2
0
        public DataTable selectCmd(String table)
        {
            QueriesExecute obj = new QueriesExecute();
            String         cmd = "Select * from " + table;
            DataTable      dt  = obj.select(cmd);

            return(dt);
        }