Built-in functions LAG and LEAD should be regognized as functions by syntax highlighting
Since Sql Server 2012, the built-in functions LAG and LEAD has been supported, but as of SSMS v17.2, they are not highlighted with pink color as other functions in the text editor.
Upvotes: 4<=-=Nov 7 2017 2:18PM=-=>
thanx for the report! We’ll try to address this in a future release
Gabriel Flores commented
this is resolved now in ssms 18