Hi there,
I'm running the following query (SQL Server2000):
select claim#,y.proc1,qty1,y.proc2,qty2,y.proc3,qty3
from claims_tables,
udf_claim_procs(claim#) y
udf_claim_procs is a user-defined function accepting one parameter claim# which is a primery key for claims_tables,
and returning a table containing 1 row:
proc1,qty1,proc2,qty2,proc3,qty3
I get an error message
'claim#' is not a recognized OPTIMIZER LOCK HINTS option.
No explanations have been found on Microsoft.com
If I explicitly enter claim# like '123456' the query works fine. I use UDFs returning a value in the same way and do not have any problems.
Any ideas? Your help is greatly appreciated
I'm running the following query (SQL Server2000):
select claim#,y.proc1,qty1,y.proc2,qty2,y.proc3,qty3
from claims_tables,
udf_claim_procs(claim#) y
udf_claim_procs is a user-defined function accepting one parameter claim# which is a primery key for claims_tables,
and returning a table containing 1 row:
proc1,qty1,proc2,qty2,proc3,qty3
I get an error message
'claim#' is not a recognized OPTIMIZER LOCK HINTS option.
No explanations have been found on Microsoft.com
If I explicitly enter claim# like '123456' the query works fine. I use UDFs returning a value in the same way and do not have any problems.
Any ideas? Your help is greatly appreciated