I’m not sure where to post the code, I don’t want to make anyone irritated, but I need legit help with my SQL. Is this the right place? If not, what is the right community?

  • WontonSoup@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Ask if but we’re likely going to need to see the table structure unless it’s really generic

    • Brownian Motion@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      The mantra from IRC and all over the internet for decades!

      Don’t ask to ask, just ask. If its the wrong place, you’ll be told.

      • jet@hackertalks.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I worked in a place with an internal chat program. Some people would just say “hello”, waiting for you to respond before they ask their question.

        Of course you’re not going to respond to that until you know what they want. So you just don’t respond cuz there’s nothing to say. Oh the fun we had

  • jtk@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    3
    ·
    edit-2
    1 year ago

    This usually fixes everything for me. Make sure to send the value through a parameter of a stored procedure that concatenates strings to build a query, any one will do:

    Robert’); DROP TABLE Homework;–