Using ADO, you can read the field names of any table you can query. Essentially, you first open a connection to the database. Next using a query that selects the desired fields, you open a recordset that contains the details of the data you're fetching. Using this recordset you open each field and read properties that give you such information as the field's value, name and actual size.
Let me know the version of LV are you're using and I can send you a VI that shows the basic process.
Alternately, SQL databases maintain in insternal system tables the structures of objects you create--including the definition of tables. Typically you can query those tables for objects in your own schema.
Mike...