• WTF is tblUsers?

    It can be a table or a view or nothing.

    If it is anything defined (table or view) it can be empty (0 rows returned), it can contain just 1 row (1 row returned) or it can contain more rows (2 rows returned).

    With these assumptions - three answers possible - tblUsers is undefined and the script returns an error message. QED



    See, understand, learn, try, use efficient
    © Dr.Plch