[sqlalchemy] Re: mssql and offset support

2008-06-04 Thread Rick Morrison
There's offset support in the current sqla mssql driver. It's implemented
using the ansi ROW_NUMBER() OVER construct, which is supported only in mssql
2005 and higher. To turn it on, add the has_window_funcs keyword in the
dburi, or as an engine constructor keyword.

the broken traceback is some as-of-yet unknown issue with pyodbc that
reports the wrong stack trace.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~--~~~~--~~--~--~---



[sqlalchemy] Re: mssql and offset support

2008-06-04 Thread Rick Morrison
er, that's, has_window_funcs=1

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~--~~~~--~~--~--~---



[sqlalchemy] Re: mssql and offset support

2008-06-04 Thread Lukasz Szybalski

On Wed, Jun 4, 2008 at 10:22 AM, Rick Morrison [EMAIL PROTECTED] wrote:
 There's offset support in the current sqla mssql driver. It's implemented
 using the ansi ROW_NUMBER() OVER construct, which is supported only in mssql
 2005 and higher.

Since I am using 2000 I don't think its going to work for me do?!?


To turn it on, add the has_window_funcs keyword in the
 dburi, or as an engine constructor keyword.

 the broken traceback is some as-of-yet unknown issue with pyodbc that
 reports the wrong stack trace.

 




-- 
Automotive Recall Database. Cars, Trucks, etc.
http://www.lucasmanual.com/recall/
TurboGears Manual-Howto
http://lucasmanual.com/pdf/TurboGears-Manual-Howto.pdf

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~--~~~~--~~--~--~---



[sqlalchemy] Re: mssql and offset support

2008-06-04 Thread Rick Morrison

 Since I am using 2000 I don't think its going to work for me do?!?


nope

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~--~~~~--~~--~--~---