title: Using Sybase ASE BCP to a Remote Server
body: <p>I am using BCP to export/import data sometimes to remote servers where i cannot login into the OS, only connect to the DB. I have success with using BCP to connect to a server like this:</p>
  
  <p>bcp mytester.dbo.MyTable in MyTable.bcp  -S Sybase157 -U sa -P SyAdmin  -n</p>
  
  <p>This of course only works becuase Sybase157 is defined in my sql.ini.</p>
  
  <p>My question:</p>
  
  <p>a) Is it possible to sidestep the whole sql.ini thing and just do something like -S mydb.server.com   or -S 123.123.123.123</p>
  
  <p>and if not....</p>
  
  <p>b) what do i need to add to sql.ini in order to connect to a remote server?</p>