Preserving Leading Zeros in Excel Output
We have alphanumeric data, such as serial numbers (e.g., ‘00123’), that loses its leading zeros when exported to Excel because Excel interprets it as a numeric value. How can I modify the SQL query to force Excel to treat these columns as text, preserving the leading zeros?
7 replies
- You must be logged in to reply to this post.
Sign in with LinkedIn or Google to take part.