I run a technical blog, so it is necessary to put code in almost every post. Most of the GUIs we use to do our work (let's say SSMS or Visual Studio) already provide this functionality, but when you copy and paste the code to the blog, you need to format it first, to pass from this:
DELETE FROM database1.schema1.table1 WHERE column1=valuex
/* generic comment */
SELECT * FROM database2.schema2.table2 WHERE column2=456
To this:
These are some sites I use:
DELETE FROM database1.schema1.table1 WHERE column1=valuex
/* generic comment */
SELECT * FROM database2.schema2.table2 WHERE column2=456
To this:
1 2 3 | DELETE FROM database1.schema1.table1 WHERE column1=valuex /* generic comment */ SELECT * FROM database2.schema2.table2 WHERE column2=456 |
These are some sites I use:
Comments
Post a Comment