SET NETWORKSHARE

From Lianjapedia
Jump to: navigation, search

Purpose

Causes the path inside the database catalog to be ignored and tables to be accessed from the database directory.

Syntax

SET NETWORKSHARE ON | OFF | (<expL>)

See Also

Command Line Switches, CREATE DATABASE, DEFAULT(), OPEN DATABASE, SET DATADIR, SET DEFAULT, SET DIRECTORY, SET PATH, USE

Description

When SET NETWORKSHARE is ON, the path for a table inside the database catalog is ignored and all tables are accessed from the database directory path. This simplifies the sharing of data across a LAN between Windows and Linux. The same behavior can also be set by using the --networkshare command line switch on the Lianja runtime command.

Note: To share databases between Windows and Linux, lowercase names should always be used for the tables as Linux filenames are case sensitive.

Example

set networkshare on