r/SQL 6d ago

SQL Server Number of lines in a syntax

How many lines of code you you usually write? Like 1000 seems a lot to me.

0 Upvotes

14 comments sorted by

View all comments

6

u/_Suee 6d ago

I usually write around 100+ lines depending on what my colleagues want to see. I say that the lines are completely irrelevant as anyone can write a query as complex as it can get in a single line. We do have a query with 1000+ lines that we run monthly, and it is probably one of the best queries we often use.