Source Code Cross Referenced for TSQLTokenMarker.java in  » Report » iReport-2.0.5 » org » syntax » jedit » tokenmarker » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » iReport 2.0.5 » org.syntax.jedit.tokenmarker 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /*
0002:         * Copyright (C) 2005 - 2008 JasperSoft Corporation.  All rights reserved. 
0003:         * http://www.jaspersoft.com.
0004:         *
0005:         * Unless you have purchased a commercial license agreement from JasperSoft,
0006:         * the following license terms apply:
0007:         *
0008:         * This program is free software; you can redistribute it and/or modify
0009:         * it under the terms of the GNU General Public License version 2 as published by
0010:         * the Free Software Foundation.
0011:         *
0012:         * This program is distributed WITHOUT ANY WARRANTY; and without the
0013:         * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
0014:         * See the GNU General Public License for more details.
0015:         *
0016:         * You should have received a copy of the GNU General Public License
0017:         * along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
0018:         * or write to:
0019:         *
0020:         * Free Software Foundation, Inc.,
0021:         * 59 Temple Place - Suite 330,
0022:         * Boston, MA  USA  02111-1307
0023:         *
0024:         *
0025:         *
0026:         *
0027:         * TSQLTokenMarker.java
0028:         * 
0029:         */
0030:
0031:        package org.syntax.jedit.tokenmarker;
0032:
0033:        import org.syntax.jedit.*;
0034:        import javax.swing.text.Segment;
0035:
0036:        /**
0037:         * Transact-SQL token marker.
0038:         *
0039:         * @author mike dillon
0040:         * @version $Id: TSQLTokenMarker.java 1167 2008-01-15 18:49:05Z gtoffoli $
0041:         */
0042:        public class TSQLTokenMarker extends SQLTokenMarker {
0043:            // public members
0044:            public TSQLTokenMarker() {
0045:                super (getKeywordMap(), true);
0046:            }
0047:
0048:            public static KeywordMap getKeywordMap() {
0049:                if (tsqlKeywords == null) {
0050:                    tsqlKeywords = new KeywordMap(true);
0051:                    addKeywords();
0052:                    addDataTypes();
0053:                    addSystemFunctions();
0054:                    addOperators();
0055:                    addSystemStoredProcedures();
0056:                    addSystemTables();
0057:                }
0058:                return tsqlKeywords;
0059:            }
0060:
0061:            private static void addKeywords() {
0062:                tsqlKeywords.add("ADD", Token.KEYWORD1);
0063:                tsqlKeywords.add("ALTER", Token.KEYWORD1);
0064:                tsqlKeywords.add("ANSI_NULLS", Token.KEYWORD1);
0065:                tsqlKeywords.add("AS", Token.KEYWORD1);
0066:                tsqlKeywords.add("ASC", Token.KEYWORD1);
0067:                tsqlKeywords.add("AUTHORIZATION", Token.KEYWORD1);
0068:                tsqlKeywords.add("BACKUP", Token.KEYWORD1);
0069:                tsqlKeywords.add("BEGIN", Token.KEYWORD1);
0070:                tsqlKeywords.add("BREAK", Token.KEYWORD1);
0071:                tsqlKeywords.add("BROWSE", Token.KEYWORD1);
0072:                tsqlKeywords.add("BULK", Token.KEYWORD1);
0073:                tsqlKeywords.add("BY", Token.KEYWORD1);
0074:                tsqlKeywords.add("CASCADE", Token.KEYWORD1);
0075:                tsqlKeywords.add("CHECK", Token.KEYWORD1);
0076:                tsqlKeywords.add("CHECKPOINT", Token.KEYWORD1);
0077:                tsqlKeywords.add("CLOSE", Token.KEYWORD1);
0078:                tsqlKeywords.add("CLUSTERED", Token.KEYWORD1);
0079:                tsqlKeywords.add("COLUMN", Token.KEYWORD1);
0080:                tsqlKeywords.add("COMMIT", Token.KEYWORD1);
0081:                tsqlKeywords.add("COMMITTED", Token.KEYWORD1);
0082:                tsqlKeywords.add("COMPUTE", Token.KEYWORD1);
0083:                tsqlKeywords.add("CONFIRM", Token.KEYWORD1);
0084:                tsqlKeywords.add("CONSTRAINT", Token.KEYWORD1);
0085:                tsqlKeywords.add("CONTAINS", Token.KEYWORD1);
0086:                tsqlKeywords.add("CONTAINSTABLE", Token.KEYWORD1);
0087:                tsqlKeywords.add("CONTINUE", Token.KEYWORD1);
0088:                tsqlKeywords.add("CONTROLROW", Token.KEYWORD1);
0089:                tsqlKeywords.add("CREATE", Token.KEYWORD1);
0090:                tsqlKeywords.add("CURRENT", Token.KEYWORD1);
0091:                tsqlKeywords.add("CURRENT_DATE", Token.KEYWORD1);
0092:                tsqlKeywords.add("CURRENT_TIME", Token.KEYWORD1);
0093:                tsqlKeywords.add("CURSOR", Token.KEYWORD1);
0094:                tsqlKeywords.add("DATABASE", Token.KEYWORD1);
0095:                tsqlKeywords.add("DBCC", Token.KEYWORD1);
0096:                tsqlKeywords.add("DEALLOCATE", Token.KEYWORD1);
0097:                tsqlKeywords.add("DECLARE", Token.KEYWORD1);
0098:                tsqlKeywords.add("DEFAULT", Token.KEYWORD1);
0099:                tsqlKeywords.add("DELETE", Token.KEYWORD1);
0100:                tsqlKeywords.add("DENY", Token.KEYWORD1);
0101:                tsqlKeywords.add("DESC", Token.KEYWORD1);
0102:                tsqlKeywords.add("DISK", Token.KEYWORD1);
0103:                tsqlKeywords.add("DISTINCT", Token.KEYWORD1);
0104:                tsqlKeywords.add("DISTRIBUTED", Token.KEYWORD1);
0105:                tsqlKeywords.add("DOUBLE", Token.KEYWORD1);
0106:                tsqlKeywords.add("DROP", Token.KEYWORD1);
0107:                tsqlKeywords.add("DUMMY", Token.KEYWORD1);
0108:                tsqlKeywords.add("DUMP", Token.KEYWORD1);
0109:                tsqlKeywords.add("ELSE", Token.KEYWORD1);
0110:                tsqlKeywords.add("END", Token.KEYWORD1);
0111:                tsqlKeywords.add("ERRLVL", Token.KEYWORD1);
0112:                tsqlKeywords.add("ERROREXIT", Token.KEYWORD1);
0113:                tsqlKeywords.add("ESCAPE", Token.KEYWORD1);
0114:                tsqlKeywords.add("EXCEPT", Token.KEYWORD1);
0115:                tsqlKeywords.add("EXEC", Token.KEYWORD1);
0116:                tsqlKeywords.add("EXECUTE", Token.KEYWORD1);
0117:                tsqlKeywords.add("EXIT", Token.KEYWORD1);
0118:                tsqlKeywords.add("FETCH", Token.KEYWORD1);
0119:                tsqlKeywords.add("FILE", Token.KEYWORD1);
0120:                tsqlKeywords.add("FILLFACTOR", Token.KEYWORD1);
0121:                tsqlKeywords.add("FLOPPY", Token.KEYWORD1);
0122:                tsqlKeywords.add("FOR", Token.KEYWORD1);
0123:                tsqlKeywords.add("FOREIGN", Token.KEYWORD1);
0124:                tsqlKeywords.add("FREETEXT", Token.KEYWORD1);
0125:                tsqlKeywords.add("FREETEXTTABLE", Token.KEYWORD1);
0126:                tsqlKeywords.add("FROM", Token.KEYWORD1);
0127:                tsqlKeywords.add("FULL", Token.KEYWORD1);
0128:                tsqlKeywords.add("GOTO", Token.KEYWORD1);
0129:                tsqlKeywords.add("GRANT", Token.KEYWORD1);
0130:                tsqlKeywords.add("GROUP", Token.KEYWORD1);
0131:                tsqlKeywords.add("HAVING", Token.KEYWORD1);
0132:                tsqlKeywords.add("HOLDLOCK", Token.KEYWORD1);
0133:                tsqlKeywords.add("IDENTITY_INSERT", Token.KEYWORD1);
0134:                tsqlKeywords.add("IDENTITYCOL", Token.KEYWORD1);
0135:                tsqlKeywords.add("ID", Token.KEYWORD1);
0136:                tsqlKeywords.add("IF", Token.KEYWORD1);
0137:                tsqlKeywords.add("INDEX", Token.KEYWORD1);
0138:                tsqlKeywords.add("INNER", Token.KEYWORD1);
0139:                tsqlKeywords.add("INSERT", Token.KEYWORD1);
0140:                tsqlKeywords.add("INTO", Token.KEYWORD1);
0141:                tsqlKeywords.add("IS", Token.KEYWORD1);
0142:                tsqlKeywords.add("ISOLATION", Token.KEYWORD1);
0143:                tsqlKeywords.add("KEY", Token.KEYWORD1);
0144:                tsqlKeywords.add("KILL", Token.KEYWORD1);
0145:                tsqlKeywords.add("LEVEL", Token.KEYWORD1);
0146:                tsqlKeywords.add("LINENO", Token.KEYWORD1);
0147:                tsqlKeywords.add("LOAD", Token.KEYWORD1);
0148:                tsqlKeywords.add("MAX", Token.KEYWORD1);
0149:                tsqlKeywords.add("MIN", Token.KEYWORD1);
0150:                tsqlKeywords.add("MIRROREXIT", Token.KEYWORD1);
0151:                tsqlKeywords.add("NATIONAL", Token.KEYWORD1);
0152:                tsqlKeywords.add("NOCHECK", Token.KEYWORD1);
0153:                tsqlKeywords.add("NONCLUSTERED", Token.KEYWORD1);
0154:                tsqlKeywords.add("OF", Token.KEYWORD1);
0155:                tsqlKeywords.add("OFF", Token.KEYWORD1);
0156:                tsqlKeywords.add("OFFSETS", Token.KEYWORD1);
0157:                tsqlKeywords.add("ON", Token.KEYWORD1);
0158:                tsqlKeywords.add("ONCE", Token.KEYWORD1);
0159:                tsqlKeywords.add("ONLY", Token.KEYWORD1);
0160:                tsqlKeywords.add("OPEN", Token.KEYWORD1);
0161:                tsqlKeywords.add("OPENDATASOURCE", Token.KEYWORD1);
0162:                tsqlKeywords.add("OPENQUERY", Token.KEYWORD1);
0163:                tsqlKeywords.add("OPENROWSET", Token.KEYWORD1);
0164:                tsqlKeywords.add("OPTION", Token.KEYWORD1);
0165:                tsqlKeywords.add("ORDER", Token.KEYWORD1);
0166:                tsqlKeywords.add("OVER", Token.KEYWORD1);
0167:                tsqlKeywords.add("PERCENT", Token.KEYWORD1);
0168:                tsqlKeywords.add("PERM", Token.KEYWORD1);
0169:                tsqlKeywords.add("PERMANENT", Token.KEYWORD1);
0170:                tsqlKeywords.add("PIPE", Token.KEYWORD1);
0171:                tsqlKeywords.add("PLAN", Token.KEYWORD1);
0172:                tsqlKeywords.add("PRECISION", Token.KEYWORD1);
0173:                tsqlKeywords.add("PREPARE", Token.KEYWORD1);
0174:                tsqlKeywords.add("PRIMARY", Token.KEYWORD1);
0175:                tsqlKeywords.add("PRINT", Token.KEYWORD1);
0176:                tsqlKeywords.add("PRIVILEGES", Token.KEYWORD1);
0177:                tsqlKeywords.add("PROC", Token.KEYWORD1);
0178:                tsqlKeywords.add("PROCEDURE", Token.KEYWORD1);
0179:                tsqlKeywords.add("PROCESSEXIT", Token.KEYWORD1);
0180:                tsqlKeywords.add("PUBLIC", Token.KEYWORD1);
0181:                tsqlKeywords.add("QUOTED_IDENTIFIER", Token.KEYWORD1);
0182:                tsqlKeywords.add("RAISERROR", Token.KEYWORD1);
0183:                tsqlKeywords.add("READ", Token.KEYWORD1);
0184:                tsqlKeywords.add("READTEXT", Token.KEYWORD1);
0185:                tsqlKeywords.add("RECONFIGURE", Token.KEYWORD1);
0186:                tsqlKeywords.add("REFERENCES", Token.KEYWORD1);
0187:                tsqlKeywords.add("REPEATABLE", Token.KEYWORD1);
0188:                tsqlKeywords.add("REPLICATION", Token.KEYWORD1);
0189:                tsqlKeywords.add("RESTORE", Token.KEYWORD1);
0190:                tsqlKeywords.add("RESTRICT", Token.KEYWORD1);
0191:                tsqlKeywords.add("RETURN", Token.KEYWORD1);
0192:                tsqlKeywords.add("REVOKE", Token.KEYWORD1);
0193:                tsqlKeywords.add("ROLLBACK", Token.KEYWORD1);
0194:                tsqlKeywords.add("ROWGUIDCOL", Token.KEYWORD1);
0195:                tsqlKeywords.add("RULE", Token.KEYWORD1);
0196:                tsqlKeywords.add("SAVE", Token.KEYWORD1);
0197:                tsqlKeywords.add("SCHEMA", Token.KEYWORD1);
0198:                tsqlKeywords.add("SELECT", Token.KEYWORD1);
0199:                tsqlKeywords.add("SERIALIZABLE", Token.KEYWORD1);
0200:                tsqlKeywords.add("SET", Token.KEYWORD1);
0201:                tsqlKeywords.add("SETUSER", Token.KEYWORD1);
0202:                tsqlKeywords.add("SHUTDOWN", Token.KEYWORD1);
0203:                tsqlKeywords.add("STATISTICS", Token.KEYWORD1);
0204:                tsqlKeywords.add("TABLE", Token.KEYWORD1);
0205:                tsqlKeywords.add("TAPE", Token.KEYWORD1);
0206:                tsqlKeywords.add("TEMP", Token.KEYWORD1);
0207:                tsqlKeywords.add("TEMPORARY", Token.KEYWORD1);
0208:                tsqlKeywords.add("TEXTIMAGE_ON", Token.KEYWORD1);
0209:                tsqlKeywords.add("THEN", Token.KEYWORD1);
0210:                tsqlKeywords.add("TO", Token.KEYWORD1);
0211:                tsqlKeywords.add("TOP", Token.KEYWORD1);
0212:                tsqlKeywords.add("TRAN", Token.KEYWORD1);
0213:                tsqlKeywords.add("TRANSACTION", Token.KEYWORD1);
0214:                tsqlKeywords.add("TRIGGER", Token.KEYWORD1);
0215:                tsqlKeywords.add("TRUNCATE", Token.KEYWORD1);
0216:                tsqlKeywords.add("TSEQUAL", Token.KEYWORD1);
0217:                tsqlKeywords.add("UNCOMMITTED", Token.KEYWORD1);
0218:                tsqlKeywords.add("UNION", Token.KEYWORD1);
0219:                tsqlKeywords.add("UNIQUE", Token.KEYWORD1);
0220:                tsqlKeywords.add("UPDATE", Token.KEYWORD1);
0221:                tsqlKeywords.add("UPDATETEXT", Token.KEYWORD1);
0222:                tsqlKeywords.add("USE", Token.KEYWORD1);
0223:                tsqlKeywords.add("VALUES", Token.KEYWORD1);
0224:                tsqlKeywords.add("VARYING", Token.KEYWORD1);
0225:                tsqlKeywords.add("VIEW", Token.KEYWORD1);
0226:                tsqlKeywords.add("WAITFOR", Token.KEYWORD1);
0227:                tsqlKeywords.add("WHEN", Token.KEYWORD1);
0228:                tsqlKeywords.add("WHERE", Token.KEYWORD1);
0229:                tsqlKeywords.add("WHILE", Token.KEYWORD1);
0230:                tsqlKeywords.add("WITH", Token.KEYWORD1);
0231:                tsqlKeywords.add("WORK", Token.KEYWORD1);
0232:                tsqlKeywords.add("WRITETEXT", Token.KEYWORD1);
0233:            }
0234:
0235:            private static void addDataTypes() {
0236:                tsqlKeywords.add("binary", Token.KEYWORD1);
0237:                tsqlKeywords.add("bit", Token.KEYWORD1);
0238:                tsqlKeywords.add("char", Token.KEYWORD1);
0239:                tsqlKeywords.add("character", Token.KEYWORD1);
0240:                tsqlKeywords.add("datetime", Token.KEYWORD1);
0241:                tsqlKeywords.add("decimal", Token.KEYWORD1);
0242:                tsqlKeywords.add("float", Token.KEYWORD1);
0243:                tsqlKeywords.add("image", Token.KEYWORD1);
0244:                tsqlKeywords.add("int", Token.KEYWORD1);
0245:                tsqlKeywords.add("integer", Token.KEYWORD1);
0246:                tsqlKeywords.add("money", Token.KEYWORD1);
0247:                tsqlKeywords.add("name", Token.KEYWORD1);
0248:                tsqlKeywords.add("numeric", Token.KEYWORD1);
0249:                tsqlKeywords.add("nchar", Token.KEYWORD1);
0250:                tsqlKeywords.add("nvarchar", Token.KEYWORD1);
0251:                tsqlKeywords.add("ntext", Token.KEYWORD1);
0252:                tsqlKeywords.add("real", Token.KEYWORD1);
0253:                tsqlKeywords.add("smalldatetime", Token.KEYWORD1);
0254:                tsqlKeywords.add("smallint", Token.KEYWORD1);
0255:                tsqlKeywords.add("smallmoney", Token.KEYWORD1);
0256:                tsqlKeywords.add("text", Token.KEYWORD1);
0257:                tsqlKeywords.add("timestamp", Token.KEYWORD1);
0258:                tsqlKeywords.add("tinyint", Token.KEYWORD1);
0259:                tsqlKeywords.add("uniqueidentifier", Token.KEYWORD1);
0260:                tsqlKeywords.add("varbinary", Token.KEYWORD1);
0261:                tsqlKeywords.add("varchar", Token.KEYWORD1);
0262:            }
0263:
0264:            private static void addSystemFunctions() {
0265:                tsqlKeywords.add("@@CONNECTIONS", Token.KEYWORD2);
0266:                tsqlKeywords.add("@@CPU_BUSY", Token.KEYWORD2);
0267:                tsqlKeywords.add("@@CURSOR_ROWS", Token.KEYWORD2);
0268:                tsqlKeywords.add("@@DATEFIRST", Token.KEYWORD2);
0269:                tsqlKeywords.add("@@DBTS", Token.KEYWORD2);
0270:                tsqlKeywords.add("@@ERROR", Token.KEYWORD2);
0271:                tsqlKeywords.add("@@FETCH_STATUS", Token.KEYWORD2);
0272:                tsqlKeywords.add("@@IDENTITY", Token.KEYWORD2);
0273:                tsqlKeywords.add("@@IDLE", Token.KEYWORD2);
0274:                tsqlKeywords.add("@@IO_BUSY", Token.KEYWORD2);
0275:                tsqlKeywords.add("@@LANGID", Token.KEYWORD2);
0276:                tsqlKeywords.add("@@LANGUAGE", Token.KEYWORD2);
0277:                tsqlKeywords.add("@@LOCK_TIMEOUT", Token.KEYWORD2);
0278:                tsqlKeywords.add("@@MAX_CONNECTIONS", Token.KEYWORD2);
0279:                tsqlKeywords.add("@@MAX_PRECISION", Token.KEYWORD2);
0280:                tsqlKeywords.add("@@NESTLEVEL", Token.KEYWORD2);
0281:                tsqlKeywords.add("@@OPTIONS", Token.KEYWORD2);
0282:                tsqlKeywords.add("@@PACK_RECEIVED", Token.KEYWORD2);
0283:                tsqlKeywords.add("@@PACK_SENT", Token.KEYWORD2);
0284:                tsqlKeywords.add("@@PACKET_ERRORS", Token.KEYWORD2);
0285:                tsqlKeywords.add("@@PROCID", Token.KEYWORD2);
0286:                tsqlKeywords.add("@@REMSERVER", Token.KEYWORD2);
0287:                tsqlKeywords.add("@@ROWCOUNT", Token.KEYWORD2);
0288:                tsqlKeywords.add("@@SERVERNAME", Token.KEYWORD2);
0289:                tsqlKeywords.add("@@SERVICENAME", Token.KEYWORD2);
0290:                tsqlKeywords.add("@@SPID", Token.KEYWORD2);
0291:                tsqlKeywords.add("@@TEXTSIZE", Token.KEYWORD2);
0292:                tsqlKeywords.add("@@TIMETICKS", Token.KEYWORD2);
0293:                tsqlKeywords.add("@@TOTAL_ERRORS", Token.KEYWORD2);
0294:                tsqlKeywords.add("@@TOTAL_READ", Token.KEYWORD2);
0295:                tsqlKeywords.add("@@TOTAL_WRITE", Token.KEYWORD2);
0296:                tsqlKeywords.add("@@TRANCOUNT", Token.KEYWORD2);
0297:                tsqlKeywords.add("@@VERSION", Token.KEYWORD2);
0298:                tsqlKeywords.add("ABS", Token.KEYWORD2);
0299:                tsqlKeywords.add("ACOS", Token.KEYWORD2);
0300:                tsqlKeywords.add("APP_NAME", Token.KEYWORD2);
0301:                tsqlKeywords.add("ASCII", Token.KEYWORD2);
0302:                tsqlKeywords.add("ASIN", Token.KEYWORD2);
0303:                tsqlKeywords.add("ATAN", Token.KEYWORD2);
0304:                tsqlKeywords.add("ATN2", Token.KEYWORD2);
0305:                tsqlKeywords.add("CASE", Token.KEYWORD2);
0306:                tsqlKeywords.add("CAST", Token.KEYWORD2);
0307:                tsqlKeywords.add("CEILING", Token.KEYWORD2);
0308:                //				tsqlKeywords.add("CHAR",Token.KEYWORD2);
0309:                tsqlKeywords.add("CHARINDEX", Token.KEYWORD2);
0310:                tsqlKeywords.add("COALESCE", Token.KEYWORD2);
0311:                tsqlKeywords.add("COL_LENGTH", Token.KEYWORD2);
0312:                tsqlKeywords.add("COL_NAME", Token.KEYWORD2);
0313:                tsqlKeywords.add("COLUMNPROPERTY", Token.KEYWORD2);
0314:                tsqlKeywords.add("CONVERT", Token.KEYWORD2);
0315:                tsqlKeywords.add("COS", Token.KEYWORD2);
0316:                tsqlKeywords.add("COT", Token.KEYWORD2);
0317:                tsqlKeywords.add("CURRENT_TIME", Token.KEYWORD2);
0318:                tsqlKeywords.add("CURRENT_DATE", Token.KEYWORD2);
0319:                tsqlKeywords.add("CURRENT_TIMESTAMP", Token.KEYWORD2);
0320:                tsqlKeywords.add("CURRENT_USER", Token.KEYWORD2);
0321:                tsqlKeywords.add("CURSOR_STATUS", Token.KEYWORD2);
0322:                tsqlKeywords.add("DATABASEPROPERTY", Token.KEYWORD2);
0323:                tsqlKeywords.add("DATALENGTH", Token.KEYWORD2);
0324:                tsqlKeywords.add("DATEADD", Token.KEYWORD2);
0325:                tsqlKeywords.add("DATEDIFF", Token.KEYWORD2);
0326:                tsqlKeywords.add("DATENAME", Token.KEYWORD2);
0327:                tsqlKeywords.add("DATEPART", Token.KEYWORD2);
0328:                tsqlKeywords.add("DAY", Token.KEYWORD2);
0329:                tsqlKeywords.add("DB_ID", Token.KEYWORD2);
0330:                tsqlKeywords.add("DB_NAME", Token.KEYWORD2);
0331:                tsqlKeywords.add("DEGREES", Token.KEYWORD2);
0332:                tsqlKeywords.add("DIFFERENCE", Token.KEYWORD2);
0333:                tsqlKeywords.add("EXP", Token.KEYWORD2);
0334:                tsqlKeywords.add("FILE_ID", Token.KEYWORD2);
0335:                tsqlKeywords.add("FILE_NAME", Token.KEYWORD2);
0336:                tsqlKeywords.add("FILEGROUP_ID", Token.KEYWORD2);
0337:                tsqlKeywords.add("FILEGROUP_NAME", Token.KEYWORD2);
0338:                tsqlKeywords.add("FILEGROUPPROPERTY", Token.KEYWORD2);
0339:                tsqlKeywords.add("FILEPROPERTY", Token.KEYWORD2);
0340:                tsqlKeywords.add("FLOOR", Token.KEYWORD2);
0341:                tsqlKeywords.add("FORMATMESSAGE", Token.KEYWORD2);
0342:                tsqlKeywords.add("FULLTEXTCATALOGPROPERTY", Token.KEYWORD2);
0343:                tsqlKeywords.add("FULLTEXTSERVICEPROPERTY", Token.KEYWORD2);
0344:                tsqlKeywords.add("GETANSINULL", Token.KEYWORD2);
0345:                tsqlKeywords.add("GETDATE", Token.KEYWORD2);
0346:                tsqlKeywords.add("HOST_ID", Token.KEYWORD2);
0347:                tsqlKeywords.add("HOST_NAME", Token.KEYWORD2);
0348:                tsqlKeywords.add("IDENT_INCR", Token.KEYWORD2);
0349:                tsqlKeywords.add("IDENT_SEED", Token.KEYWORD2);
0350:                //				tsqlKeywords.add("IDENTITY",Token.KEYWORD2);
0351:                tsqlKeywords.add("IDENTITY_INSERT", Token.KEYWORD2);
0352:                tsqlKeywords.add("INDEX_COL", Token.KEYWORD2);
0353:                tsqlKeywords.add("INDEXPROPERTY", Token.KEYWORD2);
0354:                tsqlKeywords.add("IS_MEMBER", Token.KEYWORD2);
0355:                tsqlKeywords.add("IS_SRVROLEMEMBER", Token.KEYWORD2);
0356:                tsqlKeywords.add("ISDATE", Token.KEYWORD2);
0357:                tsqlKeywords.add("ISNULL", Token.KEYWORD2);
0358:                tsqlKeywords.add("ISNUMERIC", Token.KEYWORD2);
0359:                tsqlKeywords.add("LEFT", Token.KEYWORD2);
0360:                tsqlKeywords.add("LEN", Token.KEYWORD2);
0361:                tsqlKeywords.add("LOG", Token.KEYWORD2);
0362:                tsqlKeywords.add("LOG10", Token.KEYWORD2);
0363:                tsqlKeywords.add("LOWER", Token.KEYWORD2);
0364:                tsqlKeywords.add("LTRIM", Token.KEYWORD2);
0365:                tsqlKeywords.add("MONTH", Token.KEYWORD2);
0366:                //				tsqlKeywords.add("NCHAR",Token.KEYWORD2);
0367:                tsqlKeywords.add("NEWID", Token.KEYWORD2);
0368:                tsqlKeywords.add("NULLIF", Token.KEYWORD2);
0369:                tsqlKeywords.add("OBJECT_ID", Token.KEYWORD2);
0370:                tsqlKeywords.add("OBJECT_NAME", Token.KEYWORD2);
0371:                tsqlKeywords.add("OBJECTPROPERTY", Token.KEYWORD2);
0372:                tsqlKeywords.add("PARSENAME", Token.KEYWORD2);
0373:                tsqlKeywords.add("PATINDEX", Token.KEYWORD2);
0374:                tsqlKeywords.add("PERMISSIONS", Token.KEYWORD2);
0375:                tsqlKeywords.add("PI", Token.KEYWORD2);
0376:                tsqlKeywords.add("POWER", Token.KEYWORD2);
0377:                tsqlKeywords.add("QUOTENAME", Token.KEYWORD2);
0378:                tsqlKeywords.add("RADIANS", Token.KEYWORD2);
0379:                tsqlKeywords.add("RAND", Token.KEYWORD2);
0380:                tsqlKeywords.add("REPLACE", Token.KEYWORD2);
0381:                tsqlKeywords.add("REPLICATE", Token.KEYWORD2);
0382:                tsqlKeywords.add("REVERSE", Token.KEYWORD2);
0383:                tsqlKeywords.add("RIGHT", Token.KEYWORD2);
0384:                tsqlKeywords.add("ROUND", Token.KEYWORD2);
0385:                tsqlKeywords.add("RTRIM", Token.KEYWORD2);
0386:                tsqlKeywords.add("SESSION_USER", Token.KEYWORD2);
0387:                tsqlKeywords.add("SIGN", Token.KEYWORD2);
0388:                tsqlKeywords.add("SIN", Token.KEYWORD2);
0389:                tsqlKeywords.add("SOUNDEX", Token.KEYWORD2);
0390:                tsqlKeywords.add("SPACE", Token.KEYWORD2);
0391:                tsqlKeywords.add("SQRT", Token.KEYWORD2);
0392:                tsqlKeywords.add("SQUARE", Token.KEYWORD2);
0393:                tsqlKeywords.add("STATS_DATE", Token.KEYWORD2);
0394:                tsqlKeywords.add("STR", Token.KEYWORD2);
0395:                tsqlKeywords.add("STUFF", Token.KEYWORD2);
0396:                tsqlKeywords.add("SUBSTRING", Token.KEYWORD2);
0397:                tsqlKeywords.add("SUSER_ID", Token.KEYWORD2);
0398:                tsqlKeywords.add("SUSER_NAME", Token.KEYWORD2);
0399:                tsqlKeywords.add("SUSER_SID", Token.KEYWORD2);
0400:                tsqlKeywords.add("SUSER_SNAME", Token.KEYWORD2);
0401:                tsqlKeywords.add("SYSTEM_USER", Token.KEYWORD2);
0402:                tsqlKeywords.add("TAN", Token.KEYWORD2);
0403:                tsqlKeywords.add("TEXTPTR", Token.KEYWORD2);
0404:                tsqlKeywords.add("TEXTVALID", Token.KEYWORD2);
0405:                tsqlKeywords.add("TYPEPROPERTY", Token.KEYWORD2);
0406:                tsqlKeywords.add("UNICODE", Token.KEYWORD2);
0407:                tsqlKeywords.add("UPPER", Token.KEYWORD2);
0408:                tsqlKeywords.add("USER_ID", Token.KEYWORD2);
0409:                tsqlKeywords.add("USER_NAME", Token.KEYWORD2);
0410:                tsqlKeywords.add("USER", Token.KEYWORD2);
0411:                tsqlKeywords.add("YEAR", Token.KEYWORD2);
0412:            }
0413:
0414:            private static void addOperators() {
0415:                tsqlKeywords.add("ALL", Token.KEYWORD1);
0416:                tsqlKeywords.add("AND", Token.KEYWORD1);
0417:                tsqlKeywords.add("ANY", Token.KEYWORD1);
0418:                tsqlKeywords.add("BETWEEN", Token.KEYWORD1);
0419:                tsqlKeywords.add("CROSS", Token.KEYWORD1);
0420:                tsqlKeywords.add("EXISTS", Token.KEYWORD1);
0421:                tsqlKeywords.add("IN", Token.KEYWORD1);
0422:                tsqlKeywords.add("INTERSECT", Token.KEYWORD1);
0423:                tsqlKeywords.add("JOIN", Token.KEYWORD1);
0424:                tsqlKeywords.add("LIKE", Token.KEYWORD1);
0425:                tsqlKeywords.add("NOT", Token.KEYWORD1);
0426:                tsqlKeywords.add("NULL", Token.KEYWORD1);
0427:                tsqlKeywords.add("OR", Token.KEYWORD1);
0428:                tsqlKeywords.add("OUTER", Token.KEYWORD1);
0429:                tsqlKeywords.add("SOME", Token.KEYWORD1);
0430:            }
0431:
0432:            private static void addSystemStoredProcedures() {
0433:                tsqlKeywords.add("sp_add_agent_parameter", Token.KEYWORD3);
0434:                tsqlKeywords.add("sp_add_agent_profile", Token.KEYWORD3);
0435:                tsqlKeywords.add("sp_add_alert", Token.KEYWORD3);
0436:                tsqlKeywords.add("sp_add_category", Token.KEYWORD3);
0437:                tsqlKeywords.add("sp_add_data_file_recover_suspect_db",
0438:                        Token.KEYWORD3);
0439:                tsqlKeywords.add("sp_add_job", Token.KEYWORD3);
0440:                tsqlKeywords.add("sp_add_jobschedule", Token.KEYWORD3);
0441:                tsqlKeywords.add("sp_add_jobserver", Token.KEYWORD3);
0442:                tsqlKeywords.add("sp_add_jobstep", Token.KEYWORD3);
0443:                tsqlKeywords.add("sp_add_log_file_recover_suspect_db",
0444:                        Token.KEYWORD3);
0445:                tsqlKeywords.add("sp_add_notification", Token.KEYWORD3);
0446:                tsqlKeywords.add("sp_add_operator", Token.KEYWORD3);
0447:                tsqlKeywords.add("sp_add_targetservergroup", Token.KEYWORD3);
0448:                tsqlKeywords.add("sp_add_targetsvrgrp_member", Token.KEYWORD3);
0449:                tsqlKeywords.add("sp_addalias", Token.KEYWORD3);
0450:                tsqlKeywords.add("sp_addapprole", Token.KEYWORD3);
0451:                tsqlKeywords.add("sp_addarticle", Token.KEYWORD3);
0452:                tsqlKeywords.add("sp_adddistpublisher", Token.KEYWORD3);
0453:                tsqlKeywords.add("sp_adddistributiondb", Token.KEYWORD3);
0454:                tsqlKeywords.add("sp_adddistributor", Token.KEYWORD3);
0455:                tsqlKeywords.add("sp_addextendedproc", Token.KEYWORD3);
0456:                tsqlKeywords.add("sp_addgroup", Token.KEYWORD3);
0457:                tsqlKeywords.add("sp_addlinkedserver", Token.KEYWORD3);
0458:                tsqlKeywords.add("sp_addlinkedsrvlogin", Token.KEYWORD3);
0459:                tsqlKeywords.add("sp_addlinkedsrvlogin", Token.KEYWORD3);
0460:                tsqlKeywords.add("sp_addlogin", Token.KEYWORD3);
0461:                tsqlKeywords.add("sp_addmergearticle", Token.KEYWORD3);
0462:                tsqlKeywords.add("sp_addmergefilter", Token.KEYWORD3);
0463:                tsqlKeywords.add("sp_addmergepublication", Token.KEYWORD3);
0464:                tsqlKeywords.add("sp_addmergepullsubscription", Token.KEYWORD3);
0465:                tsqlKeywords.add("sp_addmergepullsubscription_agent",
0466:                        Token.KEYWORD3);
0467:                tsqlKeywords.add("sp_addmergesubscription", Token.KEYWORD3);
0468:                tsqlKeywords.add("sp_addmessage", Token.KEYWORD3);
0469:                tsqlKeywords.add("sp_addpublication", Token.KEYWORD3);
0470:                tsqlKeywords.add("sp_addpublication_snapshot", Token.KEYWORD3);
0471:                tsqlKeywords.add("sp_addpublisher70", Token.KEYWORD3);
0472:                tsqlKeywords.add("sp_addpullsubscription", Token.KEYWORD3);
0473:                tsqlKeywords
0474:                        .add("sp_addpullsubscription_agent", Token.KEYWORD3);
0475:                tsqlKeywords.add("sp_addremotelogin", Token.KEYWORD3);
0476:                tsqlKeywords.add("sp_addrole", Token.KEYWORD3);
0477:                tsqlKeywords.add("sp_addrolemember", Token.KEYWORD3);
0478:                tsqlKeywords.add("sp_addserver", Token.KEYWORD3);
0479:                tsqlKeywords.add("sp_addsrvrolemember", Token.KEYWORD3);
0480:                tsqlKeywords.add("sp_addsubscriber", Token.KEYWORD3);
0481:                tsqlKeywords.add("sp_addsubscriber_schedule", Token.KEYWORD3);
0482:                tsqlKeywords.add("sp_addsubscription", Token.KEYWORD3);
0483:                tsqlKeywords.add("sp_addsynctriggers", Token.KEYWORD3);
0484:                tsqlKeywords.add("sp_addtabletocontents", Token.KEYWORD3);
0485:                tsqlKeywords.add("sp_addtask", Token.KEYWORD3);
0486:                tsqlKeywords.add("sp_addtype", Token.KEYWORD3);
0487:                tsqlKeywords.add("sp_addumpdevice", Token.KEYWORD3);
0488:                tsqlKeywords.add("sp_adduser", Token.KEYWORD3);
0489:                tsqlKeywords.add("sp_altermessage", Token.KEYWORD3);
0490:                tsqlKeywords.add("sp_apply_job_to_targets", Token.KEYWORD3);
0491:                tsqlKeywords.add("sp_approlepassword", Token.KEYWORD3);
0492:                tsqlKeywords.add("sp_article_validation", Token.KEYWORD3);
0493:                tsqlKeywords.add("sp_articlecolumn", Token.KEYWORD3);
0494:                tsqlKeywords.add("sp_articlefilter", Token.KEYWORD3);
0495:                tsqlKeywords.add("sp_articlesynctranprocs", Token.KEYWORD3);
0496:                tsqlKeywords.add("sp_articleview", Token.KEYWORD3);
0497:                tsqlKeywords.add("sp_attach_db", Token.KEYWORD3);
0498:                tsqlKeywords.add("sp_attach_single_file_db", Token.KEYWORD3);
0499:                tsqlKeywords.add("sp_autostats", Token.KEYWORD3);
0500:                tsqlKeywords.add("sp_bindefault", Token.KEYWORD3);
0501:                tsqlKeywords.add("sp_bindrule", Token.KEYWORD3);
0502:                tsqlKeywords.add("sp_bindsession", Token.KEYWORD3);
0503:                tsqlKeywords.add("sp_browsereplcmds", Token.KEYWORD3);
0504:                tsqlKeywords.add("sp_catalogs", Token.KEYWORD3);
0505:                tsqlKeywords.add("sp_certify_removable", Token.KEYWORD3);
0506:                tsqlKeywords.add("sp_change_agent_parameter", Token.KEYWORD3);
0507:                tsqlKeywords.add("sp_change_agent_profile", Token.KEYWORD3);
0508:                tsqlKeywords.add("sp_change_subscription_properties",
0509:                        Token.KEYWORD3);
0510:                tsqlKeywords.add("sp_change_users_login", Token.KEYWORD3);
0511:                tsqlKeywords.add("sp_changearticle", Token.KEYWORD3);
0512:                tsqlKeywords.add("sp_changedbowner", Token.KEYWORD3);
0513:                tsqlKeywords.add("sp_changedistpublisher", Token.KEYWORD3);
0514:                tsqlKeywords.add("sp_changedistributiondb", Token.KEYWORD3);
0515:                tsqlKeywords.add("sp_changedistributor_password",
0516:                        Token.KEYWORD3);
0517:                tsqlKeywords.add("sp_changedistributor_property",
0518:                        Token.KEYWORD3);
0519:                tsqlKeywords.add("sp_changegroup", Token.KEYWORD3);
0520:                tsqlKeywords.add("sp_changemergearticle", Token.KEYWORD3);
0521:                tsqlKeywords.add("sp_changemergefilter", Token.KEYWORD3);
0522:                tsqlKeywords.add("sp_changemergepublication", Token.KEYWORD3);
0523:                tsqlKeywords.add("sp_changemergepullsubscription",
0524:                        Token.KEYWORD3);
0525:                tsqlKeywords.add("sp_changemergesubscription", Token.KEYWORD3);
0526:                tsqlKeywords.add("sp_changeobjectowner", Token.KEYWORD3);
0527:                tsqlKeywords.add("sp_changepublication", Token.KEYWORD3);
0528:                tsqlKeywords.add("sp_changesubscriber", Token.KEYWORD3);
0529:                tsqlKeywords
0530:                        .add("sp_changesubscriber_schedule", Token.KEYWORD3);
0531:                tsqlKeywords.add("sp_changesubstatus", Token.KEYWORD3);
0532:                tsqlKeywords.add("sp_check_for_sync_trigger", Token.KEYWORD3);
0533:                tsqlKeywords.add("sp_column_privileges", Token.KEYWORD3);
0534:                tsqlKeywords.add("sp_column_privileges_ex", Token.KEYWORD3);
0535:                tsqlKeywords.add("sp_columns", Token.KEYWORD3);
0536:                tsqlKeywords.add("sp_columns_ex", Token.KEYWORD3);
0537:                tsqlKeywords.add("sp_configure", Token.KEYWORD3);
0538:                tsqlKeywords.add("sp_create_removable", Token.KEYWORD3);
0539:                tsqlKeywords.add("sp_createorphan", Token.KEYWORD3);
0540:                tsqlKeywords.add("sp_createstats", Token.KEYWORD3);
0541:                tsqlKeywords.add("sp_cursor", Token.KEYWORD3);
0542:                tsqlKeywords.add("sp_cursor_list", Token.KEYWORD3);
0543:                tsqlKeywords.add("sp_cursorclose", Token.KEYWORD3);
0544:                tsqlKeywords.add("sp_cursorexecute", Token.KEYWORD3);
0545:                tsqlKeywords.add("sp_cursorfetch", Token.KEYWORD3);
0546:                tsqlKeywords.add("sp_cursoropen", Token.KEYWORD3);
0547:                tsqlKeywords.add("sp_cursoroption", Token.KEYWORD3);
0548:                tsqlKeywords.add("sp_cursorprepare", Token.KEYWORD3);
0549:                tsqlKeywords.add("sp_cursorunprepare", Token.KEYWORD3);
0550:                tsqlKeywords.add("sp_cycle_errorlog", Token.KEYWORD3);
0551:                tsqlKeywords.add("sp_databases", Token.KEYWORD3);
0552:                tsqlKeywords.add("sp_datatype_info", Token.KEYWORD3);
0553:                tsqlKeywords.add("sp_dbcmptlevel", Token.KEYWORD3);
0554:                tsqlKeywords.add("sp_dbfixedrolepermission", Token.KEYWORD3);
0555:                tsqlKeywords.add("sp_dboption", Token.KEYWORD3);
0556:                tsqlKeywords.add("sp_defaultdb", Token.KEYWORD3);
0557:                tsqlKeywords.add("sp_defaultlanguage", Token.KEYWORD3);
0558:                tsqlKeywords.add("sp_delete_alert", Token.KEYWORD3);
0559:                tsqlKeywords.add("sp_delete_backuphistory", Token.KEYWORD3);
0560:                tsqlKeywords.add("sp_delete_category", Token.KEYWORD3);
0561:                tsqlKeywords.add("sp_delete_job", Token.KEYWORD3);
0562:                tsqlKeywords.add("sp_delete_jobschedule", Token.KEYWORD3);
0563:                tsqlKeywords.add("sp_delete_jobserver", Token.KEYWORD3);
0564:                tsqlKeywords.add("sp_delete_jobstep", Token.KEYWORD3);
0565:                tsqlKeywords.add("sp_delete_notification", Token.KEYWORD3);
0566:                tsqlKeywords.add("sp_delete_operator", Token.KEYWORD3);
0567:                tsqlKeywords.add("sp_delete_targetserver", Token.KEYWORD3);
0568:                tsqlKeywords.add("sp_delete_targetservergroup", Token.KEYWORD3);
0569:                tsqlKeywords.add("sp_delete_targetsvrgrp_member",
0570:                        Token.KEYWORD3);
0571:                tsqlKeywords.add("sp_deletemergeconflictrow", Token.KEYWORD3);
0572:                tsqlKeywords.add("sp_denylogin", Token.KEYWORD3);
0573:                tsqlKeywords.add("sp_depends", Token.KEYWORD3);
0574:                tsqlKeywords.add("sp_describe_cursor", Token.KEYWORD3);
0575:                tsqlKeywords.add("sp_describe_cursor_columns", Token.KEYWORD3);
0576:                tsqlKeywords.add("sp_describe_cursor_tables", Token.KEYWORD3);
0577:                tsqlKeywords.add("sp_detach_db", Token.KEYWORD3);
0578:                tsqlKeywords.add("sp_drop_agent_parameter", Token.KEYWORD3);
0579:                tsqlKeywords.add("sp_drop_agent_profile", Token.KEYWORD3);
0580:                tsqlKeywords.add("sp_dropalias", Token.KEYWORD3);
0581:                tsqlKeywords.add("sp_dropapprole", Token.KEYWORD3);
0582:                tsqlKeywords.add("sp_droparticle", Token.KEYWORD3);
0583:                tsqlKeywords.add("sp_dropdevice", Token.KEYWORD3);
0584:                tsqlKeywords.add("sp_dropdistpublisher", Token.KEYWORD3);
0585:                tsqlKeywords.add("sp_dropdistributiondb", Token.KEYWORD3);
0586:                tsqlKeywords.add("sp_dropdistributor", Token.KEYWORD3);
0587:                tsqlKeywords.add("sp_dropextendedproc", Token.KEYWORD3);
0588:                tsqlKeywords.add("sp_dropgroup", Token.KEYWORD3);
0589:                tsqlKeywords.add("sp_droplinkedsrvlogin", Token.KEYWORD3);
0590:                tsqlKeywords.add("sp_droplinkedsrvlogin", Token.KEYWORD3);
0591:                tsqlKeywords.add("sp_droplogin", Token.KEYWORD3);
0592:                tsqlKeywords.add("sp_dropmergearticle", Token.KEYWORD3);
0593:                tsqlKeywords.add("sp_dropmergefilter", Token.KEYWORD3);
0594:                tsqlKeywords.add("sp_dropmergepublication", Token.KEYWORD3);
0595:                tsqlKeywords
0596:                        .add("sp_dropmergepullsubscription", Token.KEYWORD3);
0597:                tsqlKeywords.add("sp_dropmergesubscription", Token.KEYWORD3);
0598:                tsqlKeywords.add("sp_dropmessage", Token.KEYWORD3);
0599:                tsqlKeywords.add("sp_droporphans", Token.KEYWORD3);
0600:                tsqlKeywords.add("sp_droppublication", Token.KEYWORD3);
0601:                tsqlKeywords.add("sp_droppullsubscription", Token.KEYWORD3);
0602:                tsqlKeywords.add("sp_dropremotelogin", Token.KEYWORD3);
0603:                tsqlKeywords.add("sp_droprole", Token.KEYWORD3);
0604:                tsqlKeywords.add("sp_droprolemember", Token.KEYWORD3);
0605:                tsqlKeywords.add("sp_dropserver", Token.KEYWORD3);
0606:                tsqlKeywords.add("sp_dropsrvrolemember", Token.KEYWORD3);
0607:                tsqlKeywords.add("sp_dropsubscriber", Token.KEYWORD3);
0608:                tsqlKeywords.add("sp_dropsubscription", Token.KEYWORD3);
0609:                tsqlKeywords.add("sp_droptask", Token.KEYWORD3);
0610:                tsqlKeywords.add("sp_droptype", Token.KEYWORD3);
0611:                tsqlKeywords.add("sp_dropuser", Token.KEYWORD3);
0612:                tsqlKeywords.add("sp_dropwebtask", Token.KEYWORD3);
0613:                tsqlKeywords.add("sp_dsninfo", Token.KEYWORD3);
0614:                tsqlKeywords.add("sp_dumpparamcmd", Token.KEYWORD3);
0615:                tsqlKeywords.add("sp_enumcodepages", Token.KEYWORD3);
0616:                tsqlKeywords.add("sp_enumcustomresolvers", Token.KEYWORD3);
0617:                tsqlKeywords.add("sp_enumdsn", Token.KEYWORD3);
0618:                tsqlKeywords.add("sp_enumfullsubscribers", Token.KEYWORD3);
0619:                tsqlKeywords.add("sp_execute", Token.KEYWORD3);
0620:                tsqlKeywords.add("sp_executesql", Token.KEYWORD3);
0621:                tsqlKeywords.add("sp_expired_subscription_cleanup",
0622:                        Token.KEYWORD3);
0623:                tsqlKeywords.add("sp_fkeys", Token.KEYWORD3);
0624:                tsqlKeywords.add("sp_foreignkeys", Token.KEYWORD3);
0625:                tsqlKeywords.add("sp_fulltext_catalog", Token.KEYWORD3);
0626:                tsqlKeywords.add("sp_fulltext_column", Token.KEYWORD3);
0627:                tsqlKeywords.add("sp_fulltext_database", Token.KEYWORD3);
0628:                tsqlKeywords.add("sp_fulltext_service", Token.KEYWORD3);
0629:                tsqlKeywords.add("sp_fulltext_table", Token.KEYWORD3);
0630:                tsqlKeywords.add("sp_generatefilters", Token.KEYWORD3);
0631:                tsqlKeywords.add("sp_get_distributor", Token.KEYWORD3);
0632:                tsqlKeywords.add("sp_getbindtoken", Token.KEYWORD3);
0633:                tsqlKeywords.add("sp_getmergedeletetype", Token.KEYWORD3);
0634:                tsqlKeywords.add("sp_grant_publication_access", Token.KEYWORD3);
0635:                tsqlKeywords.add("sp_grantdbaccess", Token.KEYWORD3);
0636:                tsqlKeywords.add("sp_grantlogin", Token.KEYWORD3);
0637:                tsqlKeywords.add("sp_help", Token.KEYWORD3);
0638:                tsqlKeywords.add("sp_help_agent_default", Token.KEYWORD3);
0639:                tsqlKeywords.add("sp_help_agent_parameter", Token.KEYWORD3);
0640:                tsqlKeywords.add("sp_help_agent_profile", Token.KEYWORD3);
0641:                tsqlKeywords.add("sp_help_alert", Token.KEYWORD3);
0642:                tsqlKeywords.add("sp_help_category", Token.KEYWORD3);
0643:                tsqlKeywords.add("sp_help_downloadlist", Token.KEYWORD3);
0644:                tsqlKeywords.add("sp_help_fulltext_catalogs", Token.KEYWORD3);
0645:                tsqlKeywords.add("sp_help_fulltext_catalogs_cursor",
0646:                        Token.KEYWORD3);
0647:                tsqlKeywords.add("sp_help_fulltext_columns", Token.KEYWORD3);
0648:                tsqlKeywords.add("sp_help_fulltext_columns_cursor",
0649:                        Token.KEYWORD3);
0650:                tsqlKeywords.add("sp_help_fulltext_tables", Token.KEYWORD3);
0651:                tsqlKeywords.add("sp_help_fulltext_tables_cursor",
0652:                        Token.KEYWORD3);
0653:                tsqlKeywords.add("sp_help_job", Token.KEYWORD3);
0654:                tsqlKeywords.add("sp_help_jobhistory", Token.KEYWORD3);
0655:                tsqlKeywords.add("sp_help_jobschedule", Token.KEYWORD3);
0656:                tsqlKeywords.add("sp_help_jobserver", Token.KEYWORD3);
0657:                tsqlKeywords.add("sp_help_jobstep", Token.KEYWORD3);
0658:                tsqlKeywords.add("sp_help_notification", Token.KEYWORD3);
0659:                tsqlKeywords.add("sp_help_operator", Token.KEYWORD3);
0660:                tsqlKeywords.add("sp_help_publication_access", Token.KEYWORD3);
0661:                tsqlKeywords.add("sp_help_targetserver", Token.KEYWORD3);
0662:                tsqlKeywords.add("sp_help_targetservergroup", Token.KEYWORD3);
0663:                tsqlKeywords.add("sp_helparticle", Token.KEYWORD3);
0664:                tsqlKeywords.add("sp_helparticlecolumns", Token.KEYWORD3);
0665:                tsqlKeywords.add("sp_helpconstraint", Token.KEYWORD3);
0666:                tsqlKeywords.add("sp_helpdb", Token.KEYWORD3);
0667:                tsqlKeywords.add("sp_helpdbfixedrole", Token.KEYWORD3);
0668:                tsqlKeywords.add("sp_helpdevice", Token.KEYWORD3);
0669:                tsqlKeywords.add("sp_helpdistpublisher", Token.KEYWORD3);
0670:                tsqlKeywords.add("sp_helpdistributiondb", Token.KEYWORD3);
0671:                tsqlKeywords.add("sp_helpdistributor", Token.KEYWORD3);
0672:                tsqlKeywords.add("sp_helpextendedproc", Token.KEYWORD3);
0673:                tsqlKeywords.add("sp_helpfile", Token.KEYWORD3);
0674:                tsqlKeywords.add("sp_helpfilegroup", Token.KEYWORD3);
0675:                tsqlKeywords.add("sp_helpgroup", Token.KEYWORD3);
0676:                tsqlKeywords.add("sp_helphistory", Token.KEYWORD3);
0677:                tsqlKeywords.add("sp_helpindex", Token.KEYWORD3);
0678:                tsqlKeywords.add("sp_helplanguage", Token.KEYWORD3);
0679:                tsqlKeywords.add("sp_helplinkedsrvlogin", Token.KEYWORD3);
0680:                tsqlKeywords.add("sp_helplogins", Token.KEYWORD3);
0681:                tsqlKeywords.add("sp_helpmergearticle", Token.KEYWORD3);
0682:                tsqlKeywords
0683:                        .add("sp_helpmergearticleconflicts", Token.KEYWORD3);
0684:                tsqlKeywords.add("sp_helpmergeconflictrows", Token.KEYWORD3);
0685:                tsqlKeywords.add("sp_helpmergedeleteconflictrows",
0686:                        Token.KEYWORD3);
0687:                tsqlKeywords.add("sp_helpmergefilter", Token.KEYWORD3);
0688:                tsqlKeywords.add("sp_helpmergepublication", Token.KEYWORD3);
0689:                tsqlKeywords
0690:                        .add("sp_helpmergepullsubscription", Token.KEYWORD3);
0691:                tsqlKeywords.add("sp_helpmergesubscription", Token.KEYWORD3);
0692:                tsqlKeywords.add("sp_helpntgroup", Token.KEYWORD3);
0693:                tsqlKeywords.add("sp_helppublication", Token.KEYWORD3);
0694:                tsqlKeywords.add("sp_helppullsubscription", Token.KEYWORD3);
0695:                tsqlKeywords.add("sp_helpremotelogin", Token.KEYWORD3);
0696:                tsqlKeywords.add("sp_helpreplicationdboption", Token.KEYWORD3);
0697:                tsqlKeywords.add("sp_helprole", Token.KEYWORD3);
0698:                tsqlKeywords.add("sp_helprolemember", Token.KEYWORD3);
0699:                tsqlKeywords.add("sp_helprotect", Token.KEYWORD3);
0700:                tsqlKeywords.add("sp_helpserver", Token.KEYWORD3);
0701:                tsqlKeywords.add("sp_helpsort", Token.KEYWORD3);
0702:                tsqlKeywords.add("sp_helpsrvrole", Token.KEYWORD3);
0703:                tsqlKeywords.add("sp_helpsrvrolemember", Token.KEYWORD3);
0704:                tsqlKeywords.add("sp_helpsubscriberinfo", Token.KEYWORD3);
0705:                tsqlKeywords.add("sp_helpsubscription", Token.KEYWORD3);
0706:                tsqlKeywords.add("sp_helpsubscription_properties",
0707:                        Token.KEYWORD3);
0708:                tsqlKeywords.add("sp_helptask", Token.KEYWORD3);
0709:                tsqlKeywords.add("sp_helptext", Token.KEYWORD3);
0710:                tsqlKeywords.add("sp_helptrigger", Token.KEYWORD3);
0711:                tsqlKeywords.add("sp_helpuser", Token.KEYWORD3);
0712:                tsqlKeywords.add("sp_indexes", Token.KEYWORD3);
0713:                tsqlKeywords.add("sp_indexoption", Token.KEYWORD3);
0714:                tsqlKeywords.add("sp_link_publication", Token.KEYWORD3);
0715:                tsqlKeywords.add("sp_linkedservers", Token.KEYWORD3);
0716:                tsqlKeywords.add("sp_lock", Token.KEYWORD3);
0717:                tsqlKeywords.add("sp_makewebtask", Token.KEYWORD3);
0718:                tsqlKeywords.add("sp_manage_jobs_by_login", Token.KEYWORD3);
0719:                tsqlKeywords.add("sp_mergedummyupdate", Token.KEYWORD3);
0720:                tsqlKeywords
0721:                        .add("sp_mergesubscription_cleanup", Token.KEYWORD3);
0722:                tsqlKeywords.add("sp_monitor", Token.KEYWORD3);
0723:                tsqlKeywords.add("sp_msx_defect", Token.KEYWORD3);
0724:                tsqlKeywords.add("sp_msx_enlist", Token.KEYWORD3);
0725:                tsqlKeywords.add("sp_OACreate", Token.KEYWORD3);
0726:                tsqlKeywords.add("sp_OADestroy", Token.KEYWORD3);
0727:                tsqlKeywords.add("sp_OAGetErrorInfo", Token.KEYWORD3);
0728:                tsqlKeywords.add("sp_OAGetProperty", Token.KEYWORD3);
0729:                tsqlKeywords.add("sp_OAMethod", Token.KEYWORD3);
0730:                tsqlKeywords.add("sp_OASetProperty", Token.KEYWORD3);
0731:                tsqlKeywords.add("sp_OAStop", Token.KEYWORD3);
0732:                tsqlKeywords.add("sp_password", Token.KEYWORD3);
0733:                tsqlKeywords.add("sp_pkeys", Token.KEYWORD3);
0734:                tsqlKeywords.add("sp_post_msx_operation", Token.KEYWORD3);
0735:                tsqlKeywords.add("sp_prepare", Token.KEYWORD3);
0736:                tsqlKeywords.add("sp_primarykeys", Token.KEYWORD3);
0737:                tsqlKeywords.add("sp_processmail", Token.KEYWORD3);
0738:                tsqlKeywords.add("sp_procoption", Token.KEYWORD3);
0739:                tsqlKeywords.add("sp_publication_validation", Token.KEYWORD3);
0740:                tsqlKeywords.add("sp_purge_jobhistory", Token.KEYWORD3);
0741:                tsqlKeywords.add("sp_purgehistory", Token.KEYWORD3);
0742:                tsqlKeywords.add("sp_reassigntask", Token.KEYWORD3);
0743:                tsqlKeywords.add("sp_recompile", Token.KEYWORD3);
0744:                tsqlKeywords.add("sp_refreshsubscriptions", Token.KEYWORD3);
0745:                tsqlKeywords.add("sp_refreshview", Token.KEYWORD3);
0746:                tsqlKeywords.add("sp_reinitmergepullsubscription",
0747:                        Token.KEYWORD3);
0748:                tsqlKeywords.add("sp_reinitmergesubscription", Token.KEYWORD3);
0749:                tsqlKeywords.add("sp_reinitpullsubscription", Token.KEYWORD3);
0750:                tsqlKeywords.add("sp_reinitsubscription", Token.KEYWORD3);
0751:                tsqlKeywords.add("sp_remoteoption", Token.KEYWORD3);
0752:                tsqlKeywords.add("sp_remove_job_from_targets", Token.KEYWORD3);
0753:                tsqlKeywords.add("sp_removedbreplication", Token.KEYWORD3);
0754:                tsqlKeywords.add("sp_rename", Token.KEYWORD3);
0755:                tsqlKeywords.add("sp_renamedb", Token.KEYWORD3);
0756:                tsqlKeywords.add("sp_replcmds", Token.KEYWORD3);
0757:                tsqlKeywords.add("sp_replcounters", Token.KEYWORD3);
0758:                tsqlKeywords.add("sp_repldone", Token.KEYWORD3);
0759:                tsqlKeywords.add("sp_replflush", Token.KEYWORD3);
0760:                tsqlKeywords
0761:                        .add("sp_replication_agent_checkup", Token.KEYWORD3);
0762:                tsqlKeywords.add("sp_replicationdboption", Token.KEYWORD3);
0763:                tsqlKeywords.add("sp_replsetoriginator", Token.KEYWORD3);
0764:                tsqlKeywords.add("sp_replshowcmds", Token.KEYWORD3);
0765:                tsqlKeywords.add("sp_repltrans", Token.KEYWORD3);
0766:                tsqlKeywords.add("sp_reset_connection", Token.KEYWORD3);
0767:                tsqlKeywords.add("sp_resync_targetserver", Token.KEYWORD3);
0768:                tsqlKeywords
0769:                        .add("sp_revoke_publication_access", Token.KEYWORD3);
0770:                tsqlKeywords.add("sp_revokedbaccess", Token.KEYWORD3);
0771:                tsqlKeywords.add("sp_revokelogin", Token.KEYWORD3);
0772:                tsqlKeywords.add("sp_runwebtask", Token.KEYWORD3);
0773:                tsqlKeywords.add("sp_script_synctran_commands", Token.KEYWORD3);
0774:                tsqlKeywords.add("sp_scriptdelproc", Token.KEYWORD3);
0775:                tsqlKeywords.add("sp_scriptinsproc", Token.KEYWORD3);
0776:                tsqlKeywords.add("sp_scriptmappedupdproc", Token.KEYWORD3);
0777:                tsqlKeywords.add("sp_scriptupdproc", Token.KEYWORD3);
0778:                tsqlKeywords.add("sp_sdidebug", Token.KEYWORD3);
0779:                tsqlKeywords.add("sp_server_info", Token.KEYWORD3);
0780:                tsqlKeywords.add("sp_serveroption", Token.KEYWORD3);
0781:                tsqlKeywords.add("sp_serveroption", Token.KEYWORD3);
0782:                tsqlKeywords.add("sp_setapprole", Token.KEYWORD3);
0783:                tsqlKeywords.add("sp_setnetname", Token.KEYWORD3);
0784:                tsqlKeywords.add("sp_spaceused", Token.KEYWORD3);
0785:                tsqlKeywords.add("sp_special_columns", Token.KEYWORD3);
0786:                tsqlKeywords.add("sp_sproc_columns", Token.KEYWORD3);
0787:                tsqlKeywords.add("sp_srvrolepermission", Token.KEYWORD3);
0788:                tsqlKeywords.add("sp_start_job", Token.KEYWORD3);
0789:                tsqlKeywords.add("sp_statistics", Token.KEYWORD3);
0790:                tsqlKeywords.add("sp_stop_job", Token.KEYWORD3);
0791:                tsqlKeywords.add("sp_stored_procedures", Token.KEYWORD3);
0792:                tsqlKeywords.add("sp_subscription_cleanup", Token.KEYWORD3);
0793:                tsqlKeywords.add("sp_table_privileges", Token.KEYWORD3);
0794:                tsqlKeywords.add("sp_table_privileges_ex", Token.KEYWORD3);
0795:                tsqlKeywords.add("sp_table_validation", Token.KEYWORD3);
0796:                tsqlKeywords.add("sp_tableoption", Token.KEYWORD3);
0797:                tsqlKeywords.add("sp_tables", Token.KEYWORD3);
0798:                tsqlKeywords.add("sp_tables_ex", Token.KEYWORD3);
0799:                tsqlKeywords.add("sp_unbindefault", Token.KEYWORD3);
0800:                tsqlKeywords.add("sp_unbindrule", Token.KEYWORD3);
0801:                tsqlKeywords.add("sp_unprepare", Token.KEYWORD3);
0802:                tsqlKeywords.add("sp_update_agent_profile", Token.KEYWORD3);
0803:                tsqlKeywords.add("sp_update_alert", Token.KEYWORD3);
0804:                tsqlKeywords.add("sp_update_category", Token.KEYWORD3);
0805:                tsqlKeywords.add("sp_update_job", Token.KEYWORD3);
0806:                tsqlKeywords.add("sp_update_jobschedule", Token.KEYWORD3);
0807:                tsqlKeywords.add("sp_update_jobstep", Token.KEYWORD3);
0808:                tsqlKeywords.add("sp_update_notification", Token.KEYWORD3);
0809:                tsqlKeywords.add("sp_update_operator", Token.KEYWORD3);
0810:                tsqlKeywords.add("sp_update_targetservergroup", Token.KEYWORD3);
0811:                tsqlKeywords.add("sp_updatestats", Token.KEYWORD3);
0812:                tsqlKeywords.add("sp_updatetask", Token.KEYWORD3);
0813:                tsqlKeywords.add("sp_validatelogins", Token.KEYWORD3);
0814:                tsqlKeywords.add("sp_validname", Token.KEYWORD3);
0815:                tsqlKeywords.add("sp_who", Token.KEYWORD3);
0816:                tsqlKeywords.add("xp_cmdshell", Token.KEYWORD3);
0817:                tsqlKeywords.add("xp_deletemail", Token.KEYWORD3);
0818:                tsqlKeywords.add("xp_enumgroups", Token.KEYWORD3);
0819:                tsqlKeywords.add("xp_findnextmsg", Token.KEYWORD3);
0820:                tsqlKeywords.add("xp_findnextmsg", Token.KEYWORD3);
0821:                tsqlKeywords.add("xp_grantlogin", Token.KEYWORD3);
0822:                tsqlKeywords.add("xp_logevent", Token.KEYWORD3);
0823:                tsqlKeywords.add("xp_loginconfig", Token.KEYWORD3);
0824:                tsqlKeywords.add("xp_logininfo", Token.KEYWORD3);
0825:                tsqlKeywords.add("xp_msver", Token.KEYWORD3);
0826:                tsqlKeywords.add("xp_readmail", Token.KEYWORD3);
0827:                tsqlKeywords.add("xp_revokelogin", Token.KEYWORD3);
0828:                tsqlKeywords.add("xp_sendmail", Token.KEYWORD3);
0829:                tsqlKeywords.add("xp_sprintf", Token.KEYWORD3);
0830:                tsqlKeywords.add("xp_sqlinventory", Token.KEYWORD3);
0831:                tsqlKeywords.add("xp_sqlmaint", Token.KEYWORD3);
0832:                tsqlKeywords.add("xp_sqltrace", Token.KEYWORD3);
0833:                tsqlKeywords.add("xp_sscanf", Token.KEYWORD3);
0834:                tsqlKeywords.add("xp_startmail", Token.KEYWORD3);
0835:                tsqlKeywords.add("xp_stopmail", Token.KEYWORD3);
0836:                tsqlKeywords.add("xp_trace_addnewqueue", Token.KEYWORD3);
0837:                tsqlKeywords.add("xp_trace_deletequeuedefinition",
0838:                        Token.KEYWORD3);
0839:                tsqlKeywords.add("xp_trace_destroyqueue", Token.KEYWORD3);
0840:                tsqlKeywords.add("xp_trace_enumqueuedefname", Token.KEYWORD3);
0841:                tsqlKeywords.add("xp_trace_enumqueuehandles", Token.KEYWORD3);
0842:                tsqlKeywords.add("xp_trace_eventclassrequired", Token.KEYWORD3);
0843:                tsqlKeywords.add("xp_trace_flushqueryhistory", Token.KEYWORD3);
0844:                tsqlKeywords.add("xp_trace_generate_event", Token.KEYWORD3);
0845:                tsqlKeywords.add("xp_trace_getappfilter", Token.KEYWORD3);
0846:                tsqlKeywords.add("xp_trace_getconnectionidfilter",
0847:                        Token.KEYWORD3);
0848:                tsqlKeywords.add("xp_trace_getcpufilter", Token.KEYWORD3);
0849:                tsqlKeywords.add("xp_trace_getdbidfilter", Token.KEYWORD3);
0850:                tsqlKeywords.add("xp_trace_getdurationfilter", Token.KEYWORD3);
0851:                tsqlKeywords.add("xp_trace_geteventfilter", Token.KEYWORD3);
0852:                tsqlKeywords.add("xp_trace_geteventnames", Token.KEYWORD3);
0853:                tsqlKeywords.add("xp_trace_getevents", Token.KEYWORD3);
0854:                tsqlKeywords.add("xp_trace_gethostfilter", Token.KEYWORD3);
0855:                tsqlKeywords.add("xp_trace_gethpidfilter", Token.KEYWORD3);
0856:                tsqlKeywords.add("xp_trace_getindidfilter", Token.KEYWORD3);
0857:                tsqlKeywords.add("xp_trace_getntdmfilter", Token.KEYWORD3);
0858:                tsqlKeywords.add("xp_trace_getntnmfilter", Token.KEYWORD3);
0859:                tsqlKeywords.add("xp_trace_getobjidfilter", Token.KEYWORD3);
0860:                tsqlKeywords.add("xp_trace_getqueueautostart", Token.KEYWORD3);
0861:                tsqlKeywords
0862:                        .add("xp_trace_getqueuedestination", Token.KEYWORD3);
0863:                tsqlKeywords.add("xp_trace_getqueueproperties", Token.KEYWORD3);
0864:                tsqlKeywords.add("xp_trace_getreadfilter", Token.KEYWORD3);
0865:                tsqlKeywords.add("xp_trace_getserverfilter", Token.KEYWORD3);
0866:                tsqlKeywords.add("xp_trace_getseverityfilter", Token.KEYWORD3);
0867:                tsqlKeywords.add("xp_trace_getspidfilter", Token.KEYWORD3);
0868:                tsqlKeywords
0869:                        .add("xp_trace_getsysobjectsfilter", Token.KEYWORD3);
0870:                tsqlKeywords.add("xp_trace_gettextfilter", Token.KEYWORD3);
0871:                tsqlKeywords.add("xp_trace_getuserfilter", Token.KEYWORD3);
0872:                tsqlKeywords.add("xp_trace_getwritefilter", Token.KEYWORD3);
0873:                tsqlKeywords
0874:                        .add("xp_trace_loadqueuedefinition", Token.KEYWORD3);
0875:                tsqlKeywords.add("xp_trace_pausequeue", Token.KEYWORD3);
0876:                tsqlKeywords.add("xp_trace_restartqueue", Token.KEYWORD3);
0877:                tsqlKeywords
0878:                        .add("xp_trace_savequeuedefinition", Token.KEYWORD3);
0879:                tsqlKeywords.add("xp_trace_setappfilter", Token.KEYWORD3);
0880:                tsqlKeywords.add("xp_trace_setconnectionidfilter",
0881:                        Token.KEYWORD3);
0882:                tsqlKeywords.add("xp_trace_setcpufilter", Token.KEYWORD3);
0883:                tsqlKeywords.add("xp_trace_setdbidfilter", Token.KEYWORD3);
0884:                tsqlKeywords.add("xp_trace_setdurationfilter", Token.KEYWORD3);
0885:                tsqlKeywords.add("xp_trace_seteventclassrequired",
0886:                        Token.KEYWORD3);
0887:                tsqlKeywords.add("xp_trace_seteventfilter", Token.KEYWORD3);
0888:                tsqlKeywords.add("xp_trace_sethostfilter", Token.KEYWORD3);
0889:                tsqlKeywords.add("xp_trace_sethpidfilter", Token.KEYWORD3);
0890:                tsqlKeywords.add("xp_trace_setindidfilter", Token.KEYWORD3);
0891:                tsqlKeywords.add("xp_trace_setntdmfilter", Token.KEYWORD3);
0892:                tsqlKeywords.add("xp_trace_setntnmfilter", Token.KEYWORD3);
0893:                tsqlKeywords.add("xp_trace_setobjidfilter", Token.KEYWORD3);
0894:                tsqlKeywords.add("xp_trace_setqueryhistory", Token.KEYWORD3);
0895:                tsqlKeywords.add("xp_trace_setqueueautostart", Token.KEYWORD3);
0896:                tsqlKeywords.add("xp_trace_setqueuecreateinfo", Token.KEYWORD3);
0897:                tsqlKeywords
0898:                        .add("xp_trace_setqueuedestination", Token.KEYWORD3);
0899:                tsqlKeywords.add("xp_trace_setreadfilter", Token.KEYWORD3);
0900:                tsqlKeywords.add("xp_trace_setserverfilter", Token.KEYWORD3);
0901:                tsqlKeywords.add("xp_trace_setseverityfilter", Token.KEYWORD3);
0902:                tsqlKeywords.add("xp_trace_setspidfilter", Token.KEYWORD3);
0903:                tsqlKeywords
0904:                        .add("xp_trace_setsysobjectsfilter", Token.KEYWORD3);
0905:                tsqlKeywords.add("xp_trace_settextfilter", Token.KEYWORD3);
0906:                tsqlKeywords.add("xp_trace_setuserfilter", Token.KEYWORD3);
0907:                tsqlKeywords.add("xp_trace_setwritefilter", Token.KEYWORD3);
0908:            }
0909:
0910:            private static void addSystemTables() {
0911:                tsqlKeywords.add("backupfile", Token.KEYWORD3);
0912:                tsqlKeywords.add("backupmediafamily", Token.KEYWORD3);
0913:                tsqlKeywords.add("backupmediaset", Token.KEYWORD3);
0914:                tsqlKeywords.add("backupset", Token.KEYWORD3);
0915:                tsqlKeywords.add("MSagent_parameters", Token.KEYWORD3);
0916:                tsqlKeywords.add("MSagent_profiles", Token.KEYWORD3);
0917:                tsqlKeywords.add("MSarticles", Token.KEYWORD3);
0918:                tsqlKeywords.add("MSdistpublishers", Token.KEYWORD3);
0919:                tsqlKeywords.add("MSdistribution_agents", Token.KEYWORD3);
0920:                tsqlKeywords.add("MSdistribution_history", Token.KEYWORD3);
0921:                tsqlKeywords.add("MSdistributiondbs", Token.KEYWORD3);
0922:                tsqlKeywords.add("MSdistributor", Token.KEYWORD3);
0923:                tsqlKeywords.add("MSlogreader_agents", Token.KEYWORD3);
0924:                tsqlKeywords.add("MSlogreader_history", Token.KEYWORD3);
0925:                tsqlKeywords.add("MSmerge_agents", Token.KEYWORD3);
0926:                tsqlKeywords.add("MSmerge_contents", Token.KEYWORD3);
0927:                tsqlKeywords.add("MSmerge_delete_conflicts", Token.KEYWORD3);
0928:                tsqlKeywords.add("MSmerge_genhistory", Token.KEYWORD3);
0929:                tsqlKeywords.add("MSmerge_history", Token.KEYWORD3);
0930:                tsqlKeywords.add("MSmerge_replinfo", Token.KEYWORD3);
0931:                tsqlKeywords.add("MSmerge_subscriptions", Token.KEYWORD3);
0932:                tsqlKeywords.add("MSmerge_tombstone", Token.KEYWORD3);
0933:                tsqlKeywords.add("MSpublication_access", Token.KEYWORD3);
0934:                tsqlKeywords.add("Mspublications", Token.KEYWORD3);
0935:                tsqlKeywords.add("Mspublisher_databases", Token.KEYWORD3);
0936:                tsqlKeywords.add("MSrepl_commands", Token.KEYWORD3);
0937:                tsqlKeywords.add("MSrepl_errors", Token.KEYWORD3);
0938:                tsqlKeywords.add("Msrepl_originators", Token.KEYWORD3);
0939:                tsqlKeywords.add("MSrepl_transactions", Token.KEYWORD3);
0940:                tsqlKeywords.add("MSrepl_version", Token.KEYWORD3);
0941:                tsqlKeywords.add("MSreplication_objects", Token.KEYWORD3);
0942:                tsqlKeywords.add("MSreplication_subscriptions", Token.KEYWORD3);
0943:                tsqlKeywords.add("MSsnapshot_agents", Token.KEYWORD3);
0944:                tsqlKeywords.add("MSsnapshot_history", Token.KEYWORD3);
0945:                tsqlKeywords.add("MSsubscriber_info", Token.KEYWORD3);
0946:                tsqlKeywords.add("MSsubscriber_schedule", Token.KEYWORD3);
0947:                tsqlKeywords.add("MSsubscription_properties", Token.KEYWORD3);
0948:                tsqlKeywords.add("MSsubscriptions", Token.KEYWORD3);
0949:                tsqlKeywords.add("restorefile", Token.KEYWORD3);
0950:                tsqlKeywords.add("restorefilegroup", Token.KEYWORD3);
0951:                tsqlKeywords.add("restorehistory", Token.KEYWORD3);
0952:                tsqlKeywords.add("sysalerts", Token.KEYWORD3);
0953:                tsqlKeywords.add("sysallocations", Token.KEYWORD3);
0954:                tsqlKeywords.add("sysaltfiles", Token.KEYWORD3);
0955:                tsqlKeywords.add("sysarticles", Token.KEYWORD3);
0956:                tsqlKeywords.add("sysarticleupdates", Token.KEYWORD3);
0957:                tsqlKeywords.add("syscacheobjects", Token.KEYWORD3);
0958:                tsqlKeywords.add("syscategories", Token.KEYWORD3);
0959:                tsqlKeywords.add("syscharsets", Token.KEYWORD3);
0960:                tsqlKeywords.add("syscolumns", Token.KEYWORD3);
0961:                tsqlKeywords.add("syscomments", Token.KEYWORD3);
0962:                tsqlKeywords.add("sysconfigures", Token.KEYWORD3);
0963:                tsqlKeywords.add("sysconstraints", Token.KEYWORD3);
0964:                tsqlKeywords.add("syscurconfigs", Token.KEYWORD3);
0965:                tsqlKeywords.add("sysdatabases", Token.KEYWORD3);
0966:                tsqlKeywords.add("sysdatabases", Token.KEYWORD3);
0967:                tsqlKeywords.add("sysdepends", Token.KEYWORD3);
0968:                tsqlKeywords.add("sysdevices", Token.KEYWORD3);
0969:                tsqlKeywords.add("sysdownloadlist", Token.KEYWORD3);
0970:                tsqlKeywords.add("sysfilegroups", Token.KEYWORD3);
0971:                tsqlKeywords.add("sysfiles", Token.KEYWORD3);
0972:                tsqlKeywords.add("sysforeignkeys", Token.KEYWORD3);
0973:                tsqlKeywords.add("sysfulltextcatalogs", Token.KEYWORD3);
0974:                tsqlKeywords.add("sysindexes", Token.KEYWORD3);
0975:                tsqlKeywords.add("sysindexkeys", Token.KEYWORD3);
0976:                tsqlKeywords.add("sysjobhistory", Token.KEYWORD3);
0977:                tsqlKeywords.add("sysjobs", Token.KEYWORD3);
0978:                tsqlKeywords.add("sysjobschedules", Token.KEYWORD3);
0979:                tsqlKeywords.add("sysjobservers", Token.KEYWORD3);
0980:                tsqlKeywords.add("sysjobsteps", Token.KEYWORD3);
0981:                tsqlKeywords.add("syslanguages", Token.KEYWORD3);
0982:                tsqlKeywords.add("syslockinfo", Token.KEYWORD3);
0983:                tsqlKeywords.add("syslogins", Token.KEYWORD3);
0984:                tsqlKeywords.add("sysmembers", Token.KEYWORD3);
0985:                tsqlKeywords.add("sysmergearticles", Token.KEYWORD3);
0986:                tsqlKeywords.add("sysmergepublications", Token.KEYWORD3);
0987:                tsqlKeywords.add("sysmergeschemachange", Token.KEYWORD3);
0988:                tsqlKeywords.add("sysmergesubscriptions", Token.KEYWORD3);
0989:                tsqlKeywords.add("sysmergesubsetfilters", Token.KEYWORD3);
0990:                tsqlKeywords.add("sysmessages", Token.KEYWORD3);
0991:                tsqlKeywords.add("sysnotifications", Token.KEYWORD3);
0992:                tsqlKeywords.add("sysobjects", Token.KEYWORD3);
0993:                tsqlKeywords.add("sysobjects", Token.KEYWORD3);
0994:                tsqlKeywords.add("sysoledbusers", Token.KEYWORD3);
0995:                tsqlKeywords.add("sysoperators", Token.KEYWORD3);
0996:                tsqlKeywords.add("sysperfinfo", Token.KEYWORD3);
0997:                tsqlKeywords.add("syspermissions", Token.KEYWORD3);
0998:                tsqlKeywords.add("sysprocesses", Token.KEYWORD3);
0999:                tsqlKeywords.add("sysprotects", Token.KEYWORD3);
1000:                tsqlKeywords.add("syspublications", Token.KEYWORD3);
1001:                tsqlKeywords.add("sysreferences", Token.KEYWORD3);
1002:                tsqlKeywords.add("sysremotelogins", Token.KEYWORD3);
1003:                tsqlKeywords.add("sysreplicationalerts", Token.KEYWORD3);
1004:                tsqlKeywords.add("sysservers", Token.KEYWORD3);
1005:                tsqlKeywords.add("sysservers", Token.KEYWORD3);
1006:                tsqlKeywords.add("syssubscriptions", Token.KEYWORD3);
1007:                tsqlKeywords.add("systargetservergroupmembers", Token.KEYWORD3);
1008:                tsqlKeywords.add("systargetservergroups", Token.KEYWORD3);
1009:                tsqlKeywords.add("systargetservers", Token.KEYWORD3);
1010:                tsqlKeywords.add("systaskids", Token.KEYWORD3);
1011:                tsqlKeywords.add("systypes", Token.KEYWORD3);
1012:                tsqlKeywords.add("sysusers", Token.KEYWORD3);
1013:            }
1014:
1015:            private static KeywordMap tsqlKeywords;
1016:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.