-2
I have a problem in exporting data to Excel, the number recorded in the database and very large generating several strange characters in the conversion that Excel tries to do, so I need to send it thus:'51150547067525018740550080000038621721439107'
Original value: 51150547067525018740550080000038621721439107
How could I have this exit?
select CONCAT( CAST (nf.chave AS VARCHAR(255)),'*') from NF nf
Current result: 51160307053693005199550510000032181665018130*
@cat, what was the problem of the question?
– Harry
I wasn’t the one who objected, I just edited your question.
– gato
@cat, ok, I’m already used to it, so much so that I have other options that I started using more due to this, is already getting exhausting using the forum
– Harry
What was the original value, which after formatted, generated the cited result?
– Woss
@Andersoncarloswoss, adjusted the question
– Harry
So what you need to do is remove the asterisk at the end and put in simple quotes?
– Woss
@Andersoncarloswoss, I wish it had single quotes two two sides, I put * because this way Excel can not change the format of the field
– Harry
@Andersoncarloswoss, I found the solution, but thank you for your help
– Harry