Created
November 3, 2014 19:56
-
-
Save csdear/e44a968fc7821d6b3468 to your computer and use it in GitHub Desktop.
Preserve leading zeroes when copy and pasting SQL to Excel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--wrap the column name with this... | |
SELECT '="' + dealer_code + '"', dealer_name | |
FROM dealers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment