Forum Stats

  • 3,770,016 Users
  • 2,253,049 Discussions
  • 7,875,269 Comments

Discussions

How do I post a whole block of code?

I can't figure out how to post code in a <pre> tag.

I can do one line at a time, but when I select multiple lines, the formatting menu doesn't pop up for me to select it.


Best Answer

Answers

  • L. Fernigrini
    L. Fernigrini Data Engineer Sr Consultant Member Posts: 3,670 Silver Crown
    Accepted Answer

    Select multiple lines and then click on the symbol on the left side of the editor:

    And then on the double quotes

  • Aaron L.
    Aaron L. Member Posts: 27 Red Ribbon

    Here is a test:

    CREATE TABLE countries 
      ( country_id CHAR(2) 
      CONSTRAINT country_id_nn NOT NULL 
      , country_name VARCHAR2(40) 
      , region_id NUMBER 
      , CONSTRAINT country_c_id_pk 
      PRIMARY KEY (country_id) 
      ) 
      ORGANIZATION INDEX; 
    

    Thank you

    L. Fernigrini