cfquery - tsql - set rowcount and cfqueryparam
I created a simple t-sql query inside <cfquery> tags. I used t-sql "Set RowCount" instead of "Top" to limit the rows returned to 1 row. The query contained two <cfif> blocks to determine a value in the Where clause, and it also used <cfqueryparam> tags to ensure right values/datatypes.
Although I received no error when I ran the CFML script, I noticed that the "set rowcount" command did not work. If I remove the <cfqueryparam> tags, then the "Set Rowcount" command works.
My reason for posting is to see if anyone else has had this experience with "Set RowCount" and <cfqueryparam>. I can find no documentation for this phenomenon. Thanks in advance ....
Eli ...
