> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# enable_positional_arguments_* session settings

> ClickHouse session settings in the enable_positional_arguments_* generated group.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>Type</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>Default</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          Changeable without restart
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

These settings are available in [system.settings](/docs/reference/system-tables/settings) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

<h2 id="enable_positional_arguments">
  enable\_positional\_arguments
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "22.7"},{"label": "1"},{"label": "Enable positional arguments feature by default"}]}]} />

Enables or disables supporting positional arguments for [GROUP BY](/docs/reference/statements/select/group-by), [LIMIT BY](/docs/reference/statements/select/limit-by), [ORDER BY](/docs/reference/statements/select/order-by) statements.

Possible values:

* 0 — Positional arguments aren't supported.
* 1 — Positional arguments are supported: column numbers can use instead of column names.

**Example**

Query:

```sql theme={null}
CREATE TABLE positional_arguments(one Int, two Int, three Int) ENGINE=Memory();

INSERT INTO positional_arguments VALUES (10, 20, 30), (20, 20, 10), (30, 10, 20);

SELECT * FROM positional_arguments ORDER BY 2,3;
```

Result:

```text theme={null}
┌─one─┬─two─┬─three─┐
│  30 │  10 │   20  │
│  20 │  20 │   10  │
│  10 │  20 │   30  │
└─────┴─────┴───────┘
```

<h2 id="enable_positional_arguments_for_projections">
  enable\_positional\_arguments\_for\_projections
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.12"},{"label": "0"},{"label": "New setting to control positional arguments in projections."}]}, {"id": "row-2","items": [{"label": "25.11"},{"label": "0"},{"label": "New setting to control positional arguments in projections."}]}, {"id": "row-3","items": [{"label": "25.10"},{"label": "0"},{"label": "New setting to control positional arguments in projections."}]}]} />

Enables or disables supporting positional arguments in PROJECTION definitions. See also [enable\_positional\_arguments](/docs/reference/settings/session-settings/enable-positional-arguments#enable_positional_arguments) setting.

<Note>
  This is an expert-level setting, and you shouldn't change it if you're just getting started with ClickHouse.
</Note>

Possible values:

* 0 — Positional arguments aren't supported.
* 1 — Positional arguments are supported: column numbers can use instead of column names.
