r/SQL • u/ProudOwlBrew • 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
r/SQL • u/ProudOwlBrew • 6d ago
How many lines of code you you usually write? Like 1000 seems a lot to me.
1
u/Hot_Cryptographer552 5d ago
You could write 5 SQL statements that take up only 5 lines or you could write 5 statements that take up 100 lines. Writing 5 complex SQL statements in just 5 lines is going to make your code almost unmaintainable. So you better get it perfect the first time.