sql - what should be the datatype of field to store arrays -


i want store array (say example 20*20) in ms sql server,then should datatype of same? table test , fields id,focus,name. want store arrays in focus field. please tell me how that

you shouldn't.

you should create separate table (eg: testfocus) row each element of array, , foreign key test table.

see https://en.wikipedia.org/wiki/database_normalization


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -