Home Forums Article Discussions Article Discussions by Author Discuss content posted by Oleg Netchaev Counting spaces with datalength RE: Counting spaces with datalength
benkoskysa
SSC Enthusiast
Points: 149
More actions
March 3, 2010 at 9:25 am
#1127880
Good catch, thank you.
It turns out that @table was empty because I used a database where the sys.master_files table was empty; therefore, no rows for the cte...
Live and learn
🙂