"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/tsql.lang" (12 May 2020, 5407 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 Description="Transact-SQL"
    3 
    4 Categories = {"database"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={  "add", "exists", "precision", "all", "exit", "primary", "alter",
    9             "external", "print", "and", "fetch", "proc", "any", "file", "procedure", "as",
   10             "fillfactor", "public", "asc", "for", "raiserror", "authorization", "foreign",
   11             "read", "backup", "freetext", "readtext", "begin", "freetexttable",
   12             "reconfigure", "between", "from", "references", "break", "full", "replication",
   13             "browse", "function", "restore", "bulk", "goto", "restrict", "by", "grant",
   14             "return", "returns", "cascade", "group", "revert", "case", "having", "revoke", "check",
   15             "holdlock", "right", "checkpoint", "identity", "rollback", "close",
   16             "identity_insert", "rowcount", "clustered", "identitycol", "rowguidcol",
   17             "coalesce", "if", "rule", "collate", "in", "save", "column", "index", "schema",
   18             "commit", "inner", "securityaudit", "compute", "insert", "select", "constraint",
   19             "intersect", "session_user", "contains", "into", "set", "containstable", "is",
   20             "setuser", "continue", "join", "shutdown", "convert", "key", "some", "create",
   21             "kill", "statistics", "cross", "left", "system_user", "current", "like",
   22             "table", "current_date", "lineno", "tablesample", "current_time", "load",
   23             "textsize", "current_timestamp", "merge", "then", "current_user", "national",
   24             "to", "cursor", "nocheck", "top", "database", "nonclustered", "tran", "dbcc",
   25             "not", "transaction", "deallocate", "null", "trigger", "declare", "nullif",
   26             "truncate", "default", "of", "tsequal", "delete", "off", "union", "deny",
   27             "offsets", "unique", "desc", "on", "unpivot", "disk", "open", "update",
   28             "distinct", "opendatasource", "updatetext", "distributed", "openquery", "use",
   29             "double", "openrowset", "user", "drop", "openxml", "values", "dump", "option",
   30             "varying", "else", "or", "view", "end", "order", "waitfor", "errlvl", "outer",
   31             "when", "escape", "over", "where", "except", "percent", "while", "exec",
   32             "pivot", "with", "execute", "plan", "writetext"},
   33   },
   34 
   35   { Id=2,
   36     List={  "absolute", "exec", "overlaps", "action", "execute", "pad", "ada",
   37             "exists", "partial", "add", "external", "pascal", "all", "extract", "position",
   38             "allocate", "false", "precision", "alter", "fetch", "prepare", "and", "first",
   39             "preserve", "any", "float", "primary", "are", "for", "prior", "as", "foreign",
   40             "privileges", "asc", "fortran", "procedure", "assertion", "found", "public",
   41             "at", "from", "read", "authorization", "full", "real", "avg", "get",
   42             "references", "begin", "global", "relative", "between", "go", "restrict", "bit",
   43             "goto", "revoke", "bit_length", "grant", "right", "both", "group", "rollback",
   44             "by", "having", "rows", "cascade", "hour", "schema", "cascaded", "identity",
   45             "scroll", "case", "immediate", "second", "cast", "in", "section", "catalog",
   46             "include", "select", "char", "index", "session", "char_length", "indicator",
   47             "session_user", "character", "initially", "set", "character_length", "inner",
   48             "size", "check", "input", "smallint", "close", "insensitive", "some",
   49             "coalesce", "insert", "space", "collate", "int", "sql", "collation", "integer",
   50             "sqlca", "column", "intersect", "sqlcode", "commit", "interval", "sqlerror",
   51             "connect", "into", "sqlstate", "connection", "is", "sqlwarning", "constraint",
   52             "isolation", "substring", "constraints", "join", "sum", "continue", "key",
   53             "system_user", "convert", "language", "table", "corresponding", "last",
   54             "temporary", "count", "leading", "then", "create", "left", "time", "cross",
   55             "level", "timestamp", "current", "like", "timezone_hour", "current_date",
   56             "local", "timezone_minute", "current_time", "lower", "to", "current_timestamp",
   57             "match", "trailing", "current_user", "max", "transaction", "cursor", "min",
   58             "translate", "date", "minute", "translation", "day", "module", "trim",
   59             "deallocate", "month", "true", "dec", "names", "union", "decimal", "national",
   60             "unique", "declare", "natural", "unknown", "default", "nchar", "update",
   61             "deferrable", "next", "upper", "deferred", "no", "usage", "delete", "none",
   62             "user", "desc", "not", "using", "describe", "null", "value", "descriptor",
   63             "nullif", "values", "diagnostics", "numeric", "varchar", "disconnect",
   64             "octet_length", "varying", "distinct", "of", "view", "domain", "on", "when",
   65             "double", "only", "whenever", "drop", "open", "where", "else", "option", "with",
   66             "end", "or", "work", "end-exec", "order", "write", "escape", "outer", "year",
   67             "except", "output", "zone", "exception"},
   68   },
   69 
   70   { Id=3,
   71     Regex=[[(\w+)\s*\(]],
   72   },
   73 
   74   { Id=4,
   75     Regex=[[@?@\w+]],
   76   },
   77 }
   78 
   79 Strings={
   80   Delimiter=[["|']],
   81 }
   82 
   83 IgnoreCase=true
   84 
   85 Comments={
   86   { Block=false,
   87     Delimiter= { [[\-\-]] },
   88   },
   89   { Block=true,
   90     Nested=false,
   91     Delimiter= { [[\/\*]],[[\*\/]],}
   92   }
   93 }
   94 
   95 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]