Home:ALL Converter>Using extended properties (attributes) to columns in an SQL table for defining how data should be input later on

Using extended properties (attributes) to columns in an SQL table for defining how data should be input later on

Ask Time:2015-09-02T04:54:33         Author:Antonio

Json Formatter

I have never used SQL. I would like to create a table with different columns. Then I would like to create a program which allows the user to insert entries. For each token of the entry, I would like to retrieve from an attribute of the corresponding column the way this particular part of the data entry should be entered. For example, I will have some data retrieved automatically (e.g. the date and time), some for which I will propose the user to insert the last added value, and some for which I will ask the user to explicitly type the value.

I do not know if "Attribute" is the right term; the attributes that I have available for each column at the moment are "Name", "DataType" and "Description"

I want that my program dynamically adapts to the table columns and to the property of each column, especially because I will have several tables to be filled. So my program would check the table columns with their properties, and interact with the user for the creation of a new entry.

Is there a possibility to add attributes to a column? Otherwise I will have to encode the information I need for my program in the "Description" field (aka "MS_Description").

I googled terms like "sql add column attribute", but I could only find results concerning how to add a column to a table.

Author:Antonio,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/32340739/using-extended-properties-attributes-to-columns-in-an-sql-table-for-defining-h
yy