[resolved] Rendering or excaping backticks in this forum for examples of SQL aliasing (4 posts)

  1. Eli
    Posted 3 years ago #

    I found this closed topic in which someone actually renders a backticks but it doesn't explain how:

    So I'm posting this as a test.

    "SELECT field AS `alias' FROM table"
    (The ' should also be a `)
    I cannot put two ` (backticks) on the same line in a comment here
    or it would just make alias look like alias.

  2. s_ha_dum
    Posted 3 years ago #

    Encode-- `-- it to get a`, or more ` ` ` ` but editing your post will break them, as I just discovered. In my two minutes of trying I couldn't work out how to protect them through an edit.

  3. s_ha_dum
    Posted 3 years ago #

    Argh... I'm not editing that again.

    Encode ` it ...

  4. Eli
    Posted 3 years ago #

    Thanks! (`I should have thought of that`)

Topic Closed

This topic has been closed to new replies.

About this Topic