Comments
3 comments
-
No-one got anything for me? This is a BUG. OK it's an old version, but I can't upgrade because I need to talk to SQL/2000, and more recent products don't do that.
I have a workaround, but it's ugly.
Would be nice to think someone might at least have a look... -
Hi, thank you for your forum post.
Is there any information in the following Internet articles help resolve this problem?
https://stackoverflow.com/questions/11420535/issue-using-variable-and-top-clause
https://blog.sqlauthority.com/2013/03/22/sql-server-fix-error-1060-the-number-of-rows-provided-for-a-top-or-fetch-clauses-row-count-parameter-must-be-an-integer/
https://raresql.com/tag/the-number-of-rows-provided-for-a-offset-clause-must-be-an-integer/
I suspect that you may have something incorrect in your query to the view you have configured.
Many Thanks
Eddie -
No - same happens even if no query involved.
Data Generator version 3.1.5.709.
Use identical table as data source for target table.
Specify number of rows by "Same as mapped data".
Generation fails with aforementioned SQL error.
To my mind, it shouldn't be generating a 'TOP' clause at all in this case.
Add comment
Please sign in to leave a comment.
Where is this 'TOP clause' coming from? I'm not (knowingly) restricting the number of rows to read/write.
Any help much appreciated.