Good afternoon.
I need to generate an excel file by SQL SERVER. And I need to specify the data type of the cells in that file.
For example, in value cells, set the data type to "R $" for example. In cell with percentage, already set cell data type to "%".
In C # this is done easily, but is it possible to do this in SQL SERVER?
I have the CLIENT table with the following structure:
NOME DATANASCIMENTO VALOR
Thiago Henrique 18-09-1988 52.50
Pedro Diniz 18-09-1988 12.67
I need to generate an excel file that exports this data where in the spreadsheet the NOME
column has the data type with "Text", the DATANASCIMENTO
column has the data type "Abbreviated Date" and column VALOR
have the "Currency" data type
Thank you guys.