2

I am having an issue with some SQL functionality. I found a response that was close but would not exactly work in my situation. So I crafted a question where I copied the little bit of pseudo code that wouldn't work for me from the other response and then asked my question, quoting it. I got a response that Stack Overflow doesn't support "posting of example code":

Richard: Please stop adding demos for your code. Stack Overflow does not support demo functionality for the code you posted here. – Tim Biegeleisen 9 hours ago

What does that mean?

7
  • 3
    Please post your entire error response, word-for-word, that you received from the site when you tried to post code in your question. Commented Dec 25, 2018 at 17:35
  • Yes. The comment about posting "demos". Commented Dec 25, 2018 at 17:39
  • Hovercraft, it wasn't a "site error". See the link to it above. Commented Dec 25, 2018 at 17:40
  • Your question isn't clear as written, and you should state explicitly that the information you're receiving is in comments and not coming from the site itself. Commented Dec 25, 2018 at 17:42
  • @Richard Regarding demos you should at least know what a MCVE is, and how to provide one. Commented Dec 25, 2018 at 17:42
  • Honestly guys, I have no idea what you are talking about. I was just trying to explain why that sample code would not work for me. Commented Dec 25, 2018 at 17:47
  • @RichardBernstein: one problem with your question is that you do not directly notify Tim Biegeleisen that you have comments directed at him, and so he has no knowledge that you have asked a follow-up question. Be sure to pre-pend any comments to him with the @ symbol, e.g., @TimBiegeleisen. Commented Dec 25, 2018 at 17:52

1 Answer 1

23

You misinterpreted this comment.

enter image description here

Tim was telling you that shouldn't be posting your code as a runnable Stack Snippet, since runnable SQL code is not supported in Stack Overflow.

So it's fine to post example code (more than fine, actually), but if you try to post code that's not HTML, JS, or CSS; you should format as code (the button labelled "code sample", not "javascript/HTML/CSS snippet").

The one in the greenish circle, not the one crossed out: enter image description here

5
  • OK. No problem! :). It was never meant to run. It was just a piece of pseudo code to explain the issue. Many sites have special rules about formatting code! Commented Dec 25, 2018 at 17:53
  • 3
    If that is a green freehand cicrle I need a new monitor ...
    – rene
    Commented Dec 25, 2018 at 17:57
  • 3
    @rene Er... greenish? This samsung screen is kinda new and biggish, as soon as you move a little everything looks kinda off. Please, edit the answer with the correct color. Or edit the screenshot so the circle is green(ish). Or buy a new monitor. Whichever is easier and more in line with the holiday spirit.
    – yivi
    Commented Dec 25, 2018 at 17:59
  • 4
    @yivi I'll put a monitor on my wishlist ...
    – rene
    Commented Dec 25, 2018 at 18:01
  • @rene I would tell you the exact model for this one so we could look at the world in the same shade of green, but on top of everything else, is kinda noisy. Put something more expensive on your wishlist. I'm sure you deserve it, or could deserve it eventually.
    – yivi
    Commented Dec 25, 2018 at 18:03

You must log in to answer this question.

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