Storing unknown datatype in MS SQL Server Database -


does 1 has idea of whats best practice store unknown data type in table. need store types bit, smallint, int, real , nvarchar in same "value" column, later interpretation .net application.

i trying achieve best possible solution not compromise performance or growth of database.

any suggestions?

thanks in advance!

varchar(max) easiest way this.

sql_variant designed purpose use it, read books online entry ensure it's going want.

http://msdn.microsoft.com/en-us/library/ms181071.aspx


Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

silverlight - Applying a style to ItemContainerStyle in C# -

php - Posting PHPBB Forum Thread/Post info in a website -