I have an SQL Fiddle here: http://sqlfiddle.com/#!18/2ab05d/69
The code runs for me in SSMS SQL 2016, but it will not run within SQL Fiddle
Any way to fix it?
Thank you,
Lindsay
I have an SQL Fiddle here: http://sqlfiddle.com/#!18/2ab05d/69
The code runs for me in SSMS SQL 2016, but it will not run within SQL Fiddle
Any way to fix it?
Thank you,
Lindsay
It looks like a bug in http://sqlfiddle.com.
Your code runs fine on SQL Server 2016 in https://dbfiddle.uk though, so you could just switch to that one.
Demo: