2009/2/11 Garfield <[email protected]>

>
>  Also in the method where I call the CreateSQLQuery I have:
> sqlQuery.SetMaxResults(5);
>

As I said, what you wrote in the first post, was not the only thing you are
doing...
Ok.
You are using MsSQL2005Dialect and you are setting limits for your query.
The Dialect are managing limits in some way (it has less bugs in trunk).
If you don't like MsSQL2005Dialect you can inherits from it and change it or
you can use the MsSQL2000Dialect.

BTW ... in the second post you are talking about NEWID() and in the query
you sent in the first post there is not a "NEWID".
If you need help, please, try to be more clear as possible.
Thanks.

Fabio Maulo

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

Reply via email to