Well... I am not very good at writing queries and I see you aren't either.

That is why I suggested the TraslateName() UDF. IF you feed it a NetBIOS name, and ask it to translate to say... DN, you can then test the result returned in the array.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.