SQL bulk insert using bcp between servers through script without using linked server.
I'm trying to use the following queries:
bcp AdventureWorks.dbo.BuildVersion out Currency.dat -U sa -P 123456 -c -[cespl-pc130]
bcp AdventureWorks.dbo.BuildVersion in Currency.dat -U sa -P 123456 -c -[cespl-pc83]
I am getting the following error:
Msg 102, Level 15, State 1, Line 1 Incorrect syntax near '.'.
Is it the right way to do?
Explain the possibilities to do the bulk data transfer between servers.