Using VB.Net application
Creating a CSV file from SQL output in the application
When i open the csv into xls or xlsx file, i am getting a column as 1.02141E+15
instead of 123456789
In SQL, When i add the below line in front of number
Select '''' + 123456789 from table
Then I am getting output with single quote as '123456789
in xls file instead of 1.02141E+15
. I have tried with '' + 123456789
and ' ' + 123456789
but result is same as 1.02141E+15
User don't want to format the excel sheet manually
What is the best input character pass to the query column to view the number properly in xls file like 123456789 with out any single quote or character