Possible Duplicate:
Maximum size for a SQL Server Query? IN clause? Is there a Better Approach
I Googled for a while and can't find whether there's some hard limit on how huge query strings can be in SQL Server. I mean what if I build a 100 million character query - will it run or will the server just drop it as too long?
Is there a limit to how long SQL query can be (in terms of characters or tokens or whatever like that) in SQL Server?