To our regret, I cannot understand your reply... I install freetds with option '--with-tds-ver=7.0 '. But it cannot execute query containing unicode string(Korean).. And ... what does "a packet trace of a query" mean ?? Sorry for bad english and chicken head....^^;