UPDATE TBIDB_BASE SET CONFIG_VALUE = '1.0.4.1' where CONFIG_NAME = 'DB_VERSION'

CREATE TABLE TBIDB_COMMON_SQL
(
	GUID			INTEGER			NOT NULL	IDENTITY (1, 1),
	TITLE			VARCHAR(200)	NOT NULL,
	SQL_COMMAND		NVARCHAR(MAX),
	ACTIVE			BIT				NOT NULL	DEFAULT 1,
	ADDED_WHO		VARCHAR(100),
	ADDED_WHEN		DATETIME		DEFAULT GETDATE(),
	CHANGED_WHO	    VARCHAR(100),
	CHANGED_WHEN   	DATETIME,
	CONSTRAINT PK_TBIDB_COMMON_SQL	PRIMARY KEY (GUID)
	)
GO