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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -