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

string - Using python and postgres, variables within execute function? -

git - TortoiseGit does not show commit log properly -