What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

I am always struggling when asking SQL questions. How are we supposed to ask questions related to SQL including table definitions and code examples? Is there a jsfiddle.net equivalent for sql that works for this matter?

share|improve this question

1 Answer 1

Yes there is a site http://sqlfiddle.com/ which is equivalent for SQL. But don't just add its link. You should add table structure and your present code. If you want to format your table you can use this tool: Format Text as a Table.

share|improve this answer
1  
excellent, thank you –  Alp Jun 17 '13 at 7:57
4  
+1 And one other point to the OP. Don't forget to tag the RDBMS and version. –  Martin Smith Jun 17 '13 at 12:19
1  
OMG I love that Format text tool ! –  Hugo Dozois Jun 17 '13 at 14:23
2  
It's worth pointing out that SQL Fiddle has a "Markdown Output" option for returning your queries. This was built with the intention of making it easier to post the full details onto SO questions. Just use the little dropdown arrow next to the "Run SQL" button to use it. –  Jake Feasel Jun 17 '13 at 18:16

You must log in to answer this question.

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