Source Code Cross Referenced for TSQLTokenMarker.java in  » XML-UI » XUI » net » xoetrope » builder » editor » syntaxhighlight » 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 » XML UI » XUI » net.xoetrope.builder.editor.syntaxhighlight 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package net.xoetrope.builder.editor.syntaxhighlight;
002:
003:        /*
004:         * TSQLTokenMarker.java - Transact-SQL token marker
005:         * Copyright (C) 1999 mike dillon
006:         *
007:         * You may use and modify this package for any purpose. Redistribution is
008:         * permitted, in both source and binary form, provided that this notice
009:         * remains intact in all source distributions of this package.
010:         */
011:
012:        import javax.swing.text.Segment;
013:
014:        /**
015:         * Transact-SQL token marker.
016:         *
017:         * @author mike dillon
018:         * @version $Id: TSQLTokenMarker.java,v 1.22 2005/01/05 17:20:50 luano Exp $
019:         */
020:        public class TSQLTokenMarker extends SQLTokenMarker {
021:            // public members
022:            public TSQLTokenMarker() {
023:                super (getKeywordMap(), true);
024:            }
025:
026:            public static KeywordMap getKeywordMap() {
027:                if (tsqlKeywords == null) {
028:                    tsqlKeywords = new KeywordMap(true);
029:                    addKeywords();
030:                    addDataTypes();
031:                    addSystemFunctions();
032:                    addOperators();
033:                    addSystemStoredProcedures();
034:                    addSystemTables();
035:                }
036:                return tsqlKeywords;
037:            }
038:
039:            private static void addKeywords() {
040:                tsqlKeywords.add("ADD", Token.KEYWORD1);
041:                tsqlKeywords.add("ALTER", Token.KEYWORD1);
042:                tsqlKeywords.add("ANSI_NULLS", Token.KEYWORD1);
043:                tsqlKeywords.add("AS", Token.KEYWORD1);
044:                tsqlKeywords.add("ASC", Token.KEYWORD1);
045:                tsqlKeywords.add("AUTHORIZATION", Token.KEYWORD1);
046:                tsqlKeywords.add("BACKUP", Token.KEYWORD1);
047:                tsqlKeywords.add("BEGIN", Token.KEYWORD1);
048:                tsqlKeywords.add("BREAK", Token.KEYWORD1);
049:                tsqlKeywords.add("BROWSE", Token.KEYWORD1);
050:                tsqlKeywords.add("BULK", Token.KEYWORD1);
051:                tsqlKeywords.add("BY", Token.KEYWORD1);
052:                tsqlKeywords.add("CASCADE", Token.KEYWORD1);
053:                tsqlKeywords.add("CHECK", Token.KEYWORD1);
054:                tsqlKeywords.add("CHECKPOINT", Token.KEYWORD1);
055:                tsqlKeywords.add("CLOSE", Token.KEYWORD1);
056:                tsqlKeywords.add("CLUSTERED", Token.KEYWORD1);
057:                tsqlKeywords.add("COLUMN", Token.KEYWORD1);
058:                tsqlKeywords.add("COMMIT", Token.KEYWORD1);
059:                tsqlKeywords.add("COMMITTED", Token.KEYWORD1);
060:                tsqlKeywords.add("COMPUTE", Token.KEYWORD1);
061:                tsqlKeywords.add("CONFIRM", Token.KEYWORD1);
062:                tsqlKeywords.add("CONSTRAINT", Token.KEYWORD1);
063:                tsqlKeywords.add("CONTAINS", Token.KEYWORD1);
064:                tsqlKeywords.add("CONTAINSTABLE", Token.KEYWORD1);
065:                tsqlKeywords.add("CONTINUE", Token.KEYWORD1);
066:                tsqlKeywords.add("CONTROLROW", Token.KEYWORD1);
067:                tsqlKeywords.add("CREATE", Token.KEYWORD1);
068:                tsqlKeywords.add("CURRENT", Token.KEYWORD1);
069:                tsqlKeywords.add("CURRENT_DATE", Token.KEYWORD1);
070:                tsqlKeywords.add("CURRENT_TIME", Token.KEYWORD1);
071:                tsqlKeywords.add("CURSOR", Token.KEYWORD1);
072:                tsqlKeywords.add("DATABASE", Token.KEYWORD1);
073:                tsqlKeywords.add("DBCC", Token.KEYWORD1);
074:                tsqlKeywords.add("DEALLOCATE", Token.KEYWORD1);
075:                tsqlKeywords.add("DECLARE", Token.KEYWORD1);
076:                tsqlKeywords.add("DEFAULT", Token.KEYWORD1);
077:                tsqlKeywords.add("DELETE", Token.KEYWORD1);
078:                tsqlKeywords.add("DENY", Token.KEYWORD1);
079:                tsqlKeywords.add("DESC", Token.KEYWORD1);
080:                tsqlKeywords.add("DISK", Token.KEYWORD1);
081:                tsqlKeywords.add("DISTINCT", Token.KEYWORD1);
082:                tsqlKeywords.add("DISTRIBUTED", Token.KEYWORD1);
083:                tsqlKeywords.add("DOUBLE", Token.KEYWORD1);
084:                tsqlKeywords.add("DROP", Token.KEYWORD1);
085:                tsqlKeywords.add("DUMMY", Token.KEYWORD1);
086:                tsqlKeywords.add("DUMP", Token.KEYWORD1);
087:                tsqlKeywords.add("ELSE", Token.KEYWORD1);
088:                tsqlKeywords.add("END", Token.KEYWORD1);
089:                tsqlKeywords.add("ERRLVL", Token.KEYWORD1);
090:                tsqlKeywords.add("ERROREXIT", Token.KEYWORD1);
091:                tsqlKeywords.add("ESCAPE", Token.KEYWORD1);
092:                tsqlKeywords.add("EXCEPT", Token.KEYWORD1);
093:                tsqlKeywords.add("EXEC", Token.KEYWORD1);
094:                tsqlKeywords.add("EXECUTE", Token.KEYWORD1);
095:                tsqlKeywords.add("EXIT", Token.KEYWORD1);
096:                tsqlKeywords.add("FETCH", Token.KEYWORD1);
097:                tsqlKeywords.add("FILE", Token.KEYWORD1);
098:                tsqlKeywords.add("FILLFACTOR", Token.KEYWORD1);
099:                tsqlKeywords.add("FLOPPY", Token.KEYWORD1);
100:                tsqlKeywords.add("FOR", Token.KEYWORD1);
101:                tsqlKeywords.add("FOREIGN", Token.KEYWORD1);
102:                tsqlKeywords.add("FREETEXT", Token.KEYWORD1);
103:                tsqlKeywords.add("FREETEXTTABLE", Token.KEYWORD1);
104:                tsqlKeywords.add("FROM", Token.KEYWORD1);
105:                tsqlKeywords.add("FULL", Token.KEYWORD1);
106:                tsqlKeywords.add("GOTO", Token.KEYWORD1);
107:                tsqlKeywords.add("GRANT", Token.KEYWORD1);
108:                tsqlKeywords.add("GROUP", Token.KEYWORD1);
109:                tsqlKeywords.add("HAVING", Token.KEYWORD1);
110:                tsqlKeywords.add("HOLDLOCK", Token.KEYWORD1);
111:                tsqlKeywords.add("IDENTITY_INSERT", Token.KEYWORD1);
112:                tsqlKeywords.add("IDENTITYCOL", Token.KEYWORD1);
113:                tsqlKeywords.add("ID", Token.KEYWORD1);
114:                tsqlKeywords.add("IF", Token.KEYWORD1);
115:                tsqlKeywords.add("INDEX", Token.KEYWORD1);
116:                tsqlKeywords.add("INNER", Token.KEYWORD1);
117:                tsqlKeywords.add("INSERT", Token.KEYWORD1);
118:                tsqlKeywords.add("INTO", Token.KEYWORD1);
119:                tsqlKeywords.add("IS", Token.KEYWORD1);
120:                tsqlKeywords.add("ISOLATION", Token.KEYWORD1);
121:                tsqlKeywords.add("KEY", Token.KEYWORD1);
122:                tsqlKeywords.add("KILL", Token.KEYWORD1);
123:                tsqlKeywords.add("LEVEL", Token.KEYWORD1);
124:                tsqlKeywords.add("LINENO", Token.KEYWORD1);
125:                tsqlKeywords.add("LOAD", Token.KEYWORD1);
126:                tsqlKeywords.add("MAX", Token.KEYWORD1);
127:                tsqlKeywords.add("MIN", Token.KEYWORD1);
128:                tsqlKeywords.add("MIRROREXIT", Token.KEYWORD1);
129:                tsqlKeywords.add("NATIONAL", Token.KEYWORD1);
130:                tsqlKeywords.add("NOCHECK", Token.KEYWORD1);
131:                tsqlKeywords.add("NONCLUSTERED", Token.KEYWORD1);
132:                tsqlKeywords.add("OF", Token.KEYWORD1);
133:                tsqlKeywords.add("OFF", Token.KEYWORD1);
134:                tsqlKeywords.add("OFFSETS", Token.KEYWORD1);
135:                tsqlKeywords.add("ON", Token.KEYWORD1);
136:                tsqlKeywords.add("ONCE", Token.KEYWORD1);
137:                tsqlKeywords.add("ONLY", Token.KEYWORD1);
138:                tsqlKeywords.add("OPEN", Token.KEYWORD1);
139:                tsqlKeywords.add("OPENDATASOURCE", Token.KEYWORD1);
140:                tsqlKeywords.add("OPENQUERY", Token.KEYWORD1);
141:                tsqlKeywords.add("OPENROWSET", Token.KEYWORD1);
142:                tsqlKeywords.add("OPTION", Token.KEYWORD1);
143:                tsqlKeywords.add("ORDER", Token.KEYWORD1);
144:                tsqlKeywords.add("OVER", Token.KEYWORD1);
145:                tsqlKeywords.add("PERCENT", Token.KEYWORD1);
146:                tsqlKeywords.add("PERM", Token.KEYWORD1);
147:                tsqlKeywords.add("PERMANENT", Token.KEYWORD1);
148:                tsqlKeywords.add("PIPE", Token.KEYWORD1);
149:                tsqlKeywords.add("PLAN", Token.KEYWORD1);
150:                tsqlKeywords.add("PRECISION", Token.KEYWORD1);
151:                tsqlKeywords.add("PREPARE", Token.KEYWORD1);
152:                tsqlKeywords.add("PRIMARY", Token.KEYWORD1);
153:                tsqlKeywords.add("PRINT", Token.KEYWORD1);
154:                tsqlKeywords.add("PRIVILEGES", Token.KEYWORD1);
155:                tsqlKeywords.add("PROC", Token.KEYWORD1);
156:                tsqlKeywords.add("PROCEDURE", Token.KEYWORD1);
157:                tsqlKeywords.add("PROCESSEXIT", Token.KEYWORD1);
158:                tsqlKeywords.add("PUBLIC", Token.KEYWORD1);
159:                tsqlKeywords.add("QUOTED_IDENTIFIER", Token.KEYWORD1);
160:                tsqlKeywords.add("RAISERROR", Token.KEYWORD1);
161:                tsqlKeywords.add("READ", Token.KEYWORD1);
162:                tsqlKeywords.add("READTEXT", Token.KEYWORD1);
163:                tsqlKeywords.add("RECONFIGURE", Token.KEYWORD1);
164:                tsqlKeywords.add("REFERENCES", Token.KEYWORD1);
165:                tsqlKeywords.add("REPEATABLE", Token.KEYWORD1);
166:                tsqlKeywords.add("REPLICATION", Token.KEYWORD1);
167:                tsqlKeywords.add("RESTORE", Token.KEYWORD1);
168:                tsqlKeywords.add("RESTRICT", Token.KEYWORD1);
169:                tsqlKeywords.add("RETURN", Token.KEYWORD1);
170:                tsqlKeywords.add("REVOKE", Token.KEYWORD1);
171:                tsqlKeywords.add("ROLLBACK", Token.KEYWORD1);
172:                tsqlKeywords.add("ROWGUIDCOL", Token.KEYWORD1);
173:                tsqlKeywords.add("RULE", Token.KEYWORD1);
174:                tsqlKeywords.add("SAVE", Token.KEYWORD1);
175:                tsqlKeywords.add("SCHEMA", Token.KEYWORD1);
176:                tsqlKeywords.add("SELECT", Token.KEYWORD1);
177:                tsqlKeywords.add("SERIALIZABLE", Token.KEYWORD1);
178:                tsqlKeywords.add("SET", Token.KEYWORD1);
179:                tsqlKeywords.add("SETUSER", Token.KEYWORD1);
180:                tsqlKeywords.add("SHUTDOWN", Token.KEYWORD1);
181:                tsqlKeywords.add("STATISTICS", Token.KEYWORD1);
182:                tsqlKeywords.add("TABLE", Token.KEYWORD1);
183:                tsqlKeywords.add("TAPE", Token.KEYWORD1);
184:                tsqlKeywords.add("TEMP", Token.KEYWORD1);
185:                tsqlKeywords.add("TEMPORARY", Token.KEYWORD1);
186:                tsqlKeywords.add("TEXTIMAGE_ON", Token.KEYWORD1);
187:                tsqlKeywords.add("THEN", Token.KEYWORD1);
188:                tsqlKeywords.add("TO", Token.KEYWORD1);
189:                tsqlKeywords.add("TOP", Token.KEYWORD1);
190:                tsqlKeywords.add("TRAN", Token.KEYWORD1);
191:                tsqlKeywords.add("TRANSACTION", Token.KEYWORD1);
192:                tsqlKeywords.add("TRIGGER", Token.KEYWORD1);
193:                tsqlKeywords.add("TRUNCATE", Token.KEYWORD1);
194:                tsqlKeywords.add("TSEQUAL", Token.KEYWORD1);
195:                tsqlKeywords.add("UNCOMMITTED", Token.KEYWORD1);
196:                tsqlKeywords.add("UNION", Token.KEYWORD1);
197:                tsqlKeywords.add("UNIQUE", Token.KEYWORD1);
198:                tsqlKeywords.add("UPDATE", Token.KEYWORD1);
199:                tsqlKeywords.add("UPDATETEXT", Token.KEYWORD1);
200:                tsqlKeywords.add("USE", Token.KEYWORD1);
201:                tsqlKeywords.add("VALUES", Token.KEYWORD1);
202:                tsqlKeywords.add("VARYING", Token.KEYWORD1);
203:                tsqlKeywords.add("VIEW", Token.KEYWORD1);
204:                tsqlKeywords.add("WAITFOR", Token.KEYWORD1);
205:                tsqlKeywords.add("WHEN", Token.KEYWORD1);
206:                tsqlKeywords.add("WHERE", Token.KEYWORD1);
207:                tsqlKeywords.add("WHILE", Token.KEYWORD1);
208:                tsqlKeywords.add("WITH", Token.KEYWORD1);
209:                tsqlKeywords.add("WORK", Token.KEYWORD1);
210:                tsqlKeywords.add("WRITETEXT", Token.KEYWORD1);
211:            }
212:
213:            private static void addDataTypes() {
214:                tsqlKeywords.add("binary", Token.KEYWORD1);
215:                tsqlKeywords.add("bit", Token.KEYWORD1);
216:                tsqlKeywords.add("char", Token.KEYWORD1);
217:                tsqlKeywords.add("character", Token.KEYWORD1);
218:                tsqlKeywords.add("datetime", Token.KEYWORD1);
219:                tsqlKeywords.add("decimal", Token.KEYWORD1);
220:                tsqlKeywords.add("float", Token.KEYWORD1);
221:                tsqlKeywords.add("image", Token.KEYWORD1);
222:                tsqlKeywords.add("int", Token.KEYWORD1);
223:                tsqlKeywords.add("integer", Token.KEYWORD1);
224:                tsqlKeywords.add("money", Token.KEYWORD1);
225:                tsqlKeywords.add("name", Token.KEYWORD1);
226:                tsqlKeywords.add("numeric", Token.KEYWORD1);
227:                tsqlKeywords.add("nchar", Token.KEYWORD1);
228:                tsqlKeywords.add("nvarchar", Token.KEYWORD1);
229:                tsqlKeywords.add("ntext", Token.KEYWORD1);
230:                tsqlKeywords.add("real", Token.KEYWORD1);
231:                tsqlKeywords.add("smalldatetime", Token.KEYWORD1);
232:                tsqlKeywords.add("smallint", Token.KEYWORD1);
233:                tsqlKeywords.add("smallmoney", Token.KEYWORD1);
234:                tsqlKeywords.add("text", Token.KEYWORD1);
235:                tsqlKeywords.add("timestamp", Token.KEYWORD1);
236:                tsqlKeywords.add("tinyint", Token.KEYWORD1);
237:                tsqlKeywords.add("uniqueidentifier", Token.KEYWORD1);
238:                tsqlKeywords.add("varbinary", Token.KEYWORD1);
239:                tsqlKeywords.add("varchar", Token.KEYWORD1);
240:            }
241:
242:            private static void addSystemFunctions() {
243:                tsqlKeywords.add("@@CONNECTIONS", Token.KEYWORD2);
244:                tsqlKeywords.add("@@CPU_BUSY", Token.KEYWORD2);
245:                tsqlKeywords.add("@@CURSOR_ROWS", Token.KEYWORD2);
246:                tsqlKeywords.add("@@DATEFIRST", Token.KEYWORD2);
247:                tsqlKeywords.add("@@DBTS", Token.KEYWORD2);
248:                tsqlKeywords.add("@@ERROR", Token.KEYWORD2);
249:                tsqlKeywords.add("@@FETCH_STATUS", Token.KEYWORD2);
250:                tsqlKeywords.add("@@IDENTITY", Token.KEYWORD2);
251:                tsqlKeywords.add("@@IDLE", Token.KEYWORD2);
252:                tsqlKeywords.add("@@IO_BUSY", Token.KEYWORD2);
253:                tsqlKeywords.add("@@LANGID", Token.KEYWORD2);
254:                tsqlKeywords.add("@@LANGUAGE", Token.KEYWORD2);
255:                tsqlKeywords.add("@@LOCK_TIMEOUT", Token.KEYWORD2);
256:                tsqlKeywords.add("@@MAX_CONNECTIONS", Token.KEYWORD2);
257:                tsqlKeywords.add("@@MAX_PRECISION", Token.KEYWORD2);
258:                tsqlKeywords.add("@@NESTLEVEL", Token.KEYWORD2);
259:                tsqlKeywords.add("@@OPTIONS", Token.KEYWORD2);
260:                tsqlKeywords.add("@@PACK_RECEIVED", Token.KEYWORD2);
261:                tsqlKeywords.add("@@PACK_SENT", Token.KEYWORD2);
262:                tsqlKeywords.add("@@PACKET_ERRORS", Token.KEYWORD2);
263:                tsqlKeywords.add("@@PROCID", Token.KEYWORD2);
264:                tsqlKeywords.add("@@REMSERVER", Token.KEYWORD2);
265:                tsqlKeywords.add("@@ROWCOUNT", Token.KEYWORD2);
266:                tsqlKeywords.add("@@SERVERNAME", Token.KEYWORD2);
267:                tsqlKeywords.add("@@SERVICENAME", Token.KEYWORD2);
268:                tsqlKeywords.add("@@SPID", Token.KEYWORD2);
269:                tsqlKeywords.add("@@TEXTSIZE", Token.KEYWORD2);
270:                tsqlKeywords.add("@@TIMETICKS", Token.KEYWORD2);
271:                tsqlKeywords.add("@@TOTAL_ERRORS", Token.KEYWORD2);
272:                tsqlKeywords.add("@@TOTAL_READ", Token.KEYWORD2);
273:                tsqlKeywords.add("@@TOTAL_WRITE", Token.KEYWORD2);
274:                tsqlKeywords.add("@@TRANCOUNT", Token.KEYWORD2);
275:                tsqlKeywords.add("@@VERSION", Token.KEYWORD2);
276:                tsqlKeywords.add("ABS", Token.KEYWORD2);
277:                tsqlKeywords.add("ACOS", Token.KEYWORD2);
278:                tsqlKeywords.add("APP_NAME", Token.KEYWORD2);
279:                tsqlKeywords.add("ASCII", Token.KEYWORD2);
280:                tsqlKeywords.add("ASIN", Token.KEYWORD2);
281:                tsqlKeywords.add("ATAN", Token.KEYWORD2);
282:                tsqlKeywords.add("ATN2", Token.KEYWORD2);
283:                tsqlKeywords.add("CASE", Token.KEYWORD2);
284:                tsqlKeywords.add("CAST", Token.KEYWORD2);
285:                tsqlKeywords.add("CEILING", Token.KEYWORD2);
286:                //				tsqlKeywords.add("CHAR",Token.KEYWORD2);
287:                tsqlKeywords.add("CHARINDEX", Token.KEYWORD2);
288:                tsqlKeywords.add("COALESCE", Token.KEYWORD2);
289:                tsqlKeywords.add("COL_LENGTH", Token.KEYWORD2);
290:                tsqlKeywords.add("COL_NAME", Token.KEYWORD2);
291:                tsqlKeywords.add("COLUMNPROPERTY", Token.KEYWORD2);
292:                tsqlKeywords.add("CONVERT", Token.KEYWORD2);
293:                tsqlKeywords.add("COS", Token.KEYWORD2);
294:                tsqlKeywords.add("COT", Token.KEYWORD2);
295:                tsqlKeywords.add("CURRENT_TIME", Token.KEYWORD2);
296:                tsqlKeywords.add("CURRENT_DATE", Token.KEYWORD2);
297:                tsqlKeywords.add("CURRENT_TIMESTAMP", Token.KEYWORD2);
298:                tsqlKeywords.add("CURRENT_USER", Token.KEYWORD2);
299:                tsqlKeywords.add("CURSOR_STATUS", Token.KEYWORD2);
300:                tsqlKeywords.add("DATABASEPROPERTY", Token.KEYWORD2);
301:                tsqlKeywords.add("DATALENGTH", Token.KEYWORD2);
302:                tsqlKeywords.add("DATEADD", Token.KEYWORD2);
303:                tsqlKeywords.add("DATEDIFF", Token.KEYWORD2);
304:                tsqlKeywords.add("DATENAME", Token.KEYWORD2);
305:                tsqlKeywords.add("DATEPART", Token.KEYWORD2);
306:                tsqlKeywords.add("DAY", Token.KEYWORD2);
307:                tsqlKeywords.add("DB_ID", Token.KEYWORD2);
308:                tsqlKeywords.add("DB_NAME", Token.KEYWORD2);
309:                tsqlKeywords.add("DEGREES", Token.KEYWORD2);
310:                tsqlKeywords.add("DIFFERENCE", Token.KEYWORD2);
311:                tsqlKeywords.add("EXP", Token.KEYWORD2);
312:                tsqlKeywords.add("FILE_ID", Token.KEYWORD2);
313:                tsqlKeywords.add("FILE_NAME", Token.KEYWORD2);
314:                tsqlKeywords.add("FILEGROUP_ID", Token.KEYWORD2);
315:                tsqlKeywords.add("FILEGROUP_NAME", Token.KEYWORD2);
316:                tsqlKeywords.add("FILEGROUPPROPERTY", Token.KEYWORD2);
317:                tsqlKeywords.add("FILEPROPERTY", Token.KEYWORD2);
318:                tsqlKeywords.add("FLOOR", Token.KEYWORD2);
319:                tsqlKeywords.add("FORMATMESSAGE", Token.KEYWORD2);
320:                tsqlKeywords.add("FULLTEXTCATALOGPROPERTY", Token.KEYWORD2);
321:                tsqlKeywords.add("FULLTEXTSERVICEPROPERTY", Token.KEYWORD2);
322:                tsqlKeywords.add("GETANSINULL", Token.KEYWORD2);
323:                tsqlKeywords.add("GETDATE", Token.KEYWORD2);
324:                tsqlKeywords.add("HOST_ID", Token.KEYWORD2);
325:                tsqlKeywords.add("HOST_NAME", Token.KEYWORD2);
326:                tsqlKeywords.add("IDENT_INCR", Token.KEYWORD2);
327:                tsqlKeywords.add("IDENT_SEED", Token.KEYWORD2);
328:                //				tsqlKeywords.add("IDENTITY",Token.KEYWORD2);
329:                tsqlKeywords.add("IDENTITY_INSERT", Token.KEYWORD2);
330:                tsqlKeywords.add("INDEX_COL", Token.KEYWORD2);
331:                tsqlKeywords.add("INDEXPROPERTY", Token.KEYWORD2);
332:                tsqlKeywords.add("IS_MEMBER", Token.KEYWORD2);
333:                tsqlKeywords.add("IS_SRVROLEMEMBER", Token.KEYWORD2);
334:                tsqlKeywords.add("ISDATE", Token.KEYWORD2);
335:                tsqlKeywords.add("ISNULL", Token.KEYWORD2);
336:                tsqlKeywords.add("ISNUMERIC", Token.KEYWORD2);
337:                tsqlKeywords.add("LEFT", Token.KEYWORD2);
338:                tsqlKeywords.add("LEN", Token.KEYWORD2);
339:                tsqlKeywords.add("LOG", Token.KEYWORD2);
340:                tsqlKeywords.add("LOG10", Token.KEYWORD2);
341:                tsqlKeywords.add("LOWER", Token.KEYWORD2);
342:                tsqlKeywords.add("LTRIM", Token.KEYWORD2);
343:                tsqlKeywords.add("MONTH", Token.KEYWORD2);
344:                //				tsqlKeywords.add("NCHAR",Token.KEYWORD2);
345:                tsqlKeywords.add("NEWID", Token.KEYWORD2);
346:                tsqlKeywords.add("NULLIF", Token.KEYWORD2);
347:                tsqlKeywords.add("OBJECT_ID", Token.KEYWORD2);
348:                tsqlKeywords.add("OBJECT_NAME", Token.KEYWORD2);
349:                tsqlKeywords.add("OBJECTPROPERTY", Token.KEYWORD2);
350:                tsqlKeywords.add("PARSENAME", Token.KEYWORD2);
351:                tsqlKeywords.add("PATINDEX", Token.KEYWORD2);
352:                tsqlKeywords.add("PERMISSIONS", Token.KEYWORD2);
353:                tsqlKeywords.add("PI", Token.KEYWORD2);
354:                tsqlKeywords.add("POWER", Token.KEYWORD2);
355:                tsqlKeywords.add("QUOTENAME", Token.KEYWORD2);
356:                tsqlKeywords.add("RADIANS", Token.KEYWORD2);
357:                tsqlKeywords.add("RAND", Token.KEYWORD2);
358:                tsqlKeywords.add("REPLACE", Token.KEYWORD2);
359:                tsqlKeywords.add("REPLICATE", Token.KEYWORD2);
360:                tsqlKeywords.add("REVERSE", Token.KEYWORD2);
361:                tsqlKeywords.add("RIGHT", Token.KEYWORD2);
362:                tsqlKeywords.add("ROUND", Token.KEYWORD2);
363:                tsqlKeywords.add("RTRIM", Token.KEYWORD2);
364:                tsqlKeywords.add("SESSION_USER", Token.KEYWORD2);
365:                tsqlKeywords.add("SIGN", Token.KEYWORD2);
366:                tsqlKeywords.add("SIN", Token.KEYWORD2);
367:                tsqlKeywords.add("SOUNDEX", Token.KEYWORD2);
368:                tsqlKeywords.add("SPACE", Token.KEYWORD2);
369:                tsqlKeywords.add("SQRT", Token.KEYWORD2);
370:                tsqlKeywords.add("SQUARE", Token.KEYWORD2);
371:                tsqlKeywords.add("STATS_DATE", Token.KEYWORD2);
372:                tsqlKeywords.add("STR", Token.KEYWORD2);
373:                tsqlKeywords.add("STUFF", Token.KEYWORD2);
374:                tsqlKeywords.add("SUBSTRING", Token.KEYWORD2);
375:                tsqlKeywords.add("SUSER_ID", Token.KEYWORD2);
376:                tsqlKeywords.add("SUSER_NAME", Token.KEYWORD2);
377:                tsqlKeywords.add("SUSER_SID", Token.KEYWORD2);
378:                tsqlKeywords.add("SUSER_SNAME", Token.KEYWORD2);
379:                tsqlKeywords.add("SYSTEM_USER", Token.KEYWORD2);
380:                tsqlKeywords.add("TAN", Token.KEYWORD2);
381:                tsqlKeywords.add("TEXTPTR", Token.KEYWORD2);
382:                tsqlKeywords.add("TEXTVALID", Token.KEYWORD2);
383:                tsqlKeywords.add("TYPEPROPERTY", Token.KEYWORD2);
384:                tsqlKeywords.add("UNICODE", Token.KEYWORD2);
385:                tsqlKeywords.add("UPPER", Token.KEYWORD2);
386:                tsqlKeywords.add("USER_ID", Token.KEYWORD2);
387:                tsqlKeywords.add("USER_NAME", Token.KEYWORD2);
388:                tsqlKeywords.add("USER", Token.KEYWORD2);
389:                tsqlKeywords.add("YEAR", Token.KEYWORD2);
390:            }
391:
392:            private static void addOperators() {
393:                tsqlKeywords.add("ALL", Token.KEYWORD1);
394:                tsqlKeywords.add("AND", Token.KEYWORD1);
395:                tsqlKeywords.add("ANY", Token.KEYWORD1);
396:                tsqlKeywords.add("BETWEEN", Token.KEYWORD1);
397:                tsqlKeywords.add("CROSS", Token.KEYWORD1);
398:                tsqlKeywords.add("EXISTS", Token.KEYWORD1);
399:                tsqlKeywords.add("IN", Token.KEYWORD1);
400:                tsqlKeywords.add("INTERSECT", Token.KEYWORD1);
401:                tsqlKeywords.add("JOIN", Token.KEYWORD1);
402:                tsqlKeywords.add("LIKE", Token.KEYWORD1);
403:                tsqlKeywords.add("NOT", Token.KEYWORD1);
404:                tsqlKeywords.add("NULL", Token.KEYWORD1);
405:                tsqlKeywords.add("OR", Token.KEYWORD1);
406:                tsqlKeywords.add("OUTER", Token.KEYWORD1);
407:                tsqlKeywords.add("SOME", Token.KEYWORD1);
408:            }
409:
410:            private static void addSystemStoredProcedures() {
411:                tsqlKeywords.add("sp_add_agent_parameter", Token.KEYWORD3);
412:                tsqlKeywords.add("sp_add_agent_profile", Token.KEYWORD3);
413:                tsqlKeywords.add("sp_add_alert", Token.KEYWORD3);
414:                tsqlKeywords.add("sp_add_category", Token.KEYWORD3);
415:                tsqlKeywords.add("sp_add_data_file_recover_suspect_db",
416:                        Token.KEYWORD3);
417:                tsqlKeywords.add("sp_add_job", Token.KEYWORD3);
418:                tsqlKeywords.add("sp_add_jobschedule", Token.KEYWORD3);
419:                tsqlKeywords.add("sp_add_jobserver", Token.KEYWORD3);
420:                tsqlKeywords.add("sp_add_jobstep", Token.KEYWORD3);
421:                tsqlKeywords.add("sp_add_log_file_recover_suspect_db",
422:                        Token.KEYWORD3);
423:                tsqlKeywords.add("sp_add_notification", Token.KEYWORD3);
424:                tsqlKeywords.add("sp_add_operator", Token.KEYWORD3);
425:                tsqlKeywords.add("sp_add_targetservergroup", Token.KEYWORD3);
426:                tsqlKeywords.add("sp_add_targetsvrgrp_member", Token.KEYWORD3);
427:                tsqlKeywords.add("sp_addalias", Token.KEYWORD3);
428:                tsqlKeywords.add("sp_addapprole", Token.KEYWORD3);
429:                tsqlKeywords.add("sp_addarticle", Token.KEYWORD3);
430:                tsqlKeywords.add("sp_adddistpublisher", Token.KEYWORD3);
431:                tsqlKeywords.add("sp_adddistributiondb", Token.KEYWORD3);
432:                tsqlKeywords.add("sp_adddistributor", Token.KEYWORD3);
433:                tsqlKeywords.add("sp_addextendedproc", Token.KEYWORD3);
434:                tsqlKeywords.add("sp_addgroup", Token.KEYWORD3);
435:                tsqlKeywords.add("sp_addlinkedserver", Token.KEYWORD3);
436:                tsqlKeywords.add("sp_addlinkedsrvlogin", Token.KEYWORD3);
437:                tsqlKeywords.add("sp_addlinkedsrvlogin", Token.KEYWORD3);
438:                tsqlKeywords.add("sp_addlogin", Token.KEYWORD3);
439:                tsqlKeywords.add("sp_addmergearticle", Token.KEYWORD3);
440:                tsqlKeywords.add("sp_addmergefilter", Token.KEYWORD3);
441:                tsqlKeywords.add("sp_addmergepublication", Token.KEYWORD3);
442:                tsqlKeywords.add("sp_addmergepullsubscription", Token.KEYWORD3);
443:                tsqlKeywords.add("sp_addmergepullsubscription_agent",
444:                        Token.KEYWORD3);
445:                tsqlKeywords.add("sp_addmergesubscription", Token.KEYWORD3);
446:                tsqlKeywords.add("sp_addmessage", Token.KEYWORD3);
447:                tsqlKeywords.add("sp_addpublication", Token.KEYWORD3);
448:                tsqlKeywords.add("sp_addpublication_snapshot", Token.KEYWORD3);
449:                tsqlKeywords.add("sp_addpublisher70", Token.KEYWORD3);
450:                tsqlKeywords.add("sp_addpullsubscription", Token.KEYWORD3);
451:                tsqlKeywords
452:                        .add("sp_addpullsubscription_agent", Token.KEYWORD3);
453:                tsqlKeywords.add("sp_addremotelogin", Token.KEYWORD3);
454:                tsqlKeywords.add("sp_addrole", Token.KEYWORD3);
455:                tsqlKeywords.add("sp_addrolemember", Token.KEYWORD3);
456:                tsqlKeywords.add("sp_addserver", Token.KEYWORD3);
457:                tsqlKeywords.add("sp_addsrvrolemember", Token.KEYWORD3);
458:                tsqlKeywords.add("sp_addsubscriber", Token.KEYWORD3);
459:                tsqlKeywords.add("sp_addsubscriber_schedule", Token.KEYWORD3);
460:                tsqlKeywords.add("sp_addsubscription", Token.KEYWORD3);
461:                tsqlKeywords.add("sp_addsynctriggers", Token.KEYWORD3);
462:                tsqlKeywords.add("sp_addtabletocontents", Token.KEYWORD3);
463:                tsqlKeywords.add("sp_addtask", Token.KEYWORD3);
464:                tsqlKeywords.add("sp_addtype", Token.KEYWORD3);
465:                tsqlKeywords.add("sp_addumpdevice", Token.KEYWORD3);
466:                tsqlKeywords.add("sp_adduser", Token.KEYWORD3);
467:                tsqlKeywords.add("sp_altermessage", Token.KEYWORD3);
468:                tsqlKeywords.add("sp_apply_job_to_targets", Token.KEYWORD3);
469:                tsqlKeywords.add("sp_approlepassword", Token.KEYWORD3);
470:                tsqlKeywords.add("sp_article_validation", Token.KEYWORD3);
471:                tsqlKeywords.add("sp_articlecolumn", Token.KEYWORD3);
472:                tsqlKeywords.add("sp_articlefilter", Token.KEYWORD3);
473:                tsqlKeywords.add("sp_articlesynctranprocs", Token.KEYWORD3);
474:                tsqlKeywords.add("sp_articleview", Token.KEYWORD3);
475:                tsqlKeywords.add("sp_attach_db", Token.KEYWORD3);
476:                tsqlKeywords.add("sp_attach_single_file_db", Token.KEYWORD3);
477:                tsqlKeywords.add("sp_autostats", Token.KEYWORD3);
478:                tsqlKeywords.add("sp_bindefault", Token.KEYWORD3);
479:                tsqlKeywords.add("sp_bindrule", Token.KEYWORD3);
480:                tsqlKeywords.add("sp_bindsession", Token.KEYWORD3);
481:                tsqlKeywords.add("sp_browsereplcmds", Token.KEYWORD3);
482:                tsqlKeywords.add("sp_catalogs", Token.KEYWORD3);
483:                tsqlKeywords.add("sp_certify_removable", Token.KEYWORD3);
484:                tsqlKeywords.add("sp_change_agent_parameter", Token.KEYWORD3);
485:                tsqlKeywords.add("sp_change_agent_profile", Token.KEYWORD3);
486:                tsqlKeywords.add("sp_change_subscription_properties",
487:                        Token.KEYWORD3);
488:                tsqlKeywords.add("sp_change_users_login", Token.KEYWORD3);
489:                tsqlKeywords.add("sp_changearticle", Token.KEYWORD3);
490:                tsqlKeywords.add("sp_changedbowner", Token.KEYWORD3);
491:                tsqlKeywords.add("sp_changedistpublisher", Token.KEYWORD3);
492:                tsqlKeywords.add("sp_changedistributiondb", Token.KEYWORD3);
493:                tsqlKeywords.add("sp_changedistributor_password",
494:                        Token.KEYWORD3);
495:                tsqlKeywords.add("sp_changedistributor_property",
496:                        Token.KEYWORD3);
497:                tsqlKeywords.add("sp_changegroup", Token.KEYWORD3);
498:                tsqlKeywords.add("sp_changemergearticle", Token.KEYWORD3);
499:                tsqlKeywords.add("sp_changemergefilter", Token.KEYWORD3);
500:                tsqlKeywords.add("sp_changemergepublication", Token.KEYWORD3);
501:                tsqlKeywords.add("sp_changemergepullsubscription",
502:                        Token.KEYWORD3);
503:                tsqlKeywords.add("sp_changemergesubscription", Token.KEYWORD3);
504:                tsqlKeywords.add("sp_changeobjectowner", Token.KEYWORD3);
505:                tsqlKeywords.add("sp_changepublication", Token.KEYWORD3);
506:                tsqlKeywords.add("sp_changesubscriber", Token.KEYWORD3);
507:                tsqlKeywords
508:                        .add("sp_changesubscriber_schedule", Token.KEYWORD3);
509:                tsqlKeywords.add("sp_changesubstatus", Token.KEYWORD3);
510:                tsqlKeywords.add("sp_check_for_sync_trigger", Token.KEYWORD3);
511:                tsqlKeywords.add("sp_column_privileges", Token.KEYWORD3);
512:                tsqlKeywords.add("sp_column_privileges_ex", Token.KEYWORD3);
513:                tsqlKeywords.add("sp_columns", Token.KEYWORD3);
514:                tsqlKeywords.add("sp_columns_ex", Token.KEYWORD3);
515:                tsqlKeywords.add("sp_configure", Token.KEYWORD3);
516:                tsqlKeywords.add("sp_create_removable", Token.KEYWORD3);
517:                tsqlKeywords.add("sp_createorphan", Token.KEYWORD3);
518:                tsqlKeywords.add("sp_createstats", Token.KEYWORD3);
519:                tsqlKeywords.add("sp_cursor", Token.KEYWORD3);
520:                tsqlKeywords.add("sp_cursor_list", Token.KEYWORD3);
521:                tsqlKeywords.add("sp_cursorclose", Token.KEYWORD3);
522:                tsqlKeywords.add("sp_cursorexecute", Token.KEYWORD3);
523:                tsqlKeywords.add("sp_cursorfetch", Token.KEYWORD3);
524:                tsqlKeywords.add("sp_cursoropen", Token.KEYWORD3);
525:                tsqlKeywords.add("sp_cursoroption", Token.KEYWORD3);
526:                tsqlKeywords.add("sp_cursorprepare", Token.KEYWORD3);
527:                tsqlKeywords.add("sp_cursorunprepare", Token.KEYWORD3);
528:                tsqlKeywords.add("sp_cycle_errorlog", Token.KEYWORD3);
529:                tsqlKeywords.add("sp_databases", Token.KEYWORD3);
530:                tsqlKeywords.add("sp_datatype_info", Token.KEYWORD3);
531:                tsqlKeywords.add("sp_dbcmptlevel", Token.KEYWORD3);
532:                tsqlKeywords.add("sp_dbfixedrolepermission", Token.KEYWORD3);
533:                tsqlKeywords.add("sp_dboption", Token.KEYWORD3);
534:                tsqlKeywords.add("sp_defaultdb", Token.KEYWORD3);
535:                tsqlKeywords.add("sp_defaultlanguage", Token.KEYWORD3);
536:                tsqlKeywords.add("sp_delete_alert", Token.KEYWORD3);
537:                tsqlKeywords.add("sp_delete_backuphistory", Token.KEYWORD3);
538:                tsqlKeywords.add("sp_delete_category", Token.KEYWORD3);
539:                tsqlKeywords.add("sp_delete_job", Token.KEYWORD3);
540:                tsqlKeywords.add("sp_delete_jobschedule", Token.KEYWORD3);
541:                tsqlKeywords.add("sp_delete_jobserver", Token.KEYWORD3);
542:                tsqlKeywords.add("sp_delete_jobstep", Token.KEYWORD3);
543:                tsqlKeywords.add("sp_delete_notification", Token.KEYWORD3);
544:                tsqlKeywords.add("sp_delete_operator", Token.KEYWORD3);
545:                tsqlKeywords.add("sp_delete_targetserver", Token.KEYWORD3);
546:                tsqlKeywords.add("sp_delete_targetservergroup", Token.KEYWORD3);
547:                tsqlKeywords.add("sp_delete_targetsvrgrp_member",
548:                        Token.KEYWORD3);
549:                tsqlKeywords.add("sp_deletemergeconflictrow", Token.KEYWORD3);
550:                tsqlKeywords.add("sp_denylogin", Token.KEYWORD3);
551:                tsqlKeywords.add("sp_depends", Token.KEYWORD3);
552:                tsqlKeywords.add("sp_describe_cursor", Token.KEYWORD3);
553:                tsqlKeywords.add("sp_describe_cursor_columns", Token.KEYWORD3);
554:                tsqlKeywords.add("sp_describe_cursor_tables", Token.KEYWORD3);
555:                tsqlKeywords.add("sp_detach_db", Token.KEYWORD3);
556:                tsqlKeywords.add("sp_drop_agent_parameter", Token.KEYWORD3);
557:                tsqlKeywords.add("sp_drop_agent_profile", Token.KEYWORD3);
558:                tsqlKeywords.add("sp_dropalias", Token.KEYWORD3);
559:                tsqlKeywords.add("sp_dropapprole", Token.KEYWORD3);
560:                tsqlKeywords.add("sp_droparticle", Token.KEYWORD3);
561:                tsqlKeywords.add("sp_dropdevice", Token.KEYWORD3);
562:                tsqlKeywords.add("sp_dropdistpublisher", Token.KEYWORD3);
563:                tsqlKeywords.add("sp_dropdistributiondb", Token.KEYWORD3);
564:                tsqlKeywords.add("sp_dropdistributor", Token.KEYWORD3);
565:                tsqlKeywords.add("sp_dropextendedproc", Token.KEYWORD3);
566:                tsqlKeywords.add("sp_dropgroup", Token.KEYWORD3);
567:                tsqlKeywords.add("sp_droplinkedsrvlogin", Token.KEYWORD3);
568:                tsqlKeywords.add("sp_droplinkedsrvlogin", Token.KEYWORD3);
569:                tsqlKeywords.add("sp_droplogin", Token.KEYWORD3);
570:                tsqlKeywords.add("sp_dropmergearticle", Token.KEYWORD3);
571:                tsqlKeywords.add("sp_dropmergefilter", Token.KEYWORD3);
572:                tsqlKeywords.add("sp_dropmergepublication", Token.KEYWORD3);
573:                tsqlKeywords
574:                        .add("sp_dropmergepullsubscription", Token.KEYWORD3);
575:                tsqlKeywords.add("sp_dropmergesubscription", Token.KEYWORD3);
576:                tsqlKeywords.add("sp_dropmessage", Token.KEYWORD3);
577:                tsqlKeywords.add("sp_droporphans", Token.KEYWORD3);
578:                tsqlKeywords.add("sp_droppublication", Token.KEYWORD3);
579:                tsqlKeywords.add("sp_droppullsubscription", Token.KEYWORD3);
580:                tsqlKeywords.add("sp_dropremotelogin", Token.KEYWORD3);
581:                tsqlKeywords.add("sp_droprole", Token.KEYWORD3);
582:                tsqlKeywords.add("sp_droprolemember", Token.KEYWORD3);
583:                tsqlKeywords.add("sp_dropserver", Token.KEYWORD3);
584:                tsqlKeywords.add("sp_dropsrvrolemember", Token.KEYWORD3);
585:                tsqlKeywords.add("sp_dropsubscriber", Token.KEYWORD3);
586:                tsqlKeywords.add("sp_dropsubscription", Token.KEYWORD3);
587:                tsqlKeywords.add("sp_droptask", Token.KEYWORD3);
588:                tsqlKeywords.add("sp_droptype", Token.KEYWORD3);
589:                tsqlKeywords.add("sp_dropuser", Token.KEYWORD3);
590:                tsqlKeywords.add("sp_dropwebtask", Token.KEYWORD3);
591:                tsqlKeywords.add("sp_dsninfo", Token.KEYWORD3);
592:                tsqlKeywords.add("sp_dumpparamcmd", Token.KEYWORD3);
593:                tsqlKeywords.add("sp_enumcodepages", Token.KEYWORD3);
594:                tsqlKeywords.add("sp_enumcustomresolvers", Token.KEYWORD3);
595:                tsqlKeywords.add("sp_enumdsn", Token.KEYWORD3);
596:                tsqlKeywords.add("sp_enumfullsubscribers", Token.KEYWORD3);
597:                tsqlKeywords.add("sp_execute", Token.KEYWORD3);
598:                tsqlKeywords.add("sp_executesql", Token.KEYWORD3);
599:                tsqlKeywords.add("sp_expired_subscription_cleanup",
600:                        Token.KEYWORD3);
601:                tsqlKeywords.add("sp_fkeys", Token.KEYWORD3);
602:                tsqlKeywords.add("sp_foreignkeys", Token.KEYWORD3);
603:                tsqlKeywords.add("sp_fulltext_catalog", Token.KEYWORD3);
604:                tsqlKeywords.add("sp_fulltext_column", Token.KEYWORD3);
605:                tsqlKeywords.add("sp_fulltext_database", Token.KEYWORD3);
606:                tsqlKeywords.add("sp_fulltext_service", Token.KEYWORD3);
607:                tsqlKeywords.add("sp_fulltext_table", Token.KEYWORD3);
608:                tsqlKeywords.add("sp_generatefilters", Token.KEYWORD3);
609:                tsqlKeywords.add("sp_get_distributor", Token.KEYWORD3);
610:                tsqlKeywords.add("sp_getbindtoken", Token.KEYWORD3);
611:                tsqlKeywords.add("sp_getmergedeletetype", Token.KEYWORD3);
612:                tsqlKeywords.add("sp_grant_publication_access", Token.KEYWORD3);
613:                tsqlKeywords.add("sp_grantdbaccess", Token.KEYWORD3);
614:                tsqlKeywords.add("sp_grantlogin", Token.KEYWORD3);
615:                tsqlKeywords.add("sp_help", Token.KEYWORD3);
616:                tsqlKeywords.add("sp_help_agent_default", Token.KEYWORD3);
617:                tsqlKeywords.add("sp_help_agent_parameter", Token.KEYWORD3);
618:                tsqlKeywords.add("sp_help_agent_profile", Token.KEYWORD3);
619:                tsqlKeywords.add("sp_help_alert", Token.KEYWORD3);
620:                tsqlKeywords.add("sp_help_category", Token.KEYWORD3);
621:                tsqlKeywords.add("sp_help_downloadlist", Token.KEYWORD3);
622:                tsqlKeywords.add("sp_help_fulltext_catalogs", Token.KEYWORD3);
623:                tsqlKeywords.add("sp_help_fulltext_catalogs_cursor",
624:                        Token.KEYWORD3);
625:                tsqlKeywords.add("sp_help_fulltext_columns", Token.KEYWORD3);
626:                tsqlKeywords.add("sp_help_fulltext_columns_cursor",
627:                        Token.KEYWORD3);
628:                tsqlKeywords.add("sp_help_fulltext_tables", Token.KEYWORD3);
629:                tsqlKeywords.add("sp_help_fulltext_tables_cursor",
630:                        Token.KEYWORD3);
631:                tsqlKeywords.add("sp_help_job", Token.KEYWORD3);
632:                tsqlKeywords.add("sp_help_jobhistory", Token.KEYWORD3);
633:                tsqlKeywords.add("sp_help_jobschedule", Token.KEYWORD3);
634:                tsqlKeywords.add("sp_help_jobserver", Token.KEYWORD3);
635:                tsqlKeywords.add("sp_help_jobstep", Token.KEYWORD3);
636:                tsqlKeywords.add("sp_help_notification", Token.KEYWORD3);
637:                tsqlKeywords.add("sp_help_operator", Token.KEYWORD3);
638:                tsqlKeywords.add("sp_help_publication_access", Token.KEYWORD3);
639:                tsqlKeywords.add("sp_help_targetserver", Token.KEYWORD3);
640:                tsqlKeywords.add("sp_help_targetservergroup", Token.KEYWORD3);
641:                tsqlKeywords.add("sp_helparticle", Token.KEYWORD3);
642:                tsqlKeywords.add("sp_helparticlecolumns", Token.KEYWORD3);
643:                tsqlKeywords.add("sp_helpconstraint", Token.KEYWORD3);
644:                tsqlKeywords.add("sp_helpdb", Token.KEYWORD3);
645:                tsqlKeywords.add("sp_helpdbfixedrole", Token.KEYWORD3);
646:                tsqlKeywords.add("sp_helpdevice", Token.KEYWORD3);
647:                tsqlKeywords.add("sp_helpdistpublisher", Token.KEYWORD3);
648:                tsqlKeywords.add("sp_helpdistributiondb", Token.KEYWORD3);
649:                tsqlKeywords.add("sp_helpdistributor", Token.KEYWORD3);
650:                tsqlKeywords.add("sp_helpextendedproc", Token.KEYWORD3);
651:                tsqlKeywords.add("sp_helpfile", Token.KEYWORD3);
652:                tsqlKeywords.add("sp_helpfilegroup", Token.KEYWORD3);
653:                tsqlKeywords.add("sp_helpgroup", Token.KEYWORD3);
654:                tsqlKeywords.add("sp_helphistory", Token.KEYWORD3);
655:                tsqlKeywords.add("sp_helpindex", Token.KEYWORD3);
656:                tsqlKeywords.add("sp_helplanguage", Token.KEYWORD3);
657:                tsqlKeywords.add("sp_helplinkedsrvlogin", Token.KEYWORD3);
658:                tsqlKeywords.add("sp_helplogins", Token.KEYWORD3);
659:                tsqlKeywords.add("sp_helpmergearticle", Token.KEYWORD3);
660:                tsqlKeywords
661:                        .add("sp_helpmergearticleconflicts", Token.KEYWORD3);
662:                tsqlKeywords.add("sp_helpmergeconflictrows", Token.KEYWORD3);
663:                tsqlKeywords.add("sp_helpmergedeleteconflictrows",
664:                        Token.KEYWORD3);
665:                tsqlKeywords.add("sp_helpmergefilter", Token.KEYWORD3);
666:                tsqlKeywords.add("sp_helpmergepublication", Token.KEYWORD3);
667:                tsqlKeywords
668:                        .add("sp_helpmergepullsubscription", Token.KEYWORD3);
669:                tsqlKeywords.add("sp_helpmergesubscription", Token.KEYWORD3);
670:                tsqlKeywords.add("sp_helpntgroup", Token.KEYWORD3);
671:                tsqlKeywords.add("sp_helppublication", Token.KEYWORD3);
672:                tsqlKeywords.add("sp_helppullsubscription", Token.KEYWORD3);
673:                tsqlKeywords.add("sp_helpremotelogin", Token.KEYWORD3);
674:                tsqlKeywords.add("sp_helpreplicationdboption", Token.KEYWORD3);
675:                tsqlKeywords.add("sp_helprole", Token.KEYWORD3);
676:                tsqlKeywords.add("sp_helprolemember", Token.KEYWORD3);
677:                tsqlKeywords.add("sp_helprotect", Token.KEYWORD3);
678:                tsqlKeywords.add("sp_helpserver", Token.KEYWORD3);
679:                tsqlKeywords.add("sp_helpsort", Token.KEYWORD3);
680:                tsqlKeywords.add("sp_helpsrvrole", Token.KEYWORD3);
681:                tsqlKeywords.add("sp_helpsrvrolemember", Token.KEYWORD3);
682:                tsqlKeywords.add("sp_helpsubscriberinfo", Token.KEYWORD3);
683:                tsqlKeywords.add("sp_helpsubscription", Token.KEYWORD3);
684:                tsqlKeywords.add("sp_helpsubscription_properties",
685:                        Token.KEYWORD3);
686:                tsqlKeywords.add("sp_helptask", Token.KEYWORD3);
687:                tsqlKeywords.add("sp_helptext", Token.KEYWORD3);
688:                tsqlKeywords.add("sp_helptrigger", Token.KEYWORD3);
689:                tsqlKeywords.add("sp_helpuser", Token.KEYWORD3);
690:                tsqlKeywords.add("sp_indexes", Token.KEYWORD3);
691:                tsqlKeywords.add("sp_indexoption", Token.KEYWORD3);
692:                tsqlKeywords.add("sp_link_publication", Token.KEYWORD3);
693:                tsqlKeywords.add("sp_linkedservers", Token.KEYWORD3);
694:                tsqlKeywords.add("sp_lock", Token.KEYWORD3);
695:                tsqlKeywords.add("sp_makewebtask", Token.KEYWORD3);
696:                tsqlKeywords.add("sp_manage_jobs_by_login", Token.KEYWORD3);
697:                tsqlKeywords.add("sp_mergedummyupdate", Token.KEYWORD3);
698:                tsqlKeywords
699:                        .add("sp_mergesubscription_cleanup", Token.KEYWORD3);
700:                tsqlKeywords.add("sp_monitor", Token.KEYWORD3);
701:                tsqlKeywords.add("sp_msx_defect", Token.KEYWORD3);
702:                tsqlKeywords.add("sp_msx_enlist", Token.KEYWORD3);
703:                tsqlKeywords.add("sp_OACreate", Token.KEYWORD3);
704:                tsqlKeywords.add("sp_OADestroy", Token.KEYWORD3);
705:                tsqlKeywords.add("sp_OAGetErrorInfo", Token.KEYWORD3);
706:                tsqlKeywords.add("sp_OAGetProperty", Token.KEYWORD3);
707:                tsqlKeywords.add("sp_OAMethod", Token.KEYWORD3);
708:                tsqlKeywords.add("sp_OASetProperty", Token.KEYWORD3);
709:                tsqlKeywords.add("sp_OAStop", Token.KEYWORD3);
710:                tsqlKeywords.add("sp_password", Token.KEYWORD3);
711:                tsqlKeywords.add("sp_pkeys", Token.KEYWORD3);
712:                tsqlKeywords.add("sp_post_msx_operation", Token.KEYWORD3);
713:                tsqlKeywords.add("sp_prepare", Token.KEYWORD3);
714:                tsqlKeywords.add("sp_primarykeys", Token.KEYWORD3);
715:                tsqlKeywords.add("sp_processmail", Token.KEYWORD3);
716:                tsqlKeywords.add("sp_procoption", Token.KEYWORD3);
717:                tsqlKeywords.add("sp_publication_validation", Token.KEYWORD3);
718:                tsqlKeywords.add("sp_purge_jobhistory", Token.KEYWORD3);
719:                tsqlKeywords.add("sp_purgehistory", Token.KEYWORD3);
720:                tsqlKeywords.add("sp_reassigntask", Token.KEYWORD3);
721:                tsqlKeywords.add("sp_recompile", Token.KEYWORD3);
722:                tsqlKeywords.add("sp_refreshsubscriptions", Token.KEYWORD3);
723:                tsqlKeywords.add("sp_refreshview", Token.KEYWORD3);
724:                tsqlKeywords.add("sp_reinitmergepullsubscription",
725:                        Token.KEYWORD3);
726:                tsqlKeywords.add("sp_reinitmergesubscription", Token.KEYWORD3);
727:                tsqlKeywords.add("sp_reinitpullsubscription", Token.KEYWORD3);
728:                tsqlKeywords.add("sp_reinitsubscription", Token.KEYWORD3);
729:                tsqlKeywords.add("sp_remoteoption", Token.KEYWORD3);
730:                tsqlKeywords.add("sp_remove_job_from_targets", Token.KEYWORD3);
731:                tsqlKeywords.add("sp_removedbreplication", Token.KEYWORD3);
732:                tsqlKeywords.add("sp_rename", Token.KEYWORD3);
733:                tsqlKeywords.add("sp_renamedb", Token.KEYWORD3);
734:                tsqlKeywords.add("sp_replcmds", Token.KEYWORD3);
735:                tsqlKeywords.add("sp_replcounters", Token.KEYWORD3);
736:                tsqlKeywords.add("sp_repldone", Token.KEYWORD3);
737:                tsqlKeywords.add("sp_replflush", Token.KEYWORD3);
738:                tsqlKeywords
739:                        .add("sp_replication_agent_checkup", Token.KEYWORD3);
740:                tsqlKeywords.add("sp_replicationdboption", Token.KEYWORD3);
741:                tsqlKeywords.add("sp_replsetoriginator", Token.KEYWORD3);
742:                tsqlKeywords.add("sp_replshowcmds", Token.KEYWORD3);
743:                tsqlKeywords.add("sp_repltrans", Token.KEYWORD3);
744:                tsqlKeywords.add("sp_reset_connection", Token.KEYWORD3);
745:                tsqlKeywords.add("sp_resync_targetserver", Token.KEYWORD3);
746:                tsqlKeywords
747:                        .add("sp_revoke_publication_access", Token.KEYWORD3);
748:                tsqlKeywords.add("sp_revokedbaccess", Token.KEYWORD3);
749:                tsqlKeywords.add("sp_revokelogin", Token.KEYWORD3);
750:                tsqlKeywords.add("sp_runwebtask", Token.KEYWORD3);
751:                tsqlKeywords.add("sp_script_synctran_commands", Token.KEYWORD3);
752:                tsqlKeywords.add("sp_scriptdelproc", Token.KEYWORD3);
753:                tsqlKeywords.add("sp_scriptinsproc", Token.KEYWORD3);
754:                tsqlKeywords.add("sp_scriptmappedupdproc", Token.KEYWORD3);
755:                tsqlKeywords.add("sp_scriptupdproc", Token.KEYWORD3);
756:                tsqlKeywords.add("sp_sdidebug", Token.KEYWORD3);
757:                tsqlKeywords.add("sp_server_info", Token.KEYWORD3);
758:                tsqlKeywords.add("sp_serveroption", Token.KEYWORD3);
759:                tsqlKeywords.add("sp_serveroption", Token.KEYWORD3);
760:                tsqlKeywords.add("sp_setapprole", Token.KEYWORD3);
761:                tsqlKeywords.add("sp_setnetname", Token.KEYWORD3);
762:                tsqlKeywords.add("sp_spaceused", Token.KEYWORD3);
763:                tsqlKeywords.add("sp_special_columns", Token.KEYWORD3);
764:                tsqlKeywords.add("sp_sproc_columns", Token.KEYWORD3);
765:                tsqlKeywords.add("sp_srvrolepermission", Token.KEYWORD3);
766:                tsqlKeywords.add("sp_start_job", Token.KEYWORD3);
767:                tsqlKeywords.add("sp_statistics", Token.KEYWORD3);
768:                tsqlKeywords.add("sp_stop_job", Token.KEYWORD3);
769:                tsqlKeywords.add("sp_stored_procedures", Token.KEYWORD3);
770:                tsqlKeywords.add("sp_subscription_cleanup", Token.KEYWORD3);
771:                tsqlKeywords.add("sp_table_privileges", Token.KEYWORD3);
772:                tsqlKeywords.add("sp_table_privileges_ex", Token.KEYWORD3);
773:                tsqlKeywords.add("sp_table_validation", Token.KEYWORD3);
774:                tsqlKeywords.add("sp_tableoption", Token.KEYWORD3);
775:                tsqlKeywords.add("sp_tables", Token.KEYWORD3);
776:                tsqlKeywords.add("sp_tables_ex", Token.KEYWORD3);
777:                tsqlKeywords.add("sp_unbindefault", Token.KEYWORD3);
778:                tsqlKeywords.add("sp_unbindrule", Token.KEYWORD3);
779:                tsqlKeywords.add("sp_unprepare", Token.KEYWORD3);
780:                tsqlKeywords.add("sp_update_agent_profile", Token.KEYWORD3);
781:                tsqlKeywords.add("sp_update_alert", Token.KEYWORD3);
782:                tsqlKeywords.add("sp_update_category", Token.KEYWORD3);
783:                tsqlKeywords.add("sp_update_job", Token.KEYWORD3);
784:                tsqlKeywords.add("sp_update_jobschedule", Token.KEYWORD3);
785:                tsqlKeywords.add("sp_update_jobstep", Token.KEYWORD3);
786:                tsqlKeywords.add("sp_update_notification", Token.KEYWORD3);
787:                tsqlKeywords.add("sp_update_operator", Token.KEYWORD3);
788:                tsqlKeywords.add("sp_update_targetservergroup", Token.KEYWORD3);
789:                tsqlKeywords.add("sp_updatestats", Token.KEYWORD3);
790:                tsqlKeywords.add("sp_updatetask", Token.KEYWORD3);
791:                tsqlKeywords.add("sp_validatelogins", Token.KEYWORD3);
792:                tsqlKeywords.add("sp_validname", Token.KEYWORD3);
793:                tsqlKeywords.add("sp_who", Token.KEYWORD3);
794:                tsqlKeywords.add("xp_cmdshell", Token.KEYWORD3);
795:                tsqlKeywords.add("xp_deletemail", Token.KEYWORD3);
796:                tsqlKeywords.add("xp_enumgroups", Token.KEYWORD3);
797:                tsqlKeywords.add("xp_findnextmsg", Token.KEYWORD3);
798:                tsqlKeywords.add("xp_findnextmsg", Token.KEYWORD3);
799:                tsqlKeywords.add("xp_grantlogin", Token.KEYWORD3);
800:                tsqlKeywords.add("xp_logevent", Token.KEYWORD3);
801:                tsqlKeywords.add("xp_loginconfig", Token.KEYWORD3);
802:                tsqlKeywords.add("xp_logininfo", Token.KEYWORD3);
803:                tsqlKeywords.add("xp_msver", Token.KEYWORD3);
804:                tsqlKeywords.add("xp_readmail", Token.KEYWORD3);
805:                tsqlKeywords.add("xp_revokelogin", Token.KEYWORD3);
806:                tsqlKeywords.add("xp_sendmail", Token.KEYWORD3);
807:                tsqlKeywords.add("xp_sprintf", Token.KEYWORD3);
808:                tsqlKeywords.add("xp_sqlinventory", Token.KEYWORD3);
809:                tsqlKeywords.add("xp_sqlmaint", Token.KEYWORD3);
810:                tsqlKeywords.add("xp_sqltrace", Token.KEYWORD3);
811:                tsqlKeywords.add("xp_sscanf", Token.KEYWORD3);
812:                tsqlKeywords.add("xp_startmail", Token.KEYWORD3);
813:                tsqlKeywords.add("xp_stopmail", Token.KEYWORD3);
814:                tsqlKeywords.add("xp_trace_addnewqueue", Token.KEYWORD3);
815:                tsqlKeywords.add("xp_trace_deletequeuedefinition",
816:                        Token.KEYWORD3);
817:                tsqlKeywords.add("xp_trace_destroyqueue", Token.KEYWORD3);
818:                tsqlKeywords.add("xp_trace_enumqueuedefname", Token.KEYWORD3);
819:                tsqlKeywords.add("xp_trace_enumqueuehandles", Token.KEYWORD3);
820:                tsqlKeywords.add("xp_trace_eventclassrequired", Token.KEYWORD3);
821:                tsqlKeywords.add("xp_trace_flushqueryhistory", Token.KEYWORD3);
822:                tsqlKeywords.add("xp_trace_generate_event", Token.KEYWORD3);
823:                tsqlKeywords.add("xp_trace_getappfilter", Token.KEYWORD3);
824:                tsqlKeywords.add("xp_trace_getconnectionidfilter",
825:                        Token.KEYWORD3);
826:                tsqlKeywords.add("xp_trace_getcpufilter", Token.KEYWORD3);
827:                tsqlKeywords.add("xp_trace_getdbidfilter", Token.KEYWORD3);
828:                tsqlKeywords.add("xp_trace_getdurationfilter", Token.KEYWORD3);
829:                tsqlKeywords.add("xp_trace_geteventfilter", Token.KEYWORD3);
830:                tsqlKeywords.add("xp_trace_geteventnames", Token.KEYWORD3);
831:                tsqlKeywords.add("xp_trace_getevents", Token.KEYWORD3);
832:                tsqlKeywords.add("xp_trace_gethostfilter", Token.KEYWORD3);
833:                tsqlKeywords.add("xp_trace_gethpidfilter", Token.KEYWORD3);
834:                tsqlKeywords.add("xp_trace_getindidfilter", Token.KEYWORD3);
835:                tsqlKeywords.add("xp_trace_getntdmfilter", Token.KEYWORD3);
836:                tsqlKeywords.add("xp_trace_getntnmfilter", Token.KEYWORD3);
837:                tsqlKeywords.add("xp_trace_getobjidfilter", Token.KEYWORD3);
838:                tsqlKeywords.add("xp_trace_getqueueautostart", Token.KEYWORD3);
839:                tsqlKeywords
840:                        .add("xp_trace_getqueuedestination", Token.KEYWORD3);
841:                tsqlKeywords.add("xp_trace_getqueueproperties", Token.KEYWORD3);
842:                tsqlKeywords.add("xp_trace_getreadfilter", Token.KEYWORD3);
843:                tsqlKeywords.add("xp_trace_getserverfilter", Token.KEYWORD3);
844:                tsqlKeywords.add("xp_trace_getseverityfilter", Token.KEYWORD3);
845:                tsqlKeywords.add("xp_trace_getspidfilter", Token.KEYWORD3);
846:                tsqlKeywords
847:                        .add("xp_trace_getsysobjectsfilter", Token.KEYWORD3);
848:                tsqlKeywords.add("xp_trace_gettextfilter", Token.KEYWORD3);
849:                tsqlKeywords.add("xp_trace_getuserfilter", Token.KEYWORD3);
850:                tsqlKeywords.add("xp_trace_getwritefilter", Token.KEYWORD3);
851:                tsqlKeywords
852:                        .add("xp_trace_loadqueuedefinition", Token.KEYWORD3);
853:                tsqlKeywords.add("xp_trace_pausequeue", Token.KEYWORD3);
854:                tsqlKeywords.add("xp_trace_restartqueue", Token.KEYWORD3);
855:                tsqlKeywords
856:                        .add("xp_trace_savequeuedefinition", Token.KEYWORD3);
857:                tsqlKeywords.add("xp_trace_setappfilter", Token.KEYWORD3);
858:                tsqlKeywords.add("xp_trace_setconnectionidfilter",
859:                        Token.KEYWORD3);
860:                tsqlKeywords.add("xp_trace_setcpufilter", Token.KEYWORD3);
861:                tsqlKeywords.add("xp_trace_setdbidfilter", Token.KEYWORD3);
862:                tsqlKeywords.add("xp_trace_setdurationfilter", Token.KEYWORD3);
863:                tsqlKeywords.add("xp_trace_seteventclassrequired",
864:                        Token.KEYWORD3);
865:                tsqlKeywords.add("xp_trace_seteventfilter", Token.KEYWORD3);
866:                tsqlKeywords.add("xp_trace_sethostfilter", Token.KEYWORD3);
867:                tsqlKeywords.add("xp_trace_sethpidfilter", Token.KEYWORD3);
868:                tsqlKeywords.add("xp_trace_setindidfilter", Token.KEYWORD3);
869:                tsqlKeywords.add("xp_trace_setntdmfilter", Token.KEYWORD3);
870:                tsqlKeywords.add("xp_trace_setntnmfilter", Token.KEYWORD3);
871:                tsqlKeywords.add("xp_trace_setobjidfilter", Token.KEYWORD3);
872:                tsqlKeywords.add("xp_trace_setqueryhistory", Token.KEYWORD3);
873:                tsqlKeywords.add("xp_trace_setqueueautostart", Token.KEYWORD3);
874:                tsqlKeywords.add("xp_trace_setqueuecreateinfo", Token.KEYWORD3);
875:                tsqlKeywords
876:                        .add("xp_trace_setqueuedestination", Token.KEYWORD3);
877:                tsqlKeywords.add("xp_trace_setreadfilter", Token.KEYWORD3);
878:                tsqlKeywords.add("xp_trace_setserverfilter", Token.KEYWORD3);
879:                tsqlKeywords.add("xp_trace_setseverityfilter", Token.KEYWORD3);
880:                tsqlKeywords.add("xp_trace_setspidfilter", Token.KEYWORD3);
881:                tsqlKeywords
882:                        .add("xp_trace_setsysobjectsfilter", Token.KEYWORD3);
883:                tsqlKeywords.add("xp_trace_settextfilter", Token.KEYWORD3);
884:                tsqlKeywords.add("xp_trace_setuserfilter", Token.KEYWORD3);
885:                tsqlKeywords.add("xp_trace_setwritefilter", Token.KEYWORD3);
886:            }
887:
888:            private static void addSystemTables() {
889:                tsqlKeywords.add("backupfile", Token.KEYWORD3);
890:                tsqlKeywords.add("backupmediafamily", Token.KEYWORD3);
891:                tsqlKeywords.add("backupmediaset", Token.KEYWORD3);
892:                tsqlKeywords.add("backupset", Token.KEYWORD3);
893:                tsqlKeywords.add("MSagent_parameters", Token.KEYWORD3);
894:                tsqlKeywords.add("MSagent_profiles", Token.KEYWORD3);
895:                tsqlKeywords.add("MSarticles", Token.KEYWORD3);
896:                tsqlKeywords.add("MSdistpublishers", Token.KEYWORD3);
897:                tsqlKeywords.add("MSdistribution_agents", Token.KEYWORD3);
898:                tsqlKeywords.add("MSdistribution_history", Token.KEYWORD3);
899:                tsqlKeywords.add("MSdistributiondbs", Token.KEYWORD3);
900:                tsqlKeywords.add("MSdistributor", Token.KEYWORD3);
901:                tsqlKeywords.add("MSlogreader_agents", Token.KEYWORD3);
902:                tsqlKeywords.add("MSlogreader_history", Token.KEYWORD3);
903:                tsqlKeywords.add("MSmerge_agents", Token.KEYWORD3);
904:                tsqlKeywords.add("MSmerge_contents", Token.KEYWORD3);
905:                tsqlKeywords.add("MSmerge_delete_conflicts", Token.KEYWORD3);
906:                tsqlKeywords.add("MSmerge_genhistory", Token.KEYWORD3);
907:                tsqlKeywords.add("MSmerge_history", Token.KEYWORD3);
908:                tsqlKeywords.add("MSmerge_replinfo", Token.KEYWORD3);
909:                tsqlKeywords.add("MSmerge_subscriptions", Token.KEYWORD3);
910:                tsqlKeywords.add("MSmerge_tombstone", Token.KEYWORD3);
911:                tsqlKeywords.add("MSpublication_access", Token.KEYWORD3);
912:                tsqlKeywords.add("Mspublications", Token.KEYWORD3);
913:                tsqlKeywords.add("Mspublisher_databases", Token.KEYWORD3);
914:                tsqlKeywords.add("MSrepl_commands", Token.KEYWORD3);
915:                tsqlKeywords.add("MSrepl_errors", Token.KEYWORD3);
916:                tsqlKeywords.add("Msrepl_originators", Token.KEYWORD3);
917:                tsqlKeywords.add("MSrepl_transactions", Token.KEYWORD3);
918:                tsqlKeywords.add("MSrepl_version", Token.KEYWORD3);
919:                tsqlKeywords.add("MSreplication_objects", Token.KEYWORD3);
920:                tsqlKeywords.add("MSreplication_subscriptions", Token.KEYWORD3);
921:                tsqlKeywords.add("MSsnapshot_agents", Token.KEYWORD3);
922:                tsqlKeywords.add("MSsnapshot_history", Token.KEYWORD3);
923:                tsqlKeywords.add("MSsubscriber_info", Token.KEYWORD3);
924:                tsqlKeywords.add("MSsubscriber_schedule", Token.KEYWORD3);
925:                tsqlKeywords.add("MSsubscription_properties", Token.KEYWORD3);
926:                tsqlKeywords.add("MSsubscriptions", Token.KEYWORD3);
927:                tsqlKeywords.add("restorefile", Token.KEYWORD3);
928:                tsqlKeywords.add("restorefilegroup", Token.KEYWORD3);
929:                tsqlKeywords.add("restorehistory", Token.KEYWORD3);
930:                tsqlKeywords.add("sysalerts", Token.KEYWORD3);
931:                tsqlKeywords.add("sysallocations", Token.KEYWORD3);
932:                tsqlKeywords.add("sysaltfiles", Token.KEYWORD3);
933:                tsqlKeywords.add("sysarticles", Token.KEYWORD3);
934:                tsqlKeywords.add("sysarticleupdates", Token.KEYWORD3);
935:                tsqlKeywords.add("syscacheobjects", Token.KEYWORD3);
936:                tsqlKeywords.add("syscategories", Token.KEYWORD3);
937:                tsqlKeywords.add("syscharsets", Token.KEYWORD3);
938:                tsqlKeywords.add("syscolumns", Token.KEYWORD3);
939:                tsqlKeywords.add("syscomments", Token.KEYWORD3);
940:                tsqlKeywords.add("sysconfigures", Token.KEYWORD3);
941:                tsqlKeywords.add("sysconstraints", Token.KEYWORD3);
942:                tsqlKeywords.add("syscurconfigs", Token.KEYWORD3);
943:                tsqlKeywords.add("sysdatabases", Token.KEYWORD3);
944:                tsqlKeywords.add("sysdatabases", Token.KEYWORD3);
945:                tsqlKeywords.add("sysdepends", Token.KEYWORD3);
946:                tsqlKeywords.add("sysdevices", Token.KEYWORD3);
947:                tsqlKeywords.add("sysdownloadlist", Token.KEYWORD3);
948:                tsqlKeywords.add("sysfilegroups", Token.KEYWORD3);
949:                tsqlKeywords.add("sysfiles", Token.KEYWORD3);
950:                tsqlKeywords.add("sysforeignkeys", Token.KEYWORD3);
951:                tsqlKeywords.add("sysfulltextcatalogs", Token.KEYWORD3);
952:                tsqlKeywords.add("sysindexes", Token.KEYWORD3);
953:                tsqlKeywords.add("sysindexkeys", Token.KEYWORD3);
954:                tsqlKeywords.add("sysjobhistory", Token.KEYWORD3);
955:                tsqlKeywords.add("sysjobs", Token.KEYWORD3);
956:                tsqlKeywords.add("sysjobschedules", Token.KEYWORD3);
957:                tsqlKeywords.add("sysjobservers", Token.KEYWORD3);
958:                tsqlKeywords.add("sysjobsteps", Token.KEYWORD3);
959:                tsqlKeywords.add("syslanguages", Token.KEYWORD3);
960:                tsqlKeywords.add("syslockinfo", Token.KEYWORD3);
961:                tsqlKeywords.add("syslogins", Token.KEYWORD3);
962:                tsqlKeywords.add("sysmembers", Token.KEYWORD3);
963:                tsqlKeywords.add("sysmergearticles", Token.KEYWORD3);
964:                tsqlKeywords.add("sysmergepublications", Token.KEYWORD3);
965:                tsqlKeywords.add("sysmergeschemachange", Token.KEYWORD3);
966:                tsqlKeywords.add("sysmergesubscriptions", Token.KEYWORD3);
967:                tsqlKeywords.add("sysmergesubsetfilters", Token.KEYWORD3);
968:                tsqlKeywords.add("sysmessages", Token.KEYWORD3);
969:                tsqlKeywords.add("sysnotifications", Token.KEYWORD3);
970:                tsqlKeywords.add("sysobjects", Token.KEYWORD3);
971:                tsqlKeywords.add("sysobjects", Token.KEYWORD3);
972:                tsqlKeywords.add("sysoledbusers", Token.KEYWORD3);
973:                tsqlKeywords.add("sysoperators", Token.KEYWORD3);
974:                tsqlKeywords.add("sysperfinfo", Token.KEYWORD3);
975:                tsqlKeywords.add("syspermissions", Token.KEYWORD3);
976:                tsqlKeywords.add("sysprocesses", Token.KEYWORD3);
977:                tsqlKeywords.add("sysprotects", Token.KEYWORD3);
978:                tsqlKeywords.add("syspublications", Token.KEYWORD3);
979:                tsqlKeywords.add("sysreferences", Token.KEYWORD3);
980:                tsqlKeywords.add("sysremotelogins", Token.KEYWORD3);
981:                tsqlKeywords.add("sysreplicationalerts", Token.KEYWORD3);
982:                tsqlKeywords.add("sysservers", Token.KEYWORD3);
983:                tsqlKeywords.add("sysservers", Token.KEYWORD3);
984:                tsqlKeywords.add("syssubscriptions", Token.KEYWORD3);
985:                tsqlKeywords.add("systargetservergroupmembers", Token.KEYWORD3);
986:                tsqlKeywords.add("systargetservergroups", Token.KEYWORD3);
987:                tsqlKeywords.add("systargetservers", Token.KEYWORD3);
988:                tsqlKeywords.add("systaskids", Token.KEYWORD3);
989:                tsqlKeywords.add("systypes", Token.KEYWORD3);
990:                tsqlKeywords.add("sysusers", Token.KEYWORD3);
991:            }
992:
993:            private static KeywordMap tsqlKeywords;
994:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.