Difference between revisions of "SET DATADIR"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[APPDIR()]], [[CREATE DATABASE]], [[DATADIR()]], [[DEFAULT()]], [[LIBDIR()]], [[OPEN DATABASE]], [[SET DEFAULT]], [[SET DIRECTORY]], [[SET PATH]], [[USE]] | + | [[APPDIR()]], [[CREATE DATABASE]], [[DATADIR()]], [[DEFAULT()]], [[LIBDIR()]], [[OPEN DATABASE]], [[SET APPDIR]], [[SET DEFAULT]], [[SET DIRECTORY]], [[SET LIBDIR]], [[SET PATH]], [[USE]] |
==Description== | ==Description== |
Revision as of 07:19, 19 February 2016
Contents
Purpose
Specify a directory in which data files will be searched for and stored
Syntax
SET DATADIR TO [<path-name>]
See Also
APPDIR(), CREATE DATABASE, DATADIR(), DEFAULT(), LIBDIR(), OPEN DATABASE, SET APPDIR, SET DEFAULT, SET DIRECTORY, SET LIBDIR, SET PATH, USE
Description
The SET DATADIR command is used to specify a directory where database tables, memos, indexes, and dictionary files are located. When a table is being opened this directory is searched first before the current directory and the file search path to locate the table and its associated files. This allows the database tables to be relocated to a different file system without the need to change an existing application.
The SET DATADIR TO command without a <path-name> removes the previously set directory from the search path.
Example
set datadir to C:\lianja\data\