Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

schema_table.py 421B

1 year ago
123456789101112131415
  1. """call using an open ADO connection --> list of table names"""
  2. from . import adodbapi
  3. def names(connection_object):
  4. ado = connection_object.adoConn
  5. schema = ado.OpenSchema(20) # constant = adSchemaTables
  6. tables = []
  7. while not schema.EOF:
  8. name = adodbapi.getIndexedValue(schema.Fields, "TABLE_NAME").Value
  9. tables.append(name)
  10. schema.MoveNext()
  11. del schema
  12. return tables