• Thanks Gail for correcting me as it only works for SQL Server 2008