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

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -

angular - DownloadURL return null in below code -