dp.sh.Brushes.Ssql = function()
{
	var keywords = '' +
        'advance always and apply as asc between bsort by chronicle create ' +
        'declare default delete desc duplicate else error every false from ' +
        'gather group having heartbeat if index input insert into java jdbc join ' +
        'limit lock lockset key materialized merge metronome module not null ' +
        'offset on or order outer output parallel parameters partition pattern ' +
        'primary predicate private public replace returning schema select set ' +
        'size slack stream table then time timeout true truncate tuples union ' +
        'unlock update using where windo with within valid vjoin';

    var types = 'string list int double long boolean timestamp blob tuple';

	this.regexList = [
		{ regex: new RegExp('--(.*)$', 'gm'),						css: 'comment' },			// one line and multiline comments
		{ regex: dp.sh.RegexLib.DoubleQuotedString,					css: 'string' },			// double quoted strings
		{ regex: dp.sh.RegexLib.SingleQuotedString,					css: 'string' },			// single quoted strings
		{ regex: new RegExp(this.GetKeywords(keywords), 'gmi'),     css: 'keyword' },
        // keyword
		{ regex: new RegExp(this.GetKeywords(types), 'gmi'),        css: 'keyword' }
        // types
		];

	this.CssClass = 'dp-ssql';
	this.Style =	'';
}

dp.sh.Brushes.Ssql.prototype	= new dp.sh.Highlighter();
dp.sh.Brushes.Ssql.Aliases	= ['ssql'];
