Both of these examples will work on SQL Server 2014 to 2019 I haven’t tested on earlier versions as those are out of support.
Follow us on
Twitter – https://twitter.com/tipsforitpros
Facebook – https://www.facebook.com/TipsforITPros
Take the opportunity to connect and share this video with your friends and family if you find it useful.