Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 WHERE statement length limitation

Author  Topic 

sfjtraps
Yak Posting Veteran

65 Posts

Posted - 2009-03-06 : 12:58:58
Does anyone know if there is any limitation on the length of a WHERE statement. For example, a WHERE statement that has a bunch of OR statements in it (WHERE (this = that) OR (this1 = that1) OR (this2 = that2)........etc)

guptam
Posting Yak Master

161 Posts

Posted - 2009-03-06 : 13:00:54
Nope .. I have seen where statements that are have conditions over 30 columns sometimes. However I haven access puke; but SQL Server I never seen it.

--
Mohit K. Gupta
B.Sc. CS, Minor Japanese
MCITP: Database Administrator
MCTS: SQL Server 2005
http://sqllearnings.blogspot.com/
Go to Top of Page
   

- Advertisement -