# getSchemaByCatalog {#getSchemaByCatalog}

## Syntax {#Syntax .section}

`getSchemaByCatalog(catalog)`

## Arguments {#Arguments .section}

**catalog**is a string specifying the catalog name.

## Details {#Details .section}

Get schemas within a catalog.

**Return value**: A table containing the schema name and dbUrl.

## Examples {#Examples .section}

``` {#codeblock_pvr_4cb_pbc}
getSchemasByCatalog("catalog1")
```

|schema|dbUrl|
|------|-----|
|schema1|dfs://db1|
|schema2|dfs://db2|

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

