How do I run a Sybase 12.51 BCP from a .NET application
Posted on 2007-11-16
I think I may already know the answer to this, but I was hoping someone may have a way to execute a BCP command from inside a .NET application.
We are currently using VS 2005 and connecting to Sybase 12.51 running on a Unix server. We have the Sybase PC Client installed on our workstations and we're using the ADO.NET provider to connect to Sybase.
We have a need to move some fairly large csv and flat files to the server. I was hoping there was sometining similar to the MS SQLServer ODBC API that would allow BCP execution from inside the application without the need to shell out. Is there anything loike this available, or is there anything in the native Sybase providers that we could use?