plugins/geshi/geshi/tsql.php
author Dan
Fri, 29 May 2009 19:30:59 -0400
changeset 2 9e3258dfae15
parent 0 441963e5b07a
child 3 f3e2bbbd2155
permissions -rwxr-xr-x
Updated GeSHi. w00t.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     1
<?php
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     2
/*************************************************************************************
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     3
 * tsql.php
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     4
 * --------
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     5
 * Author: Duncan Lock (dunc@dflock.co.uk)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     6
 * Copyright: (c) 2006 Duncan Lock (http://dflock.co.uk/), Nigel McNie (http://qbnz.com/highlighter)
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
     7
 * Release Version: 1.0.8.2
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     8
 * Date Started: 2005/11/22
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     9
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    10
 * T-SQL language file for GeSHi.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    11
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    12
 * CHANGES
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    13
 * -------
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    14
 * 2004/01/23 (1.0.0)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    15
 *  -  First Release
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    16
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    17
 * TODO (updated 2006/01/23)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    18
 * -------------------------
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    19
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    20
 *************************************************************************************
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    21
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    22
 *     This file is part of GeSHi.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    23
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    24
 *   GeSHi is free software; you can redistribute it and/or modify
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    25
 *   it under the terms of the GNU General Public License as published by
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    26
 *   the Free Software Foundation; either version 2 of the License, or
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    27
 *   (at your option) any later version.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    28
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    29
 *   GeSHi is distributed in the hope that it will be useful,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    30
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    31
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    32
 *   GNU General Public License for more details.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    33
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    34
 *   You should have received a copy of the GNU General Public License
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    35
 *   along with GeSHi; if not, write to the Free Software
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    36
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    37
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    38
 ************************************************************************************/
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    39
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    40
$language_data = array (
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    41
    'LANG_NAME' => 'T-SQL',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    42
    'COMMENT_SINGLE' => array(1 => '--'),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    43
    'COMMENT_MULTI' => array('/*' => '*/'),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    44
    'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    45
    'QUOTEMARKS' => array("'", '"'),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    46
    'ESCAPE_CHAR' => '\\',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    47
    'KEYWORDS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    48
        1 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    49
            // Datatypes
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    50
            'bigint', 'int', 'smallint', 'tinyint', 'bit', 'decimal', 'numeric', 'money',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    51
            'smallmoney', 'float', 'real', 'datetime', 'smalldatetime', 'char', 'varchar',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    52
            'text', 'nchar', 'nvarchar', 'ntext', 'binary', 'varbinary', 'image', 'cursor',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    53
            'sql_variant', 'table', 'timestamp', 'uniqueidentifier',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    54
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    55
            // Keywords
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    56
            'ABSOLUTE', 'ACTION', 'ADD', 'ADMIN', 'AFTER', 'AGGREGATE', 'ALIAS', 'ALLOCATE', 'ALTER', 'ARE', 'ARRAY', 'AS',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    57
            'ASC', 'ASSERTION', 'AT', 'AUTHORIZATION', 'BACKUP', 'BEFORE', 'BEGIN', 'BINARY', 'BIT', 'BLOB', 'BOOLEAN', 'BOTH', 'BREADTH',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    58
            'BREAK', 'BROWSE', 'BULK', 'BY', 'CALL', 'CASCADE', 'CASCADED', 'CASE', 'CAST', 'CATALOG', 'CHAR', 'CHARACTER', 'CHECK', 'CHECKPOINT',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    59
            'CLASS', 'CLOB', 'CLOSE', 'CLUSTERED', 'COALESCE', 'COLLATE', 'COLLATION', 'COLUMN', 'COMMIT', 'COMPLETION', 'COMPUTE', 'CONNECT',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    60
            'CONNECTION', 'CONSTRAINT', 'CONSTRAINTS', 'CONSTRUCTOR', 'CONTAINS', 'CONTAINSTABLE', 'CONTINUE', 'CONVERT', 'CORRESPONDING', 'CREATE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    61
            'CUBE', 'CURRENT', 'CURRENT_DATE', 'CURRENT_PATH', 'CURRENT_ROLE', 'CURRENT_TIME', 'CURRENT_TIMESTAMP', 'CURRENT_USER',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    62
            'CURSOR', 'CYCLE', 'DATA', 'DATABASE', 'DATE', 'DAY', 'DBCC', 'DEALLOCATE', 'DEC', 'DECIMAL', 'DECLARE', 'DEFAULT', 'DEFERRABLE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    63
            'DEFERRED', 'DELETE', 'DENY', 'DEPTH', 'DEREF', 'DESC', 'DESCRIBE', 'DESCRIPTOR', 'DESTROY', 'DESTRUCTOR', 'DETERMINISTIC',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    64
            'DIAGNOSTICS', 'DICTIONARY', 'DISCONNECT', 'DISK', 'DISTINCT', 'DISTRIBUTED', 'DOMAIN', 'DOUBLE', 'DROP', 'DUMMY', 'DUMP', 'DYNAMIC',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    65
            'EACH', 'ELSE', 'END', 'END-EXEC', 'EQUALS', 'ERRLVL', 'ESCAPE', 'EVERY', 'EXCEPT', 'EXCEPTION', 'EXEC', 'EXECUTE', 'EXIT',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    66
            'EXTERNAL', 'FALSE', 'FETCH', 'FILE', 'FILLFACTOR', 'FIRST', 'FLOAT', 'FOR', 'FOREIGN', 'FOUND', 'FREE', 'FREETEXT', 'FREETEXTTABLE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    67
            'FROM', 'FULL', 'FUNCTION', 'GENERAL', 'GET', 'GLOBAL', 'GOTO', 'GRANT', 'GROUP', 'GROUPING', 'HAVING', 'HOLDLOCK', 'HOST', 'HOUR',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    68
            'IDENTITY', 'IDENTITY_INSERT', 'IDENTITYCOL', 'IF', 'IGNORE', 'IMMEDIATE', 'INDEX', 'INDICATOR', 'INITIALIZE', 'INITIALLY',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    69
            'INNER', 'INOUT', 'INPUT', 'INSERT', 'INT', 'INTEGER', 'INTERSECT', 'INTERVAL', 'INTO', 'IS', 'ISOLATION', 'ITERATE', 'KEY',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    70
            'KILL', 'LANGUAGE', 'LARGE', 'LAST', 'LATERAL', 'LEADING', 'LEFT', 'LESS', 'LEVEL', 'LIMIT', 'LINENO', 'LOAD', 'LOCAL',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    71
            'LOCALTIME', 'LOCALTIMESTAMP', 'LOCATOR', 'MAP', 'MATCH', 'MINUTE', 'MODIFIES', 'MODIFY', 'MODULE', 'MONTH', 'NAMES', 'NATIONAL',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    72
            'NATURAL', 'NCHAR', 'NCLOB', 'NEW', 'NEXT', 'NO', 'NOCHECK', 'NONCLUSTERED', 'NONE', 'NULLIF', 'NUMERIC', 'OBJECT', 'OF',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    73
            'OFF', 'OFFSETS', 'OLD', 'ON', 'ONLY', 'OPEN', 'OPENDATASOURCE', 'OPENQUERY', 'OPENROWSET', 'OPENXML', 'OPERATION', 'OPTION',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    74
            'ORDER', 'ORDINALITY', 'OUT', 'OUTPUT', 'OVER', 'PAD', 'PARAMETER', 'PARAMETERS', 'PARTIAL', 'PATH', 'PERCENT', 'PLAN',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    75
            'POSTFIX', 'PRECISION', 'PREFIX', 'PREORDER', 'PREPARE', 'PRESERVE', 'PRIMARY', 'PRINT', 'PRIOR', 'PRIVILEGES', 'PROC', 'PROCEDURE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    76
            'PUBLIC', 'RAISERROR', 'READ', 'READS', 'READTEXT', 'REAL', 'RECONFIGURE', 'RECURSIVE', 'REF', 'REFERENCES', 'REFERENCING', 'RELATIVE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    77
            'REPLICATION', 'RESTORE', 'RESTRICT', 'RESULT', 'RETURN', 'RETURNS', 'REVOKE', 'RIGHT', 'ROLE', 'ROLLBACK', 'ROLLUP', 'ROUTINE', 'ROW',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    78
            'ROWGUIDCOL', 'ROWS', 'RULE', 'SAVE', 'SAVEPOINT', 'SCHEMA', 'SCOPE', 'SCROLL', 'SEARCH', 'SECOND', 'SECTION', 'SELECT',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    79
            'SEQUENCE', 'SESSION', 'SESSION_USER', 'SET', 'SETS', 'SETUSER', 'SHUTDOWN', 'SIZE', 'SMALLINT', 'SPACE', 'SPECIFIC',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    80
            'SPECIFICTYPE', 'SQL', 'SQLEXCEPTION', 'SQLSTATE', 'SQLWARNING', 'START', 'STATE', 'STATEMENT', 'STATIC', 'STATISTICS', 'STRUCTURE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    81
            'SYSTEM_USER', 'TABLE', 'TEMPORARY', 'TERMINATE', 'TEXTSIZE', 'THAN', 'THEN', 'TIME', 'TIMESTAMP', 'TIMEZONE_HOUR', 'TIMEZONE_MINUTE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    82
            'TO', 'TOP', 'TRAILING', 'TRAN', 'TRANSACTION', 'TRANSLATION', 'TREAT', 'TRIGGER', 'TRUE', 'TRUNCATE', 'TSEQUAL', 'UNDER', 'UNION',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    83
            'UNIQUE', 'UNKNOWN', 'UNNEST', 'UPDATE', 'UPDATETEXT', 'USAGE', 'USE', 'USER', 'USING', 'VALUE', 'VALUES', 'VARCHAR', 'VARIABLE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    84
            'VARYING', 'VIEW', 'WAITFOR', 'WHEN', 'WHENEVER', 'WHERE', 'WHILE', 'WITH', 'WITHOUT', 'WORK', 'WRITE', 'WRITETEXT', 'YEAR', 'ZONE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    85
            'UNCOMMITTED', 'NOCOUNT',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    86
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    87
        2 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    88
            /*
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    89
                Built-in functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    90
                Highlighted in pink.
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    91
            */
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    92
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    93
            //Configuration Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    94
            '@@DATEFIRST','@@OPTIONS','@@DBTS','@@REMSERVER','@@LANGID','@@SERVERNAME',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    95
            '@@LANGUAGE','@@SERVICENAME','@@LOCK_TIMEOUT','@@SPID','@@MAX_CONNECTIONS','@@TEXTSIZE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    96
            '@@MAX_PRECISION','@@VERSION','@@NESTLEVEL',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    97
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    98
            //Cursor Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    99
            '@@CURSOR_ROWS','@@FETCH_STATUS',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   100
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   101
            //Date and Time Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   102
            'DATEADD','DATEDIFF','DATENAME','DATEPART','DAY','GETDATE','GETUTCDATE','MONTH','YEAR',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   103
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   104
            //Mathematical Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   105
            'ABS','DEGREES','RAND','ACOS','EXP','ROUND','ASIN','FLOOR','SIGN',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   106
            'ATAN','LOG','SIN','ATN2','LOG10','SQUARE','CEILING','PI','SQRT','COS',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   107
            'POWER','TAN','COT','RADIANS',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   108
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   109
            //Meta Data Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   110
            'COL_LENGTH','fn_listextendedproperty','COL_NAME','FULLTEXTCATALOGPROPERTY',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   111
            'COLUMNPROPERTY','FULLTEXTSERVICEPROPERTY','DATABASEPROPERTY','INDEX_COL',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   112
            'DATABASEPROPERTYEX','INDEXKEY_PROPERTY','DB_ID','INDEXPROPERTY','DB_NAME',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   113
            'OBJECT_ID','FILE_ID','OBJECT_NAME','FILE_NAME','OBJECTPROPERTY','FILEGROUP_ID',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   114
            '@@PROCID','FILEGROUP_NAME','SQL_VARIANT_PROPERTY','FILEGROUPPROPERTY',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   115
            'TYPEPROPERTY','FILEPROPERTY',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   116
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   117
            //Security Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   118
            'fn_trace_geteventinfo','IS_SRVROLEMEMBER','fn_trace_getfilterinfo','SUSER_SID',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   119
            'fn_trace_getinfo','SUSER_SNAME','fn_trace_gettable','USER_ID','HAS_DBACCESS',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   120
            'IS_MEMBER',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   121
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   122
            //String Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   123
            'ASCII','NCHAR','SOUNDEX','CHAR','PATINDEX','SPACE','CHARINDEX',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   124
            'REPLACE','STR','DIFFERENCE','QUOTENAME','STUFF','LEFT','REPLICATE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   125
            'SUBSTRING','LEN','REVERSE','UNICODE','LOWER','RIGHT','UPPER','LTRIM',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   126
            'RTRIM',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   127
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   128
            //System Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   129
            'APP_NAME','COLLATIONPROPERTY','@@ERROR','fn_helpcollations',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   130
            'fn_servershareddrives','fn_virtualfilestats','FORMATMESSAGE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   131
            'GETANSINULL','HOST_ID','HOST_NAME','IDENT_CURRENT','IDENT_INCR',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   132
            'IDENT_SEED','@@IDENTITY','ISDATE','ISNUMERIC','PARSENAME','PERMISSIONS',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   133
            '@@ROWCOUNT','ROWCOUNT_BIG','SCOPE_IDENTITY','SERVERPROPERTY','SESSIONPROPERTY',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   134
            'STATS_DATE','@@TRANCOUNT','USER_NAME',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   135
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   136
            //System Statistical Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   137
            '@@CONNECTIONS','@@PACK_RECEIVED','@@CPU_BUSY','@@PACK_SENT',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   138
            '@@TIMETICKS','@@IDLE','@@TOTAL_ERRORS','@@IO_BUSY',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   139
            '@@TOTAL_READ','@@PACKET_ERRORS','@@TOTAL_WRITE',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   140
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   141
            //Text and Image Functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   142
            'TEXTPTR','TEXTVALID',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   143
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   144
            //Aggregate functions
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   145
            'AVG', 'MAX', 'BINARY_CHECKSUM', 'MIN', 'CHECKSUM', 'SUM', 'CHECKSUM_AGG',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   146
            'STDEV', 'COUNT', 'STDEVP', 'COUNT_BIG', 'VAR', 'GROUPING', 'VARP'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   147
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   148
        3 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   149
            /*
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   150
                System stored procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   151
                Higlighted dark brown
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   152
            */
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   153
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   154
            //Active Directory Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   155
            'sp_ActiveDirectory_Obj', 'sp_ActiveDirectory_SCP',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   156
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   157
            //Catalog Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   158
            'sp_column_privileges', 'sp_special_columns', 'sp_columns', 'sp_sproc_columns',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   159
            'sp_databases', 'sp_statistics', 'sp_fkeys', 'sp_stored_procedures', 'sp_pkeys',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   160
            'sp_table_privileges', 'sp_server_info', 'sp_tables',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   161
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   162
            //Cursor Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   163
            'sp_cursor_list', 'sp_describe_cursor_columns', 'sp_describe_cursor', 'sp_describe_cursor_tables',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   164
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   165
            //Database Maintenance Plan Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   166
            'sp_add_maintenance_plan', 'sp_delete_maintenance_plan_db', 'sp_add_maintenance_plan_db',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   167
            'sp_delete_maintenance_plan_job', 'sp_add_maintenance_plan_job', 'sp_help_maintenance_plan',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   168
            'sp_delete_maintenance_plan',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   169
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   170
            //Distributed Queries Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   171
            'sp_addlinkedserver', 'sp_indexes', 'sp_addlinkedsrvlogin', 'sp_linkedservers', 'sp_catalogs',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   172
            'sp_primarykeys', 'sp_column_privileges_ex', 'sp_columns_ex',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   173
            'sp_table_privileges_ex', 'sp_tables_ex', 'sp_foreignkeys',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   174
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   175
            //Full-Text Search Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   176
            'sp_fulltext_catalog', 'sp_help_fulltext_catalogs_cursor', 'sp_fulltext_column',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   177
            'sp_help_fulltext_columns', 'sp_fulltext_database', 'sp_help_fulltext_columns_cursor',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   178
            'sp_fulltext_service', 'sp_help_fulltext_tables', 'sp_fulltext_table',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   179
            'sp_help_fulltext_tables_cursor', 'sp_help_fulltext_catalogs',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   180
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   181
            //Log Shipping Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   182
            'sp_add_log_shipping_database', 'sp_delete_log_shipping_database', 'sp_add_log_shipping_plan',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   183
            'sp_delete_log_shipping_plan', 'sp_add_log_shipping_plan_database',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   184
            'sp_delete_log_shipping_plan_database', 'sp_add_log_shipping_primary',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   185
            'sp_delete_log_shipping_primary', 'sp_add_log_shipping_secondary',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   186
            'sp_delete_log_shipping_secondary', 'sp_can_tlog_be_applied', 'sp_get_log_shipping_monitor_info',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   187
            'sp_change_monitor_role', 'sp_remove_log_shipping_monitor', 'sp_change_primary_role',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   188
            'sp_resolve_logins', 'sp_change_secondary_role', 'sp_update_log_shipping_monitor_info',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   189
            'sp_create_log_shipping_monitor_account', 'sp_update_log_shipping_plan',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   190
            'sp_define_log_shipping_monitor', 'sp_update_log_shipping_plan_database',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   191
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   192
            //OLE Automation Extended Stored Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   193
            'sp_OACreate', 'sp_OAMethod', 'sp_OADestroy', 'sp_OASetProperty', 'sp_OAGetErrorInfo',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   194
            'sp_OAStop', 'sp_OAGetProperty',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   195
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   196
            //Replication Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   197
            'sp_add_agent_parameter', 'sp_enableagentoffload', 'sp_add_agent_profile',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   198
            'sp_enumcustomresolvers', 'sp_addarticle', 'sp_enumdsn', 'sp_adddistpublisher',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   199
            'sp_enumfullsubscribers', 'sp_adddistributiondb', 'sp_expired_subscription_cleanup',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   200
            'sp_adddistributor', 'sp_generatefilters', 'sp_addmergealternatepublisher',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   201
            'sp_getagentoffloadinfo', 'sp_addmergearticle', 'sp_getmergedeletetype', 'sp_addmergefilter',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   202
            'sp_get_distributor', 'sp_addmergepublication', 'sp_getqueuedrows', 'sp_addmergepullsubscription',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   203
            'sp_getsubscriptiondtspackagename', 'sp_addmergepullsubscription_agent', 'sp_grant_publication_access',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   204
            'sp_addmergesubscription', 'sp_help_agent_default', 'sp_addpublication', 'sp_help_agent_parameter',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   205
            'sp_addpublication_snapshot', 'sp_help_agent_profile', 'sp_addpublisher70', 'sp_helparticle',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   206
            'sp_addpullsubscription', 'sp_helparticlecolumns', 'sp_addpullsubscription_agent', 'sp_helparticledts',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   207
            'sp_addscriptexec', 'sp_helpdistpublisher', 'sp_addsubscriber', 'sp_helpdistributiondb',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   208
            'sp_addsubscriber_schedule', 'sp_helpdistributor', 'sp_addsubscription', 'sp_helpmergealternatepublisher',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   209
            'sp_addsynctriggers', 'sp_helpmergearticle', 'sp_addtabletocontents', 'sp_helpmergearticlecolumn',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   210
            'sp_adjustpublisheridentityrange', 'sp_helpmergearticleconflicts', 'sp_article_validation',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   211
            'sp_helpmergeconflictrows', 'sp_articlecolumn', 'sp_helpmergedeleteconflictrows', 'sp_articlefilter',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   212
            'sp_helpmergefilter', 'sp_articlesynctranprocs', 'sp_helpmergepublication', 'sp_articleview',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   213
            'sp_helpmergepullsubscription', 'sp_attachsubscription', 'sp_helpmergesubscription', 'sp_browsesnapshotfolder',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   214
            'sp_helppublication', 'sp_browsemergesnapshotfolder', 'sp_help_publication_access', 'sp_browsereplcmds',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   215
            'sp_helppullsubscription', 'sp_change_agent_parameter', 'sp_helpreplfailovermode', 'sp_change_agent_profile',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   216
            'sp_helpreplicationdboption', 'sp_changearticle', 'sp_helpreplicationoption', 'sp_changedistpublisher',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   217
            'sp_helpsubscriberinfo', 'sp_changedistributiondb', 'sp_helpsubscription', 'sp_changedistributor_password',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   218
            'sp_ivindexhasnullcols', 'sp_changedistributor_property', 'sp_helpsubscription_properties', 'sp_changemergearticle',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   219
            'sp_link_publication', 'sp_changemergefilter', 'sp_marksubscriptionvalidation', 'sp_changemergepublication',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   220
            'sp_mergearticlecolumn', 'sp_changemergepullsubscription', 'sp_mergecleanupmetadata', 'sp_changemergesubscription',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   221
            'sp_mergedummyupdate', 'sp_changepublication', 'sp_mergesubscription_cleanup', 'sp_changesubscriber',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   222
            'sp_publication_validation', 'sp_changesubscriber_schedule', 'sp_refreshsubscriptions', 'sp_changesubscriptiondtsinfo',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   223
            'sp_reinitmergepullsubscription', 'sp_changesubstatus', 'sp_reinitmergesubscription', 'sp_change_subscription_properties',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   224
            'sp_reinitpullsubscription', 'sp_check_for_sync_trigger', 'sp_reinitsubscription', 'sp_copymergesnapshot',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   225
            'sp_removedbreplication', 'sp_copysnapshot', 'sp_repladdcolumn', 'sp_copysubscription', 'sp_replcmds',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   226
            'sp_deletemergeconflictrow', 'sp_replcounters', 'sp_disableagentoffload', 'sp_repldone', 'sp_drop_agent_parameter',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   227
            'sp_repldropcolumn', 'sp_drop_agent_profile', 'sp_replflush', 'sp_droparticle', 'sp_replicationdboption',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   228
            'sp_dropanonymouseagent', 'sp_replication_agent_checkup', 'sp_dropdistpublisher', 'sp_replqueuemonitor',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   229
            'sp_dropdistributiondb', 'sp_replsetoriginator', 'sp_dropmergealternatepublisher', 'sp_replshowcmds',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   230
            'sp_dropdistributor', 'sp_repltrans', 'sp_dropmergearticle', 'sp_restoredbreplication', 'sp_dropmergefilter',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   231
            'sp_revoke_publication_access', 'sp_scriptsubconflicttable', 'sp_dropmergepublication', 'sp_script_synctran_commands',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   232
            'sp_dropmergepullsubscription', 'sp_setreplfailovermode', 'sp_showrowreplicainfo', 'sp_dropmergesubscription',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   233
            'sp_subscription_cleanup', 'sp_droppublication', 'sp_table_validation', 'sp_droppullsubscription',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   234
            'sp_update_agent_profile', 'sp_dropsubscriber', 'sp_validatemergepublication', 'sp_dropsubscription',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   235
            'sp_validatemergesubscription', 'sp_dsninfo', 'sp_vupgrade_replication', 'sp_dumpparamcmd',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   236
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   237
            //Security Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   238
            'sp_addalias', 'sp_droprolemember', 'sp_addapprole', 'sp_dropserver', 'sp_addgroup', 'sp_dropsrvrolemember',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   239
            'sp_dropuser', 'sp_addlogin', 'sp_grantdbaccess', 'sp_addremotelogin',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   240
            'sp_grantlogin', 'sp_addrole', 'sp_helpdbfixedrole', 'sp_addrolemember', 'sp_helpgroup',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   241
            'sp_addserver', 'sp_helplinkedsrvlogin', 'sp_addsrvrolemember', 'sp_helplogins', 'sp_adduser',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   242
            'sp_helpntgroup', 'sp_approlepassword', 'sp_helpremotelogin', 'sp_changedbowner', 'sp_helprole',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   243
            'sp_changegroup', 'sp_helprolemember', 'sp_changeobjectowner', 'sp_helprotect', 'sp_change_users_login',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   244
            'sp_helpsrvrole', 'sp_dbfixedrolepermission', 'sp_helpsrvrolemember', 'sp_defaultdb', 'sp_helpuser',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   245
            'sp_defaultlanguage', 'sp_MShasdbaccess', 'sp_denylogin', 'sp_password', 'sp_dropalias', 'sp_remoteoption',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   246
            'sp_dropapprole', 'sp_revokedbaccess', 'sp_dropgroup', 'sp_revokelogin', 'sp_droplinkedsrvlogin',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   247
            'sp_setapprole', 'sp_droplogin', 'sp_srvrolepermission', 'sp_dropremotelogin', 'sp_validatelogins', 'sp_droprole',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   248
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   249
            //SQL Mail Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   250
            'sp_processmail', 'xp_sendmail', 'xp_deletemail', 'xp_startmail', 'xp_findnextmsg', 'xp_stopmail', 'xp_readmail',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   251
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   252
            //SQL Profiler Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   253
            'sp_trace_create', 'sp_trace_setfilter', 'sp_trace_generateevent', 'sp_trace_setstatus', 'sp_trace_setevent',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   254
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   255
            //SQL Server Agent Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   256
            'sp_add_alert', 'sp_help_jobhistory', 'sp_add_category', 'sp_help_jobschedule', 'sp_add_job',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   257
            'sp_help_jobserver', 'sp_add_jobschedule', 'sp_help_jobstep', 'sp_add_jobserver', 'sp_help_notification',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   258
            'sp_add_jobstep', 'sp_help_operator', 'sp_add_notification', 'sp_help_targetserver',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   259
            'sp_add_operator', 'sp_help_targetservergroup', 'sp_add_targetservergroup', 'sp_helptask',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   260
            'sp_add_targetsvrgrp_member', 'sp_manage_jobs_by_login', 'sp_addtask', 'sp_msx_defect',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   261
            'sp_apply_job_to_targets', 'sp_msx_enlist', 'sp_delete_alert', 'sp_post_msx_operation',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   262
            'sp_delete_category', 'sp_purgehistory', 'sp_delete_job', 'sp_purge_jobhistory', 'sp_delete_jobschedule',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   263
            'sp_reassigntask', 'sp_delete_jobserver', 'sp_remove_job_from_targets', 'sp_delete_jobstep',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   264
            'sp_resync_targetserver', 'sp_delete_notification', 'sp_start_job', 'sp_delete_operator',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   265
            'sp_stop_job', 'sp_delete_targetserver', 'sp_update_alert', 'sp_delete_targetservergroup',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   266
            'sp_update_category', 'sp_delete_targetsvrgrp_member', 'sp_update_job', 'sp_droptask',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   267
            'sp_update_jobschedule', 'sp_help_alert', 'sp_update_jobstep', 'sp_help_category',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   268
            'sp_update_notification', 'sp_help_downloadlist', 'sp_update_operator', 'sp_helphistory',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   269
            'sp_update_targetservergroup', 'sp_help_job', 'sp_updatetask', 'xp_sqlagent_proxy_account',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   270
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   271
            //System Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   272
            'sp_add_data_file_recover_suspect_db', 'sp_helpconstraint', 'sp_addextendedproc',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   273
            'sp_helpdb', 'sp_addextendedproperty', 'sp_helpdevice', 'sp_add_log_file_recover_suspect_db',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   274
            'sp_helpextendedproc', 'sp_addmessage', 'sp_helpfile', 'sp_addtype', 'sp_helpfilegroup',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   275
            'sp_addumpdevice', 'sp_helpindex', 'sp_altermessage', 'sp_helplanguage', 'sp_autostats',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   276
            'sp_helpserver', 'sp_attach_db', 'sp_helpsort', 'sp_attach_single_file_db', 'sp_helpstats',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   277
            'sp_bindefault', 'sp_helptext', 'sp_bindrule', 'sp_helptrigger', 'sp_bindsession',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   278
            'sp_indexoption', 'sp_certify_removable', 'sp_invalidate_textptr', 'sp_configure',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   279
            'sp_lock', 'sp_create_removable', 'sp_monitor', 'sp_createstats', 'sp_procoption',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   280
            'sp_cycle_errorlog', 'sp_recompile', 'sp_datatype_info', 'sp_refreshview', 'sp_dbcmptlevel',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   281
            'sp_releaseapplock', 'sp_dboption', 'sp_rename', 'sp_dbremove', 'sp_renamedb',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   282
            'sp_delete_backuphistory', 'sp_resetstatus', 'sp_depends', 'sp_serveroption', 'sp_detach_db',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   283
            'sp_setnetname', 'sp_dropdevice', 'sp_settriggerorder', 'sp_dropextendedproc', 'sp_spaceused',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   284
            'sp_dropextendedproperty', 'sp_tableoption', 'sp_dropmessage', 'sp_unbindefault', 'sp_droptype',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   285
            'sp_unbindrule', 'sp_executesql', 'sp_updateextendedproperty', 'sp_getapplock', 'sp_updatestats',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   286
            'sp_getbindtoken', 'sp_validname', 'sp_help', 'sp_who',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   287
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   288
            //Web Assistant Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   289
            'sp_dropwebtask', 'sp_makewebtask', 'sp_enumcodepages', 'sp_runwebtask',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   290
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   291
            //XML Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   292
            'sp_xml_preparedocument', 'sp_xml_removedocument',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   293
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   294
            //General Extended Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   295
            'xp_cmdshellxp_logininfo', 'xp_enumgroups', 'xp_msver', 'xp_findnextmsgxp_revokelogin',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   296
            'xp_grantlogin', 'xp_sprintf', 'xp_logevent', 'xp_sqlmaint', 'xp_loginconfig', 'xp_sscanf',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   297
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   298
            //API System Stored Procedures
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   299
            'sp_cursor', 'sp_cursorclose', 'sp_cursorexecute', 'sp_cursorfetch', 'sp_cursoropen',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   300
            'sp_cursoroption', 'sp_cursorprepare', 'sp_cursorunprepare', 'sp_execute', 'sp_prepare', 'sp_unprepare',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   301
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   302
            //Misc
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   303
            'sp_createorphan', 'sp_droporphans', 'sp_reset_connection', 'sp_sdidebug'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   304
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   305
        4 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   306
            //Function/sp's higlighted brown.
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   307
            'fn_helpcollations', 'fn_listextendedproperty ', 'fn_servershareddrives',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   308
            'fn_trace_geteventinfo', 'fn_trace_getfilterinfo', 'fn_trace_getinfo',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   309
            'fn_trace_gettable', 'fn_virtualfilestats',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   310
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   311
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   312
    'SYMBOLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   313
        '!', '!=', '%', '&', '&&', '(', ')', '*', '+', '-', '/', '<', '<<', '<=',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   314
        '<=>', '<>', '=', '>', '>=', '>>', '^', 'ALL', 'AND', 'ANY', 'BETWEEN', 'CROSS',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   315
        'EXISTS', 'IN', 'JOIN', 'LIKE', 'NOT', 'NULL', 'OR', 'OUTER', 'SOME', '|', '||', '~'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   316
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   317
    'CASE_SENSITIVE' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   318
        GESHI_COMMENTS => false,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   319
        1 => false,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   320
        2 => false,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   321
        3 => false,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   322
        4 => false,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   323
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   324
    'STYLES' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   325
        'KEYWORDS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   326
            1 => 'color: #0000FF;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   327
            2 => 'color: #FF00FF;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   328
            3 => 'color: #AF0000;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   329
            4 => 'color: #AF0000;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   330
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   331
        'COMMENTS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   332
            1 => 'color: #008080;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   333
            'MULTI' => 'color: #008080;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   334
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   335
        'ESCAPE_CHAR' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   336
            0 => 'color: #000099; font-weight: bold;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   337
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   338
        'BRACKETS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   339
            0 => 'color: #808080;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   340
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   341
        'STRINGS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   342
            0 => 'color: #FF0000;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   343
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   344
        'NUMBERS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   345
            0 => 'color: #000;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   346
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   347
        'METHODS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   348
            1 => 'color: #202020;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   349
            2 => 'color: #202020;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   350
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   351
        'SYMBOLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   352
            0 => 'color: #808080;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   353
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   354
        'REGEXPS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   355
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   356
        'SCRIPT' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   357
            )
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   358
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   359
    'URLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   360
        1 => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   361
        2 => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   362
        3 => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   363
        4 => ''
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   364
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   365
    'OOLANG' => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   366
    'OBJECT_SPLITTERS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   367
        1 => '.'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   368
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   369
    'REGEXPS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   370
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   371
    'STRICT_MODE_APPLIES' => GESHI_NEVER,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   372
    'SCRIPT_DELIMITERS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   373
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   374
    'HIGHLIGHT_STRICT_BLOCK' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   375
        )
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   376
);
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   377
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   378
?>