Sir, you must understand that SSMS or any SQL Editor is SQL Editor, not HTML editor, therefore it will not keep any formatting, indents etc. You will have to enter html code inside ' ', and use the TAB button to create indents for yourself. Like: Insert '' union all Insert ' This is a div element' union all Insert ' So use TAB button to create indents and use HTML code inside SQL code, not just HTML copied from VSCode. Thanks
Excel file: docs.google.com/spreadsheets/d/1yXErU2jVp9OBsAPbxEdi2qPu_0RJHxcL/edit?usp=sharing&ouid=110287700425339553017&rtpof=true&sd=true
Your video tutorials are so creative. I benefit a lot from each video, both in terms of skills and inspiration. Thank you.
Thanks. Thats very kind of you. I try to share what I am working on and find it to be unique.
The indentations of the HTML code were lost after pasting it from the VSCode editor. How can this issue be resolved? Thanks.
Sir, you must understand that SSMS or any SQL Editor is SQL Editor, not HTML editor, therefore it will not keep any formatting, indents etc. You will have to enter html code inside ' ', and use the TAB button to create indents for yourself. Like:
Insert '' union all
Insert ' This is a div element' union all
Insert '
So use TAB button to create indents and use HTML code inside SQL code, not just HTML copied from VSCode. Thanks