If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Need help on bcp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-19-11, 01:54
sivoua sivoua is offline
Registered User
 
Join Date: May 2011
Posts: 1
Need help on bcp

Hi folks,
Anyone please guide on usage of bcp in sybase.

i need to call bcp in a storedprocedure.
we can execute bcp using xp_cmdshell from sql server managment studio in sqlserver.

is there any similar technique available apart from calling bcp from command prompt?
Reply With Quote
  #2 (permalink)  
Old 05-25-11, 16:22
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 1,268
xp_cmdshell is also available on Sybase ASE
Reply With Quote
  #3 (permalink)  
Old 05-30-11, 08:48
ishu.cs ishu.cs is offline
Registered User
 
Join Date: Mar 2008
Posts: 59
xp_cmdshell is usaualy used to execute the OS commands from database prompt.

BCP is a utility that can be used from OS prompt.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On