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
Post a Comment