Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

SQL Error

Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have managed to get 2.1.7 working successfully with MySQL, and noticed the thread on MS SQL Server, and as this is our corporate database thought I had better try and use this instead *sigh* but am having a few problems - a lot of the queries refer to a function called ROW_NUMBER() which does not exist in SQL Server 2000?

This might be something specific to SQL Server 2005 (I am investigating) but wonder if anyone has successfully used SQL Server 2000, and how the managed it?

Excellent product, by the way



[originally posted on by cparsons]
Migrated From
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you've probably seen... I'm using 2.1.6 with the Torque DOA on both MS SQL V7.0 (sigh) and MS SQL 2000. So it is possible.

I haven't dug into the native MS SQL queries for a while, but the biggest issue I remember was that MS SQL does not support queries with limit and offset options (e.g. Start at offset x and only return a limit of y rows). I would imagine the Row_Count() function is being used to simulate these.

You might be able to simulate this another way for MS 2000. I know there are a bunch of sites that talk about ways of doing LIMIT and OFFSET (and each with their own quirks).
[originally posted on by monroe]
    Bookmark Topic Watch Topic
  • New Topic