how to store data form a column in sql server to array?