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

Are these types of questions allowed on Stack Overflow?

share|improve this question

3 Answers 3

up vote 6 down vote accepted

SQL is an accepted topic, so I imagine that a good scenario is to isolate the actual problem you're trying to address, and frame the question around that instead of just "make this work". This should make it acceptable. Make sure to include your current SQL query as a code block and explain what you've tried and what is failing.

By focusing on the problem that is trying to be solved, you help other users that have the same concern to find the solution, even if they don't have the same query structure that you specifically wrote. And, even as you think about the rephrasing, you may even find an existing question that solves the same problem.

share|improve this answer

I don't like the title, but so long as their is a technical/code/syntax type of question involved, yep...

If the title is really what the question is, it'll be downvoted and closed. In general, the give me da codez questions aren't very popular amongst the users.

share|improve this answer
1  
Agreed. Effort needs to be put into questions - it helps everyone all around. As an asker, you'll get your answer faster with less need to elaborate on everything. As an answerer, you'll have to be bothered by less need for clarification. As a spectator, you will more easily find the same questions. When it's just "help me with this code", you lose all of these. –  Grace Note Jan 31 '11 at 15:49

I think the question is:

Has the user asked something like: "I have three tables in a database that look like this. I'm trying to do XYZ, but when I run this query code, the results come out like this. How can I find the data I'm looking for, in the structure I need?"

Or was it something like: "Here is my 300-line SQL query, it won't work, plz gimme teh codez."

So I guess what I'm saying is, the rules for SQL are pretty much the same as any other language.

share|improve this answer

You must log in to answer this question.

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