Hi
When I am trying to create back using below script
I am getting below error.
bcp -a Item_Details out C:\DB\1.dat -n -username -PWD
Warning: Packetsize size must be between 512 and 65535 -- defaulting to 4096.
bcp: unknown option 1
usage: bcp {dbtable | query} {in | out | queryout | format} datafile
[-m maxerrors] [-f formatfile] [-e errfile]
[-F firstrow] [-L lastrow] [-b batchsize]
could you please help to fix this.
Thanks,
amit
What I have tried:
Hi
When I am trying to create back using below script
I am getting below error.
bcp -a Item_Details out C:\DB\1.dat -n -username -PWD
Warning: Packetsize size must be between 512 and 65535 -- defaulting to 4096.
bcp: unknown option 1
usage: bcp {dbtable | query} {in | out | queryout | format} datafile
[-m maxerrors] [-f formatfile] [-e errfile]
[-F firstrow] [-L lastrow] [-b batchsize]
could you please help to fix this.
Thanks,
amit