Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36818

INSERT from rowtype

    XMLWordPrintable

Details

    Description

      There is rowtype support in SQL_MODE=ORACLE, but I'm missing possibility to use rowtype item in INSERT like this:

      DECLARE
        r_person persons%ROWTYPE;
       
      BEGIN
        -- assign values to person record
        r_person.person_id  := 1;
        r_person.first_name := 'John';
        r_person.last_name  := 'Doe';
       
        -- insert a new person
        INSERT INTO persons VALUES r_person;
      END;
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            balta Tadas Balaišis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.