Is there a way how to highlight syntax in Notepad++ for SQL when a column name is in square brackets? For example:

SELECT [Product Type]
FROM ...

I would like to see these brackets and text within to have a single color - now the "Type" is a keyword so it has a different color. I know I can use double quotes instead of brackets or define my own language but I am looking only for this adjustment. I googled a lot but I did not find any solution, maybe someone already dealt with the same issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.