I want to get this information for mysql table using c #
1) Full definition of columns, including name, size and data type, as well as additional information such as null / not null, unsigned, auto increament, default values, if the data type is an enumeration, accepted values
2) All restrictions - primary / external / check / unique
3) All indices
I can get the basic information associated with the column using the query "describe table_name" in the database.
but how to get all this information?
Regards, Anjan
anjan source
share