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 "isql -b" option

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-28-08, 07:31
tucs_123 tucs_123 is offline
Registered User
 
Join Date: Dec 2008
Posts: 8
need help on "isql -b" option

Hi,

When I use "isql -b" option from prompt,it works fine to remove dashed lines and headers.But when I connect to Sybase through script,with "isql -b" option,it says illegal option,listing all options available with isql.

Can someone help me on above issue to remove dashed lines present in the ouput of sybase query result using script.

Thanks in advance.......
Reply With Quote
  #2 (permalink)  
Old 12-28-08, 13:53
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,294
This is a guess:
You might find that you're running slightly different isql commands when you run at the command prompt and in your script. Use the whereis command before at the command prompt and in your script and see if the location of the isql command is the same. If it's different then use the full path to the command that works in your script.
Code:
whereis isql
Reply With Quote
  #3 (permalink)  
Old 12-29-08, 03:17
tucs_123 tucs_123 is offline
Registered User
 
Join Date: Dec 2008
Posts: 8
Unhappy

Hi,

I was using the full path only.....still it throws above error.....
Reply With Quote
Reply

Thread Tools
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