Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Pyodbc and sql server, script does not exectue, but does not throw an error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
python junkie  
View profile  
 More options Apr 23 2012, 10:03 pm
From: python junkie <software.buy.des...@gmail.com>
Date: Mon, 23 Apr 2012 19:03:24 -0700 (PDT)
Local: Mon, Apr 23 2012 10:03 pm
Subject: Pyodbc and sql server, script does not exectue, but does not throw an error

We have been using version 2.x pyodbc with python 2.6 for several years
without any known issues.

Recently I have been trying to implement some (perhaps more complex) sql
code and the script reads the sql code,
passes all the way through to the end as fast as it can read the code and
no activity has taken place and there is no error displayed.

I can take the same code, run it in a sql server console to success (the
code takes a couple of minutes to complete)

I can also make a stored procedure out of the code and run in using the
odbc module successfully.

I have tried updating the pyodbc code to version 3.x, but get the same pass
through on the code.

I am using sql 2005 (compatiblity 80).'

Any help would be appreciated.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Kleehammer  
View profile   Translate to Translated (View Original)
 More options Aug 16 2012, 10:46 pm
From: Michael Kleehammer <mkleeham...@gmail.com>
Date: Thu, 16 Aug 2012 19:46:07 -0700 (PDT)
Local: Thurs, Aug 16 2012 10:46 pm
Subject: Re: Pyodbc and sql server, script does not exectue, but does not throw an error

Did you remember commit?  if so, can you provide an ODBC trace?

Also, SQLPrepare wasn't really designed for running a huge batch of things.
 Can you run the file in smaller batches to see if there is a particular
section that causes problems?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »