# syntax {#syntax}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax-1}

`syntax(X)`

## Arguments {#arguments}

**X** is a DolphinDB function/command.

## Details {#details}

Return the syntax of function/command *X*.

## Examples {#examples}

```
syntax(createPartitionedTable);
// output: createPartitionedTable(dbHandle, table, tableName, [partitionColumns], [compressMethods])
```

