Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.71 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.71 KB

Convert SQL Server Management Studio query results to HTML table

You can use this functionality at https://sandersade.github.io/SqlManagementStudio.PasteAsHtml

Introduction

I have needed the results from SQL Server Management Studio quite often for displaying as a table - whether to display in a website or chat programs that support HTML tables. This has been a pain - save in Studio as CSV, open in Excel, save as HTML.

This projects takes the output from SQL Management Studio query results (right click --> Copy or Copy with headers) and converts the output to basic HTML table that you can style as needed, or just copy-paste as-is.

Features

  • Does not send any data to backend/server, pure HTML/CSS/JS frontend functionality
  • Supports table headers
  • Automatically encodes HTML critical entities to avoid script injection or display issues
  • Copy results either as HTML table code suitable for web pages or as HTML element for pasting into rich text clients
  • Works also with direct copy-paste from Excel

Click on image for larger screenshots

image

image

Copy-paste from Excel

image

image