I use Microsoft sql server 2014. What I want to do is, to get data from a particular column in my database and store it in a variable. I use SQL and c++ languages, so please give answer according to these. Thanks for any answer!