getCurrentCatalog

Syntax

getCurrentCatalog()

Arguments

None

Details

Get the catalog used for the current session.

Return value: A STRING scalar.

Examples

use CATALOG cat1;
select * from db1.table1 
getCurrentCatalog() 
// Output: "cat1"