'I have table with two columns 1,2. but data retrieved from column2 instead of column1

I have table with two columns 1,2. but data retrieved from column2 instead of column1. when i execute the program data retrieved from colume2 but i need to display the column1 data, I am try to change the stored procedure but there is a so many logics and connection with stored procedure how to display the column1 data with replace of column2 in code part



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source