ttXlaBookmarkCreate

This procedure creates the specified bookmark.

Required Privilege

This procedure requires the XLA privilege.

Usage in TimesTen Scaleout and TimesTen Classic

This procedure is supported in TimesTen Classic but not supported in TimesTen Scaleout.

Related Views

This procedure has no related views.

Syntax

ttXlaBookmarkCreate('bookmark', 'replicated')

Parameters

ttXlaBookmarkCreate has the parameters:

Parameter Type Description

bookmark

TT_CHAR (31) NOT NULL

The name of the bookmark to be created.

replicated

BINARY(1)

0x00 or NULL (equivalent) for non-replicated bookmarks (default setting).

0x01 for replicated bookmarks.

If NULL, non-replicated bookmarks are used.

Result Set

ttXlaBookmarkCreate returns no results.

Examples

For non-replicated bookmark, execute the following:

Command > call ttXlaBookmarkCreate('mybookmark');

or:

Command> call ttxlabookmarkcreate('mybkmk2',0x00);

For a replicated bookmark, execute the following:

Command > call ttXlaBookmarkCreate('mybookmark', 0x01);

For more details on XLA bookmarks, including replicated XLA bookmarks, see About XLA Bookmarks in the Oracle TimesTen In-Memory Database C Developer's Guide .

Note:

You can also create a bookmark when you call ttXlaPersistOpen function to initialize an XLA handle. See Creating or Reusing a Bookmark in Oracle TimesTen In-Memory Database C Developer's Guide.