stuart-d2
11/3/2014 - 7:56 PM

Preserve leading zeroes when copy and pasting SQL to Excel

Preserve leading zeroes when copy and pasting SQL to Excel

--wrap the column name with this...
SELECT '="' + dealer_code + '"', dealer_name 
FROM dealers