- Added component locks
[public/netxms.git] / sql / dbinit.in
CommitLineData
6c9e7d36
VK
1/*
2** Input file for database initialization script.
3** This file should be processed by C preprocessor to produce
4** real initialization script.
5*/
6
7#if !defined(DB_MSSQL) && !defined(DB_POSTGRESQL) && !defined(DB_MYSQL)
8#error Database type should be defined
9#endif
10
11// Define common macros for uncommon data types
12#ifdef DB_MSSQL
13#define DT_TEXT text
14#else
15#define DT_TEXT blob
16#endif
17
77f69c9d
VK
18// String concatenation for multi-line texts
19#ifdef DB_MSSQL
20#define CONCAT +
21#else
22#define CONCAT
23#endif
24
6c9e7d36
VK
25// Actual SQL queries
26#include "schema.in"
27#include "setup.in"
28#include "events.in"