Hi everyone i'm trying to create a table with columns that is more than 128 of text.
is it possible to increase the field name(column) length in SQL Server
Hi everyone i'm trying to create a table with columns that is more than 128 of text.
is it possible to increase the field name(column) length in SQL Server
Were you looking for something like this?
ALTER TABLE YourTable ALTER COLUMN YourColumn nvarchar(256) NULL
You could put in it any number below 4000 otherwise go for nvarchar(max)
https://msdn.microsoft.com/it-it/library/ms190273%28v=sql.120%29.aspx
Your best option would be to use the PIVOT function in SQL Server, and keep the questions numbered 1,2,3 etc. Great example of this is available here