• Thanks, skjoldtc!

    When you said that I checked my compatibility level on the database I ran the queries on and they were set to 80 which is why I got zeros when I ran the queries.

    If it was easy, everybody would be doing it!;)