sql - Exporting select query result -


i did select query on sql server , need basic saving / exporting result. chose not use 'copy headers' option on upper left corner loose leading 0 in of records whenever paste directly excel. resorted using 'save result as' option , saved result in csv , txt. unfortunately, records scattered randomly under different columns. appreciate on this.

in summary..my question is....how save result don't loose leading 0 of query or how copy / paste query result excel don't loose leading zero..or need right when save query in csv or txt, columns not scattered around.

many thanks

copy , paste results, including column headers notepad. save , close file. use excel open file.

in text import wizard, choose delimited - tab. designate appropriate columns text.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -