• Frank,

    Unfortunatly this is not the point.

    Of cours I can call system command out of Delphi.

    But what I have to do is programatically send the data to SQLServer (i.e via bcp_sendrow) as I've done in C programmming language.

    The main problem why your solution is not working is the fact that on my application server I do not have SQL client installed (i.e. no BCP.exe) just only MDAC (ie.e ODBC and OLDB).

    Of cours I can generate separated inserts but it does not make sense to do for several thousends of rows. It's just too slow.

    I cannot use bulk insert neither because I am accessing the SQLServer over SOCKS server and that one does not allow file mapping.

    I could do this task in C but I just simply don't want to use several programing languages for the same project.



    Bye
    Gabor