sql server - How do math functions affect the number of identifiers in an expression? -


i have calculation inside case statement structured this:

sqrt(power()+power()+...x84)  

that's 84 power functions. keep getting error:

internal error: expression services limit has been reached. please potentially complex expressions in query, , try simplify them.

i understand limit of identifiers in expression 65,535, mine seemingly doesn't come close that. functions change effective number of identifiers in expression?


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -