sql server - How can we change the default settings for Save Query result to File in SSMS -


ssms seems missing option configuring "exporting query results file"

please there way can configure this?

the default export query results file:

  • lacks tab separated column
  • adds summary row
  • adds header columns
  • adds annoying header underline

if alter these defaults, the query results file output reusable simple bulk insert [table] 'file path' statement

enter image description here

ssms export same things defined (and displayed) if run result text. in fact, can define under menu point result text , work both.

if missing here, can use bcp (more infos here) or powershell export data table, view or procedure.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -