Quantcast
Channel: Latest Questions on SQL Server Q&A from the SQL Server Central community
Viewing all articles
Browse latest Browse all 11276

handel nested SQL statement in sql server

$
0
0

Hi,

My procedure has large query syntax ,many "nested if else" when i create it on one SQL server server get below error:

Some part of your SQL statement is nested too deeply. Rewrite the query or break it up into smaller queries.

but when i create that on another server,that is created without error ,i know the procedure has poor performance but why that is created correctly on another server

Does it depend on server config or database feature ?


Viewing all articles
Browse latest Browse all 11276

Trending Articles