• Thanks again Matt...

    It is working great now ! I was struggling with username/password and alias.

    I have two additionnal question is you have time :

    1) By any chance, do you know what is the best way to "not show" the password on the command line (-P) ? Currently I'm testing it with the SQL username/password but I'm wondering if I use it with Windows authentication, would be the only way to achieve it ?

    2) I'm using the "queryout" option and I'm wondering if there is a way to use a dynamic file name like the current date instead of having the same name. Because this query will be executed every night and I would like to change the name every night so the user can go back and pick the right day he needs.

    Many thanks in advance once again...your help is greatly appreciated.

    Best regards,

    Rob