GetCalendarName function

The GetCalendarName function returns the name of the calendar used by the given time series.

Syntax

GetCalendarName(ts TimeSeries) 
returns lvarchar;
ts
The time series from which to obtain a calendar name.

Returns

The name of the calendar used by the time series.

Example

The following example returns the name of the calendar used by the time series for :
select GetCalendarName(stock_data)
from daily_stocks
where stock_name = 'IBM';

(expression) daycal