>Edward,
>
>I tried that before I posted my message, the values for the variables are what they are supposed to be.
>
>Perry
Personally, I don't believe in miracles. The next step you could do is typing those values directly to Select-SQL code and run it again.
Edward Pikman
Independent Consultant