Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8183831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:17:23+00:00 2026-06-07T01:17:23+00:00

I recently started using a Windows 7 box. I am trying to query a

  • 0

I recently started using a Windows 7 box. I am trying to query a Sybase database using 32-bit ASE drivers (Adaptive Server Enterprise). The Sybase client installed on the machine is v15.5.

The issue is that when I query for small data I get correct result but if the result expected is more than 40 rows I am getting an error.

  >>> x = smd.Query("select ric_code as ric, weight, adjusted_weight as adjweight,
  currency as currency, close_price as last from v_temp_idx_comp where index_ric_
 code='.HSI'")
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "s:\quant\python\v1.0\smd.py", line 15, in Query
     result = x.fetchall()
 pyodbc.Error: ('HY000', 'The driver did not supply an error!')

I am not sure how to resolve this error. What steps can I take to debug this further? Can I use some command line tools to investigate further? how about isql? Will they use same underlying drivers?

FYI, there is no issues with the query. The query works very well on my previous machine which used Merant driver.

Any suggestions are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T01:17:24+00:00Added an answer on June 7, 2026 at 1:17 am

    I just came across this post of yours because I was running into the exact same issue. (Windows 7 and Sybase ASE 15.5 [only python 2.7.2 in my case].)

    I think I just figured out my problem: one of the columns in the table I was querying was defined as having “bigint” data type. Since this is a new table for me, I dropped the table and recreated it using only “int” as the data type, and now it works just fine. I was lucky because it turned out that I really don’t need the extra capacity of the “bigint” type — “int” is enough for what I’m doing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently upgraded my web server to Windows 2003 R2 Enterprise 64 Bit. Now
I recently started using the Yii framework trying to learn a little bit more
I have recently started a tutorial to learn how to code GUI using Windows
I recently started using LINQ to SQL in my database later for a C#
I recently started using the updated beta tools for Windows Phone 7 and ran
I just recently(actually today) started using Eclipse CDT for windows. Created a project, a
I’ve recently started learning IOCP on Windows and been reading the following article: http://www.codeproject.com/Tips/95363/Another-TCP-echo-server-using-IOCP
I recently started using rspec and factory_girl and I'm working on a basic control
We recently started using AnkhSVN subversion plugin for Visual Studio. Everything is working as
I recently started using jQuery/AJAX for submitting data to my PHP API. Currently what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.