3

Where a question concerns query performance, how should the query be included in the question if it is very long (tens or even hundred of lines)?

On SO, code posted in a question should be whittled down to just the relevant lines. However, with an SQL query, subdividing it will change the behaviour and performance.

1 Answer 1

6

I would recommend using SQL Fiddle in this situation. It would also be helpful to attempt to use a SQL formatter for a more compact formatting.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .