e.g. from VFP
! /N bcp Npanxx_2000.dbo.geofnl out c:\temp\geofnl.txt -c -t, -T -S192.168.253.145
where:
! /N - is a VFP call for running a cmd
Npanxx_2000.dbo.geofnl - database name.dbo.table name
c:\temp\geofnl.txt - txt file path to export to
-c -t, -T -S - switches (explained all over)
192.168.253.145 - server IP address where the SQL database resides
commented on Aug 4 2011 4:26PM