• sqlfriends - Monday, April 24, 2017 9:59 AM

    Thanks for the nice script.

    One question, about the select top 1, is there a reason to use top 1 instead of just select?

    Thanks

    Thanks, it is not important. I am using it just to double check we get one and only one value.