ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_mssql7.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3 if (!isset ($BEAUT_PATH)) return;
4 require_once("$BEAUT_PATH/Beautifier/HFile.php");
5  class HFile_mssql7 extends HFile{
6  function HFile_mssql7(){
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // SQL
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "1";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray", "brown");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array("BEGIN");
28 $this->unindent = array("END");
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array("\"", "'");
33 $this->delimiters = array("!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "[", "]", ";", "\"", "'", "<", ">", " ", ",", " ", ".");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("");
39 $this->blockcommenton = array("/*");
40 $this->blockcommentoff = array("*/");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "add" => "1",
46  "all" => "1",
47  "alter" => "1",
48  "and" => "1",
49  "any" => "1",
50  "as" => "1",
51  "asc" => "1",
52  "authorization" => "1",
53  "avg" => "1",
54  "backup" => "1",
55  "begin" => "1",
56  "between" => "1",
57  "break" => "1",
58  "browse" => "1",
59  "bulk" => "1",
60  "by" => "1",
61  "cascade" => "1",
62  "case" => "1",
63  "check" => "1",
64  "checkpoint" => "1",
65  "close" => "1",
66  "clustered" => "1",
67  "coalesce" => "1",
68  "column" => "1",
69  "commit" => "1",
70  "committed" => "1",
71  "compute" => "1",
72  "confirm" => "1",
73  "constraint" => "1",
74  "contains" => "1",
75  "containstable" => "1",
76  "continue" => "1",
77  "controlrow" => "1",
78  "convert" => "1",
79  "count" => "1",
80  "create" => "1",
81  "cross" => "1",
82  "current" => "1",
83  "current_date" => "1",
84  "current_time" => "1",
85  "current_timestamp" => "1",
86  "current_user" => "1",
87  "cursor" => "1",
88  "database" => "1",
89  "dbcc" => "1",
90  "deallocate" => "1",
91  "declare" => "1",
92  "default" => "1",
93  "delete" => "1",
94  "deny" => "1",
95  "desc" => "1",
96  "disk" => "1",
97  "distinct" => "1",
98  "distributed" => "1",
99  "double" => "1",
100  "drop" => "1",
101  "dummy" => "1",
102  "dump" => "1",
103  "else" => "1",
104  "end" => "1",
105  "errlvl" => "1",
106  "errorexit" => "1",
107  "escape" => "1",
108  "except" => "1",
109  "exec" => "1",
110  "execute" => "1",
111  "exists" => "1",
112  "exit" => "1",
113  "fetch" => "1",
114  "file" => "1",
115  "fillfactor" => "1",
116  "floppy" => "1",
117  "for" => "1",
118  "foreign" => "1",
119  "freetext" => "1",
120  "freetexttable" => "1",
121  "from" => "1",
122  "full" => "1",
123  "go" => "1",
124  "goto" => "1",
125  "grant" => "1",
126  "group" => "1",
127  "having" => "1",
128  "holdlock" => "1",
129  "identity" => "1",
130  "identity_insert" => "1",
131  "identitycol" => "1",
132  "if" => "1",
133  "in" => "1",
134  "index" => "1",
135  "inner" => "1",
136  "insert" => "1",
137  "intersect" => "1",
138  "into" => "1",
139  "is" => "1",
140  "isolation" => "1",
141  "join" => "1",
142  "key" => "1",
143  "kill" => "1",
144  "left" => "1",
145  "level" => "1",
146  "like" => "1",
147  "lineno" => "1",
148  "load" => "1",
149  "max" => "1",
150  "min" => "1",
151  "mirrorexit" => "1",
152  "national" => "1",
153  "nocheck" => "1",
154  "nonclustered" => "1",
155  "not" => "1",
156  "null" => "1",
157  "nullif" => "1",
158  "of" => "1",
159  "off" => "1",
160  "offsets" => "1",
161  "on" => "1",
162  "once" => "1",
163  "only" => "1",
164  "open" => "1",
165  "opendatasource" => "1",
166  "openquery" => "1",
167  "openrowset" => "1",
168  "option" => "1",
169  "or" => "1",
170  "order" => "1",
171  "outer" => "1",
172  "over" => "1",
173  "percent" => "1",
174  "perm" => "1",
175  "permanent" => "1",
176  "pipe" => "1",
177  "plan" => "1",
178  "precision" => "1",
179  "prepare" => "1",
180  "primary" => "1",
181  "print" => "1",
182  "privileges" => "1",
183  "proc" => "1",
184  "procedure" => "1",
185  "processexit" => "1",
186  "public" => "1",
187  "raiserror" => "1",
188  "read" => "1",
189  "readtext" => "1",
190  "reconfigure" => "1",
191  "references" => "1",
192  "repeatable" => "1",
193  "replication" => "1",
194  "restore" => "1",
195  "restrict" => "1",
196  "return" => "1",
197  "revoke" => "1",
198  "right" => "1",
199  "rollback" => "1",
200  "rowcount" => "1",
201  "rowguidcol" => "1",
202  "rule" => "1",
203  "save" => "1",
204  "schema" => "1",
205  "select" => "1",
206  "serializable" => "1",
207  "session_user" => "1",
208  "set" => "1",
209  "setuser" => "1",
210  "shutdown" => "1",
211  "some" => "1",
212  "statistics" => "1",
213  "sum" => "1",
214  "system_user" => "1",
215  "table" => "1",
216  "tape" => "1",
217  "temp" => "1",
218  "temporary" => "1",
219  "textsize" => "1",
220  "then" => "1",
221  "to" => "1",
222  "top" => "1",
223  "tran" => "1",
224  "transaction" => "1",
225  "trigger" => "1",
226  "truncate" => "1",
227  "tsequal" => "1",
228  "uncommitted" => "1",
229  "union" => "1",
230  "unique" => "1",
231  "update" => "1",
232  "updatetext" => "1",
233  "use" => "1",
234  "user" => "1",
235  "values" => "1",
236  "varying" => "1",
237  "view" => "1",
238  "waitfor" => "1",
239  "when" => "1",
240  "where" => "1",
241  "while" => "1",
242  "with" => "1",
243  "work" => "1",
244  "writetext" => "1",
245  "binary" => "2",
246  "bit" => "2",
247  "char" => "2",
248  "character" => "2",
249  "datetime" => "2",
250  "dec" => "2",
251  "decimal" => "2",
252  "float" => "2",
253  "image" => "2",
254  "int" => "2",
255  "integer" => "2",
256  "money" => "2",
257  "nchar" => "2",
258  "ntext" => "2",
259  "numeric" => "2",
260  "nvarchar" => "2",
261  "real" => "2",
262  "smalldatetime" => "2",
263  "smallint" => "2",
264  "smallmoney" => "2",
265  "text" => "2",
266  "timestamp" => "2",
267  "tinyint" => "2",
268  "uniqueidentifier" => "2",
269  "varbinary" => "2",
270  "varchar" => "2",
271  "sp_abort_xact" => "3",
272  "sp_add_agent_parameter" => "3",
273  "sp_add_agent_profile" => "3",
274  "sp_add_server_sortinfo" => "3",
275  "sp_addalias" => "3",
276  "sp_addapprole" => "3",
277  "sp_addarticle" => "3",
278  "sp_adddistpublisher" => "3",
279  "sp_adddistributiondb" => "3",
280  "sp_adddistributor" => "3",
281  "sp_addextendedproc" => "3",
282  "sp_addgroup" => "3",
283  "sp_addlinkedserver" => "3",
284  "sp_addlinkedsrvlogin" => "3",
285  "sp_addlogin" => "3",
286  "sp_addmergearticle" => "3",
287  "sp_addmergefilter" => "3",
288  "sp_addmergepublication" => "3",
289  "sp_addmergepullsubscription" => "3",
290  "sp_addmergepullsubscription_agent" => "3",
291  "sp_addmergesubscription" => "3",
292  "sp_addmessage" => "3",
293  "sp_addpublication" => "3",
294  "sp_addpublication_snaHFileot" => "3",
295  "sp_addpublisher" => "3",
296  "sp_addpullsubscription" => "3",
297  "sp_addpullsubscription_agent" => "3",
298  "sp_addremotelogin" => "3",
299  "sp_addrole" => "3",
300  "sp_addrolemember" => "3",
301  "sp_addserver" => "3",
302  "sp_addsrvrolemember" => "3",
303  "sp_addsubscriber" => "3",
304  "sp_addsubscriber_schedule" => "3",
305  "sp_addsubscription" => "3",
306  "sp_addsynctriggers" => "3",
307  "sp_addtype" => "3",
308  "sp_addumpdevice" => "3",
309  "sp_adduser" => "3",
310  "sp_altermessage" => "3",
311  "sp_approlepassword" => "3",
312  "sp_article_validation" => "3",
313  "sp_articlecolumn" => "3",
314  "sp_articlefilter" => "3",
315  "sp_articlesynctranprocs" => "3",
316  "sp_articleview" => "3",
317  "sp_attach_db" => "3",
318  "sp_attach_single_file_db" => "3",
319  "sp_autostats" => "3",
320  "sp_bindefault" => "3",
321  "sp_bindrule" => "3",
322  "sp_bindsession" => "3",
323  "sp_blockcnt" => "3",
324  "sp_catalogs" => "3",
325  "sp_catalogs_rowset" => "3",
326  "sp_certify_removable" => "3",
327  "sp_change_subscription_properties" => "3",
328  "sp_change_users_login" => "3",
329  "sp_changearticle" => "3",
330  "sp_changedbowner" => "3",
331  "sp_changedistpublisher" => "3",
332  "sp_changedistributiondb" => "3",
333  "sp_changedistributor_password" => "3",
334  "sp_changedistributor_property" => "3",
335  "sp_changegroup" => "3",
336  "sp_changemergearticle" => "3",
337  "sp_changemergefilter" => "3",
338  "sp_changemergepublication" => "3",
339  "sp_changemergepullsubscription" => "3",
340  "sp_changemergesubscription" => "3",
341  "sp_changeobjectowner" => "3",
342  "sp_changepublication" => "3",
343  "sp_changesubscriber" => "3",
344  "sp_changesubscriber_schedule" => "3",
345  "sp_changesubscription" => "3",
346  "sp_changesubstatus" => "3",
347  "sp_check_for_sync_trigger" => "3",
348  "sp_check_removable" => "3",
349  "sp_check_removable_sysusers" => "3",
350  "sp_check_sync_trigger" => "3",
351  "sp_checknames" => "3",
352  "sp_cleanupwebtask" => "3",
353  "sp_column_privileges" => "3",
354  "sp_column_privileges_ex" => "3",
355  "sp_column_privileges_rowset" => "3",
356  "sp_columns" => "3",
357  "sp_columns_ex" => "3",
358  "sp_columns_rowset" => "3",
359  "sp_commit_xact" => "3",
360  "sp_configure" => "3",
361  "sp_create_removable" => "3",
362  "sp_createorphan" => "3",
363  "sp_createstats" => "3",
364  "sp_cursor" => "3",
365  "sp_cursor_list" => "3",
366  "sp_cursorclose" => "3",
367  "sp_cursorexecute" => "3",
368  "sp_cursorfetch" => "3",
369  "sp_cursoropen" => "3",
370  "sp_cursoroption" => "3",
371  "sp_cursorprepare" => "3",
372  "sp_cursorunprepare" => "3",
373  "sp_databases" => "3",
374  "sp_datatype_info" => "3",
375  "sp_db_upgrade" => "3",
376  "sp_dbcmptlevel" => "3",
377  "sp_dbfixedrolepermission" => "3",
378  "sp_dboption" => "3",
379  "sp_dbremove" => "3",
380  "sp_ddopen" => "3",
381  "sp_defaultdb" => "3",
382  "sp_defaultlanguage" => "3",
383  "sp_deletemergeconflictrow" => "3",
384  "sp_denylogin" => "3",
385  "sp_depends" => "3",
386  "sp_describe_cursor" => "3",
387  "sp_describe_cursor_columns" => "3",
388  "sp_describe_cursor_tables" => "3",
389  "sp_detach_db" => "3",
390  "sp_diskdefault" => "3",
391  "sp_distcounters" => "3",
392  "sp_drop_agent_parameter" => "3",
393  "sp_drop_agent_profile" => "3",
394  "sp_dropalias" => "3",
395  "sp_dropapprole" => "3",
396  "sp_droparticle" => "3",
397  "sp_dropdevice" => "3",
398  "sp_dropdistpublisher" => "3",
399  "sp_dropdistributiondb" => "3",
400  "sp_dropdistributor" => "3",
401  "sp_dropextendedproc" => "3",
402  "sp_dropgroup" => "3",
403  "sp_droplinkedsrvlogin" => "3",
404  "sp_droplogin" => "3",
405  "sp_dropmergearticle" => "3",
406  "sp_dropmergefilter" => "3",
407  "sp_dropmergepublication" => "3",
408  "sp_dropmergepullsubscription" => "3",
409  "sp_dropmergesubscription" => "3",
410  "sp_dropmessage" => "3",
411  "sp_droporphans" => "3",
412  "sp_droppublication" => "3",
413  "sp_droppublisher" => "3",
414  "sp_droppullsubscription" => "3",
415  "sp_dropremotelogin" => "3",
416  "sp_droprole" => "3",
417  "sp_droprolemember" => "3",
418  "sp_dropserver" => "3",
419  "sp_dropsrvrolemember" => "3",
420  "sp_dropsubscriber" => "3",
421  "sp_dropsubscription" => "3",
422  "sp_droptype" => "3",
423  "sp_dropuser" => "3",
424  "sp_dropwebtask" => "3",
425  "sp_dsninfo" => "3",
426  "sp_enumcodepages" => "3",
427  "sp_enumcustomresolvers" => "3",
428  "sp_enumdsn" => "3",
429  "sp_enumfullsubscribers" => "3",
430  "sp_enumoledbdatasources" => "3",
431  "sp_execute" => "3",
432  "sp_executesql" => "3",
433  "sp_fallback_MS_sel_fb_svr" => "3",
434  "sp_fetchshowcmdsinput" => "3",
435  "sp_fixindex" => "3",
436  "sp_fkeys" => "3",
437  "sp_foreign_keys_rowset" => "3",
438  "sp_foreignkeys" => "3",
439  "sp_fulltext_catalog" => "3",
440  "sp_fulltext_column" => "3",
441  "sp_fulltext_database" => "3",
442  "sp_fulltext_getdata" => "3",
443  "sp_fulltext_service" => "3",
444  "sp_fulltext_table" => "3",
445  "sp_generatefilters" => "3",
446  "sp_get_distributor" => "3",
447  "sp_getarticlepkcolbitmap" => "3",
448  "sp_getbindtoken" => "3",
449  "sp_GetMBCSCharLen" => "3",
450  "sp_getmergedeletetype" => "3",
451  "sp_gettypestring" => "3",
452  "sp_grant_publication_access" => "3",
453  "sp_grantdbaccess" => "3",
454  "sp_grantlogin" => "3",
455  "sp_help" => "3",
456  "sp_help_agent_default" => "3",
457  "sp_help_agent_parameter" => "3",
458  "sp_help_agent_profile" => "3",
459  "sp_help_fulltext_catalogs" => "3",
460  "sp_help_fulltext_catalogs_cursor" => "3",
461  "sp_help_fulltext_columns" => "3",
462  "sp_help_fulltext_columns_cursor" => "3",
463  "sp_help_fulltext_tables" => "3",
464  "sp_help_fulltext_tables_cursor" => "3",
465  "sp_help_publication_access" => "3",
466  "sp_helpallowmerge_publication" => "3",
467  "sp_helparticle" => "3",
468  "sp_helparticlecolumns" => "3",
469  "sp_helpconstraint" => "3",
470  "sp_helpdb" => "3",
471  "sp_helpdbfixedrole" => "3",
472  "sp_helpdevice" => "3",
473  "sp_helpdistpublisher" => "3",
474  "sp_helpdistributiondb" => "3",
475  "sp_helpdistributor" => "3",
476  "sp_helpdistributor_properties" => "3",
477  "sp_helpextendedproc" => "3",
478  "sp_helpfile" => "3",
479  "sp_helpfilegroup" => "3",
480  "sp_helpgroup" => "3",
481  "sp_helpindex" => "3",
482  "sp_helplanguage" => "3",
483  "sp_helplog" => "3",
484  "sp_helplogins" => "3",
485  "sp_helpmergearticle" => "3",
486  "sp_helpmergearticleconflicts" => "3",
487  "sp_helpmergeconflictrows" => "3",
488  "sp_helpmergedeleteconflictrows" => "3",
489  "sp_helpmergefilter" => "3",
490  "sp_helpmergepublication" => "3",
491  "sp_helpmergepullsubscription" => "3",
492  "sp_helpmergesubscription" => "3",
493  "sp_helpntgroup" => "3",
494  "sp_helppublication" => "3",
495  "sp_helppublication_snaHFileot" => "3",
496  "sp_helppublicationsync" => "3",
497  "sp_helppullsubscription" => "3",
498  "sp_helpremotelogin" => "3",
499  "sp_helpreplicationdb" => "3",
500  "sp_helpreplicationdboption" => "3",
501  "sp_helpreplicationoption" => "3",
502  "sp_helprole" => "3",
503  "sp_helprolemember" => "3",
504  "sp_helprotect" => "3",
505  "sp_helpserver" => "3",
506  "sp_helpsort" => "3",
507  "sp_helpsql" => "3",
508  "sp_helpsrvrole" => "3",
509  "sp_helpsrvrolemember" => "3",
510  "sp_helpstartup" => "3",
511  "sp_helpsubscriber" => "3",
512  "sp_helpsubscriberinfo" => "3",
513  "sp_helpsubscription" => "3",
514  "sp_helpsubscription_properties" => "3",
515  "sp_helptext" => "3",
516  "sp_helptrigger" => "3",
517  "sp_helpuser" => "3",
518  "sp_indexes" => "3",
519  "sp_indexes_rowset" => "3",
520  "sp_indexoption" => "3",
521  "sp_isarticlecolbitset" => "3",
522  "sp_IsMBCSLeadByte" => "3",
523  "sp_link_publication" => "3",
524  "sp_linkedservers" => "3",
525  "sp_linkedservers_rowset" => "3",
526  "sp_lock" => "3",
527  "sp_lockinfo" => "3",
528  "sp_logdevice" => "3",
529  "sp_makestartup" => "3",
530  "sp_makewebtask" => "3",
531  "sp_mergedummyupdate" => "3",
532  "sp_mergesubscription_cleanup" => "3",
533  "sp_mergesubscriptioncleanup" => "3",
534  "sp_monitor" => "3",
535  "sp_MS_marksystemobject" => "3",
536  "sp_MS_replication_installed" => "3",
537  "sp_MS_upd_sysobj_category" => "3",
538  "sp_MSactivate_auto_sub" => "3",
539  "sp_MSadd_distributor_alerts_and_responses" => "3",
540  "sp_MSadd_mergereplcommand" => "3",
541  "sp_MSadd_repl_job" => "3",
542  "sp_MSaddanonymousreplica" => "3",
543  "sp_MSaddarticletocontents" => "3",
544  "sp_MSaddexecarticle" => "3",
545  "sp_MSaddguidcolumn" => "3",
546  "sp_MSaddguidindex" => "3",
547  "sp_MSaddinitialarticle" => "3",
548  "sp_MSaddinitialpublication" => "3",
549  "sp_MSaddinitialsubscription" => "3",
550  "sp_MSaddlogin_implicit_ntlogin" => "3",
551  "sp_MSaddmergepub_snaHFileot" => "3",
552  "sp_MSaddmergetriggers" => "3",
553  "sp_MSaddpub_snaHFileot" => "3",
554  "sp_MSaddpubtocontents" => "3",
555  "sp_MSaddupdatetrigger" => "3",
556  "sp_MSadduser_implicit_ntlogin" => "3",
557  "sp_MSarticlecleanup" => "3",
558  "sp_MSarticletextcol" => "3",
559  "sp_MSbelongs" => "3",
560  "sp_MSchange_priority" => "3",
561  "sp_MSchangearticleresolver" => "3",
562  "sp_MScheck_agent_instance" => "3",
563  "sp_MScheck_uid_owns_anything" => "3",
564  "sp_MScheckatpublisher" => "3",
565  "sp_MScheckexistsgeneration" => "3",
566  "sp_MScheckmetadatamatch" => "3",
567  "sp_MScleanup_subscription" => "3",
568  "sp_MScleanuptask" => "3",
569  "sp_MScontractsubsnb" => "3",
570  "sp_MScreate_dist_tables" => "3",
571  "sp_MScreate_distributor_tables" => "3",
572  "sp_MScreate_mergesystables" => "3",
573  "sp_MScreate_pub_tables" => "3",
574  "sp_MScreate_replication_checkup_agent" => "3",
575  "sp_MScreate_replication_status_table" => "3",
576  "sp_MScreate_sub_tables" => "3",
577  "sp_MScreateglobalreplica" => "3",
578  "sp_MScreateretry" => "3",
579  "sp_MSdbuseraccess" => "3",
580  "sp_MSdbuserpriv" => "3",
581  "sp_MSdeletecontents" => "3",
582  "sp_MSdeletepushagent" => "3",
583  "sp_MSdeleteretry" => "3",
584  "sp_MSdelrow" => "3",
585  "sp_MSdelsubrows" => "3",
586  "sp_MSdependencies" => "3",
587  "sp_MSdoesfilterhaveparent" => "3",
588  "sp_MSdrop_6x_replication_agent" => "3",
589  "sp_MSdrop_distributor_alerts_and_responses" => "3",
590  "sp_MSdrop_mergesystables" => "3",
591  "sp_MSdrop_object" => "3",
592  "sp_MSdrop_pub_tables" => "3",
593  "sp_MSdrop_replcom" => "3",
594  "sp_MSdrop_repltran" => "3",
595  "sp_MSdrop_rladmin" => "3",
596  "sp_MSdrop_rlcore" => "3",
597  "sp_MSdrop_rlrecon" => "3",
598  "sp_MSdroparticleprocs" => "3",
599  "sp_MSdroparticletombstones" => "3",
600  "sp_MSdroparticletriggers" => "3",
601  "sp_MSdropconstraints" => "3",
602  "sp_MSdropmergepub_snaHFileot" => "3",
603  "sp_MSdropretry" => "3",
604  "sp_MSdummyupdate" => "3",
605  "sp_MSenum_replication_agents" => "3",
606  "sp_MSenum_replication_job" => "3",
607  "sp_MSenum3rdpartypublications" => "3",
608  "sp_MSenumallpublications" => "3",
609  "sp_MSenumchanges" => "3",
610  "sp_MSenumcolumns" => "3",
611  "sp_MSenumdeletesmetadata" => "3",
612  "sp_MSenumgenerations" => "3",
613  "sp_MSenummergepublications" => "3",
614  "sp_MSenumpartialchanges" => "3",
615  "sp_MSenumpartialdeletes" => "3",
616  "sp_MSenumpubreferences" => "3",
617  "sp_MSenumreplicas" => "3",
618  "sp_MSenumretries" => "3",
619  "sp_MSenumschemachange" => "3",
620  "sp_MSenumtranpublications" => "3",
621  "sp_MSexists_file" => "3",
622  "sp_MSexpandbelongs" => "3",
623  "sp_MSexpandnotbelongs" => "3",
624  "sp_MSexpandsubsnb" => "3",
625  "sp_MSfilterclause" => "3",
626  "sp_MSflush_access_cache" => "3",
627  "sp_MSflush_command" => "3",
628  "sp_MSforeach_worker" => "3",
629  "sp_MSforeachdb" => "3",
630  "sp_MSforeachtable" => "3",
631  "sp_MSgen_sync_tran_procs" => "3",
632  "sp_MSgenreplnickname" => "3",
633  "sp_MSgentablenickname" => "3",
634  "sp_MSget_col_position" => "3",
635  "sp_MSget_colinfo" => "3",
636  "sp_MSget_oledbinfo" => "3",
637  "sp_MSget_publisher_rpc" => "3",
638  "sp_MSget_qualifed_name" => "3",
639  "sp_MSget_synctran_commands" => "3",
640  "sp_MSget_type" => "3",
641  "sp_MSgetalertinfo" => "3",
642  "sp_MSgetchangecount" => "3",
643  "sp_MSgetconflictinsertproc" => "3",
644  "sp_MSgetlastrecgen" => "3",
645  "sp_MSgetlastsentgen" => "3",
646  "sp_MSgetonerow" => "3",
647  "sp_MSgetreplicainfo" => "3",
648  "sp_MSgetreplnick" => "3",
649  "sp_MSgetrowmetadata" => "3",
650  "sp_MSguidtostr" => "3",
651  "sp_MShelp_distdb" => "3",
652  "sp_MShelp_replication_status" => "3",
653  "sp_MShelpcolumns" => "3",
654  "sp_MShelpfulltextindex" => "3",
655  "sp_MShelpindex" => "3",
656  "sp_MShelpmergearticles" => "3",
657  "sp_MShelpobjectpublications" => "3",
658  "sp_MShelptype" => "3",
659  "sp_MSIfExistsRemoteLogin" => "3",
660  "sp_MSindexcolfrombin" => "3",
661  "sp_MSindexspace" => "3",
662  "sp_MSinit_replication_perfmon" => "3",
663  "sp_MSinsertcontents" => "3",
664  "sp_MSinsertdeleteconflict" => "3",
665  "sp_MSinsertgenhistory" => "3",
666  "sp_MSinsertschemachange" => "3",
667  "sp_MSis_col_replicated" => "3",
668  "sp_MSis_pk_col" => "3",
669  "sp_MSkilldb" => "3",
670  "sp_MSload_replication_status" => "3",
671  "sp_MSlocktable" => "3",
672  "sp_MSloginmappings" => "3",
673  "sp_MSmakearticleprocs" => "3",
674  "sp_MSmakeconflictinsertproc" => "3",
675  "sp_MSmakeexpandproc" => "3",
676  "sp_MSmakegeneration" => "3",
677  "sp_MSmakeinsertproc" => "3",
678  "sp_MSmakejoinfilter" => "3",
679  "sp_MSmakeselectproc" => "3",
680  "sp_MSmakesystableviews" => "3",
681  "sp_MSmaketempinsertproc" => "3",
682  "sp_MSmakeupdateproc" => "3",
683  "sp_MSmakeviewproc" => "3",
684  "sp_MSmaptype" => "3",
685  "sp_MSmark_proc_norepl" => "3",
686  "sp_MSmatchkey" => "3",
687  "sp_MSmergepublishdb" => "3",
688  "sp_MSmergesubscribedb" => "3",
689  "sp_MSobjectprivs" => "3",
690  "sp_MSpad_command" => "3",
691  "sp_MSproxiedmetadata" => "3",
692  "sp_MSpublicationcleanup" => "3",
693  "sp_MSpublicationview" => "3",
694  "sp_MSpublishdb" => "3",
695  "sp_MSrefcnt" => "3",
696  "sp_MSregistersubscription" => "3",
697  "sp_MSreinit_failed_subscriptions" => "3",
698  "sp_MSrepl_addrolemember" => "3",
699  "sp_MSrepl_dbrole" => "3",
700  "sp_MSrepl_droprolemember" => "3",
701  "sp_MSrepl_encrypt" => "3",
702  "sp_MSrepl_linkedservers_rowset" => "3",
703  "sp_MSrepl_startup" => "3",
704  "sp_MSreplcheck_connection" => "3",
705  "sp_MSreplcheck_publish" => "3",
706  "sp_MSreplcheck_pull" => "3",
707  "sp_MSreplcheck_subscribe" => "3",
708  "sp_MSreplicationcompatlevel" => "3",
709  "sp_MSreplrole" => "3",
710  "sp_MSreplsup_table_has_pk" => "3",
711  "sp_MSscript_beginproc" => "3",
712  "sp_MSscript_begintrig1" => "3",
713  "sp_MSscript_begintrig2" => "3",
714  "sp_MSscript_delete_statement" => "3",
715  "sp_MSscript_dri" => "3",
716  "sp_MSscript_endproc" => "3",
717  "sp_MSscript_endtrig" => "3",
718  "sp_MSscript_insert_statement" => "3",
719  "sp_MSscript_multirow_trigger" => "3",
720  "sp_MSscript_params" => "3",
721  "sp_MSscript_security" => "3",
722  "sp_MSscript_singlerow_trigger" => "3",
723  "sp_MSscript_sync_del_proc" => "3",
724  "sp_MSscript_sync_del_trig" => "3",
725  "sp_MSscript_sync_ins_proc" => "3",
726  "sp_MSscript_sync_ins_trig" => "3",
727  "sp_MSscript_sync_upd_proc" => "3",
728  "sp_MSscript_sync_upd_trig" => "3",
729  "sp_MSscript_trigger_assignment" => "3",
730  "sp_MSscript_trigger_exec_rpc" => "3",
731  "sp_MSscript_trigger_fetch_statement" => "3",
732  "sp_MSscript_trigger_update_checks" => "3",
733  "sp_MSscript_trigger_updates" => "3",
734  "sp_MSscript_trigger_variables" => "3",
735  "sp_MSscript_update_statement" => "3",
736  "sp_MSscript_where_clause" => "3",
737  "sp_MSscriptdatabase" => "3",
738  "sp_MSscriptdb_worker" => "3",
739  "sp_MSsetaccesslist" => "3",
740  "sp_MSsetalertinfo" => "3",
741  "sp_MSsetartprocs" => "3",
742  "sp_MSsetbit" => "3",
743  "sp_MSsetconflictscript" => "3",
744  "sp_MSsetconflicttable" => "3",
745  "sp_MSsetfilteredstatus" => "3",
746  "sp_MSsetfilterparent" => "3",
747  "sp_MSsetlastrecgen" => "3",
748  "sp_MSsetlastsentgen" => "3",
749  "sp_MSsetreplicainfo" => "3",
750  "sp_MSsetreplicastatus" => "3",
751  "sp_MSsetrowmetadata" => "3",
752  "sp_MSsettopology" => "3",
753  "sp_MSsetupbelongs" => "3",
754  "sp_MSSQLDMO70_version" => "3",
755  "sp_MSSQLOLE_version" => "3",
756  "sp_MSSQLOLE65_version" => "3",
757  "sp_MSsubscribedb" => "3",
758  "sp_MSsubscriptions" => "3",
759  "sp_MSsubscriptionvalidated" => "3",
760  "sp_MSsubsetpublication" => "3",
761  "sp_MStable_has_unique_index" => "3",
762  "sp_MStable_not_modifiable" => "3",
763  "sp_MStablechecks" => "3",
764  "sp_MStablekeys" => "3",
765  "sp_MStablenamefromnick" => "3",
766  "sp_MStablenickname" => "3",
767  "sp_MStablerefs" => "3",
768  "sp_MStablespace" => "3",
769  "sp_MStestbit" => "3",
770  "sp_MStextcolstatus" => "3",
771  "sp_MSunc_to_drive" => "3",
772  "sp_MSuniquecolname" => "3",
773  "sp_MSuniquename" => "3",
774  "sp_MSuniqueobjectname" => "3",
775  "sp_MSuniquetempname" => "3",
776  "sp_MSunmarkreplinfo" => "3",
777  "sp_MSunregistersubscription" => "3",
778  "sp_MSupdate_agenttype_default" => "3",
779  "sp_MSupdate_replication_status" => "3",
780  "sp_MSupdatecontents" => "3",
781  "sp_MSupdategenhistory" => "3",
782  "sp_MSupdateschemachange" => "3",
783  "sp_MSupdatesysmergearticles" => "3",
784  "sp_msupg_createcatalogcomputedcols" => "3",
785  "sp_msupg_dosystabcatalogupgrades" => "3",
786  "sp_msupg_dropcatalogcomputedcols" => "3",
787  "sp_msupg_recreatecatalogfaketables" => "3",
788  "sp_msupg_recreatesystemviews" => "3",
789  "sp_msupg_removesystemcomputedcolumns" => "3",
790  "sp_msupg_upgradecatalog" => "3",
791  "sp_MSuplineageversion" => "3",
792  "sp_MSvalidatearticle" => "3",
793  "sp_OACreate" => "3",
794  "sp_OADestroy" => "3",
795  "sp_OAGetErrorInfo" => "3",
796  "sp_OAGetProperty" => "3",
797  "sp_OAMethod" => "3",
798  "sp_OASetProperty" => "3",
799  "sp_OAStop" => "3",
800  "sp_objectfilegroup" => "3",
801  "sp_oledbinfo" => "3",
802  "sp_password" => "3",
803  "sp_pkeys" => "3",
804  "sp_prepare" => "3",
805  "sp_primary_keys_rowset" => "3",
806  "sp_primarykeys" => "3",
807  "sp_probe_xact" => "3",
808  "sp_procedure_params_rowset" => "3",
809  "sp_procedures_rowset" => "3",
810  "sp_processinfo" => "3",
811  "sp_processmail" => "3",
812  "sp_procoption" => "3",
813  "sp_provider_types_rowset" => "3",
814  "sp_publication_validation" => "3",
815  "sp_publishdb" => "3",
816  "sp_recompile" => "3",
817  "sp_refreshsubscriptions" => "3",
818  "sp_refreshview" => "3",
819  "sp_reinitmergepullsubscription" => "3",
820  "sp_reinitmergesubscription" => "3",
821  "sp_reinitpullsubscription" => "3",
822  "sp_reinitsubscription" => "3",
823  "sp_remoteoption" => "3",
824  "sp_remove_tempdb_file" => "3",
825  "sp_remove_xact" => "3",
826  "sp_removedbreplication" => "3",
827  "sp_removesrvreplication" => "3",
828  "sp_rename" => "3",
829  "sp_renamedb" => "3",
830  "sp_replcmds" => "3",
831  "sp_replcounters" => "3",
832  "sp_repldone" => "3",
833  "sp_replflush" => "3",
834  "sp_replica" => "3",
835  "sp_replication_agent_checkup" => "3",
836  "sp_replicationdboption" => "3",
837  "sp_replicationoption" => "3",
838  "sp_replincrementlsn" => "3",
839  "sp_replpostcmd" => "3",
840  "sp_replsetoriginator" => "3",
841  "sp_replshowcmds" => "3",
842  "sp_replsync" => "3",
843  "sp_repltrans" => "3",
844  "sp_replupdateschema" => "3",
845  "sp_reset_connection" => "3",
846  "sp_revoke_publication_access" => "3",
847  "sp_revokedbaccess" => "3",
848  "sp_revokelogin" => "3",
849  "sp_runwebtask" => "3",
850  "sp_scan_xact" => "3",
851  "sp_schemata_rowset" => "3",
852  "sp_script_synctran_commands" => "3",
853  "sp_scriptdelproc" => "3",
854  "sp_scriptinsproc" => "3",
855  "sp_scriptmappedupdproc" => "3",
856  "sp_scriptpkwhereclause" => "3",
857  "sp_scriptupdateparams" => "3",
858  "sp_scriptupdproc" => "3",
859  "sp_sdidebug" => "3",
860  "sp_sem_start_mail" => "3",
861  "sp_server_info" => "3",
862  "sp_serveroption" => "3",
863  "sp_setapprole" => "3",
864  "sp_setnetname" => "3",
865  "sp_spaceused" => "3",
866  "sp_special_columns" => "3",
867  "sp_sproc_columns" => "3",
868  "sp_sqlexec" => "3",
869  "sp_sqlregister" => "3",
870  "sp_srvrolepermission" => "3",
871  "sp_start_xact" => "3",
872  "sp_stat_xact" => "3",
873  "sp_statistics" => "3",
874  "sp_statistics_rowset" => "3",
875  "sp_stored_procedures" => "3",
876  "sp_subscribe" => "3",
877  "sp_subscription_cleanup" => "3",
878  "sp_subscriptioncleanup" => "3",
879  "sp_table_privileges" => "3",
880  "sp_table_privileges_ex" => "3",
881  "sp_table_privileges_rowset" => "3",
882  "sp_table_validation" => "3",
883  "sp_tableoption" => "3",
884  "sp_tables" => "3",
885  "sp_tables_ex" => "3",
886  "sp_tables_info_rowset" => "3",
887  "sp_tables_rowset" => "3",
888  "sp_tempdbspace" => "3",
889  "sp_unbindefault" => "3",
890  "sp_unbindrule" => "3",
891  "sp_unmakestartup" => "3",
892  "sp_unprepare" => "3",
893  "sp_unsubscribe" => "3",
894  "sp_updatestats" => "3",
895  "sp_user_counter1" => "3",
896  "sp_user_counter10" => "3",
897  "sp_user_counter2" => "3",
898  "sp_user_counter3" => "3",
899  "sp_user_counter4" => "3",
900  "sp_user_counter5" => "3",
901  "sp_user_counter6" => "3",
902  "sp_user_counter7" => "3",
903  "sp_user_counter8" => "3",
904  "sp_user_counter9" => "3",
905  "sp_validatelogins" => "3",
906  "sp_validlang" => "3",
907  "sp_validname" => "3",
908  "sp_who" => "3",
909  "sp_who2" => "3",
910  "spt_committab" => "3",
911  "spt_datatype_info" => "3",
912  "spt_datatype_info_ext" => "3",
913  "spt_fallback_db" => "3",
914  "spt_fallback_dev" => "3",
915  "spt_fallback_usg" => "3",
916  "spt_monitor" => "3",
917  "spt_provider_types" => "3",
918  "spt_server_info" => "3",
919  "spt_values" => "3",
920  "sysallocations" => "3",
921  "sysalternates" => "3",
922  "sysaltfiles" => "3",
923  "syscacheobjects" => "3",
924  "syscharsets" => "3",
925  "syscolumns" => "3",
926  "syscomments" => "3",
927  "sysconfigures" => "3",
928  "sysconstraints" => "3",
929  "syscurconfigs" => "3",
930  "syscursorcolumns" => "3",
931  "syscursorrefs" => "3",
932  "syscursors" => "3",
933  "syscursortables" => "3",
934  "sysdatabases" => "3",
935  "sysdepends" => "3",
936  "sysdevices" => "3",
937  "sysfilegroups" => "3",
938  "sysfiles" => "3",
939  "sysfiles1" => "3",
940  "sysforeignkeys" => "3",
941  "sysfulltextcatalogs" => "3",
942  "sysindexes" => "3",
943  "sysindexkeys" => "3",
944  "syslanguages" => "3",
945  "syslockinfo" => "3",
946  "syslocks" => "3",
947  "syslogins" => "3",
948  "sysmembers" => "3",
949  "sysmessages" => "3",
950  "sysobjects" => "3",
951  "sysoledbusers" => "3",
952  "sysperfinfo" => "3",
953  "syspermissions" => "3",
954  "sysprocesses" => "3",
955  "sysprotects" => "3",
956  "sysreferences" => "3",
957  "SYSREMOTE_CATALOGS" => "3",
958  "SYSREMOTE_COLUMN_PRIVILEGES" => "3",
959  "SYSREMOTE_COLUMNS" => "3",
960  "SYSREMOTE_FOREIGN_KEYS" => "3",
961  "SYSREMOTE_INDEXES" => "3",
962  "SYSREMOTE_PRIMARY_KEYS" => "3",
963  "SYSREMOTE_PROVIDER_TYPES" => "3",
964  "SYSREMOTE_SCHEMATA" => "3",
965  "SYSREMOTE_STATISTICS" => "3",
966  "SYSREMOTE_TABLE_PRIVILEGES" => "3",
967  "SYSREMOTE_TABLES" => "3",
968  "SYSREMOTE_VIEWS" => "3",
969  "sysremotelogins" => "3",
970  "syssegments" => "3",
971  "sysservers" => "3",
972  "systypes" => "3",
973  "sysusers" => "3",
974  "sysxlogins" => "3",
975  "xp_availablemedia" => "3",
976  "xp_check_query_results" => "3",
977  "xp_cleanupwebtask" => "3",
978  "xp_cmdshell" => "3",
979  "xp_deletemail" => "3",
980  "xp_dirtree" => "3",
981  "xp_displayparamstmt" => "3",
982  "xp_dropwebtask" => "3",
983  "xp_dsninfo" => "3",
984  "xp_enum_activescriptengines" => "3",
985  "xp_enum_oledb_providers" => "3",
986  "xp_enumcodepages" => "3",
987  "xp_enumdsn" => "3",
988  "xp_enumerrorlogs" => "3",
989  "xp_enumgroups" => "3",
990  "xp_eventlog" => "3",
991  "xp_execresultset" => "3",
992  "xp_fileexist" => "3",
993  "xp_findnextmsg" => "3",
994  "xp_fixeddrives" => "3",
995  "xp_get_mapi_default_profile" => "3",
996  "xp_get_mapi_profiles" => "3",
997  "xp_get_tape_devices" => "3",
998  "xp_getfiledetails" => "3",
999  "xp_getnetname" => "3",
1000  "xp_grantlogin" => "3",
1001  "xp_initcolvs" => "3",
1002  "xp_intersectbitmaps" => "3",
1003  "xp_load_dummy_handlers" => "3",
1004  "xp_logevent" => "3",
1005  "xp_loginconfig" => "3",
1006  "xp_logininfo" => "3",
1007  "xp_makewebtask" => "3",
1008  "xp_mergexpusage" => "3",
1009  "xp_msver" => "3",
1010  "xp_msx_enlist" => "3",
1011  "xp_ntsec_enumdomains" => "3",
1012  "xp_ntsec_enumgroups" => "3",
1013  "xp_ntsec_enumusers" => "3",
1014  "xp_oledbinfo" => "3",
1015  "xp_param_dump" => "3",
1016  "xp_perfend" => "3",
1017  "xp_perfmonitor" => "3",
1018  "xp_perfsample" => "3",
1019  "xp_perfstart" => "3",
1020  "xp_printstatements" => "3",
1021  "xp_proxiedmetadata" => "3",
1022  "xp_qv" => "3",
1023  "xp_readerrorlog" => "3",
1024  "xp_readmail" => "3",
1025  "xp_regaddmultistring" => "3",
1026  "xp_regdeletekey" => "3",
1027  "xp_regdeletevalue" => "3",
1028  "xp_regenumvalues" => "3",
1029  "xp_regread" => "3",
1030  "xp_regremovemultistring" => "3",
1031  "xp_regwrite" => "3",
1032  "xp_revokelogin" => "3",
1033  "xp_runwebtask" => "3",
1034  "xp_sendmail" => "3",
1035  "xp_servicecontrol" => "3",
1036  "xp_showcolv" => "3",
1037  "xp_showlineage" => "3",
1038  "xp_snmp_getstate" => "3",
1039  "xp_snmp_raisetrap" => "3",
1040  "xp_sprintf" => "3",
1041  "xp_sqlagent_enum_jobs" => "3",
1042  "xp_sqlagent_is_starting" => "3",
1043  "xp_sqlagent_monitor" => "3",
1044  "xp_sqlagent_notify" => "3",
1045  "xp_sqlinventory" => "3",
1046  "xp_sqlmaint" => "3",
1047  "xp_sqlregister" => "3",
1048  "xp_sqltrace" => "3",
1049  "xp_sscanf" => "3",
1050  "xp_startmail" => "3",
1051  "xp_stopmail" => "3",
1052  "xp_subdirs" => "3",
1053  "xp_terminate_process" => "3",
1054  "xp_test_mapi_profile" => "3",
1055  "xp_trace_addnewqueue" => "3",
1056  "xp_trace_deletequeuedefinition" => "3",
1057  "xp_trace_destroyqueue" => "3",
1058  "xp_trace_enumqueuedefname" => "3",
1059  "xp_trace_enumqueuehandles" => "3",
1060  "xp_trace_eventclassrequired" => "3",
1061  "xp_trace_flushqueryhistory" => "3",
1062  "xp_trace_generate_event" => "3",
1063  "xp_trace_getappfilter" => "3",
1064  "xp_trace_getconnectionidfilter" => "3",
1065  "xp_trace_getcpufilter" => "3",
1066  "xp_trace_getdbidfilter" => "3",
1067  "xp_trace_getdurationfilter" => "3",
1068  "xp_trace_geteventfilter" => "3",
1069  "xp_trace_geteventnames" => "3",
1070  "xp_trace_getevents" => "3",
1071  "xp_trace_gethostfilter" => "3",
1072  "xp_trace_gethpidfilter" => "3",
1073  "xp_trace_getindidfilter" => "3",
1074  "xp_trace_getntdmfilter" => "3",
1075  "xp_trace_getntnmfilter" => "3",
1076  "xp_trace_getobjidfilter" => "3",
1077  "xp_trace_getqueueautostart" => "3",
1078  "xp_trace_getqueuecreateinfo" => "3",
1079  "xp_trace_getqueuedestination" => "3",
1080  "xp_trace_getqueueproperties" => "3",
1081  "xp_trace_getreadfilter" => "3",
1082  "xp_trace_getserverfilter" => "3",
1083  "xp_trace_getseverityfilter" => "3",
1084  "xp_trace_getspidfilter" => "3",
1085  "xp_trace_gettextfilter" => "3",
1086  "xp_trace_getuserfilter" => "3",
1087  "xp_trace_getwritefilter" => "3",
1088  "xp_trace_loadqueuedefinition" => "3",
1089  "xp_trace_opentracefile" => "3",
1090  "xp_trace_pausequeue" => "3",
1091  "xp_trace_restartqueue" => "3",
1092  "xp_trace_savequeuedefinition" => "3",
1093  "xp_trace_setappfilter" => "3",
1094  "xp_trace_setconnectionidfilter" => "3",
1095  "xp_trace_setcpufilter" => "3",
1096  "xp_trace_setdbidfilter" => "3",
1097  "xp_trace_setdurationfilter" => "3",
1098  "xp_trace_seteventclassrequired" => "3",
1099  "xp_trace_seteventfilter" => "3",
1100  "xp_trace_sethostfilter" => "3",
1101  "xp_trace_sethpidfilter" => "3",
1102  "xp_trace_setindidfilter" => "3",
1103  "xp_trace_setntdmfilter" => "3",
1104  "xp_trace_setntnmfilter" => "3",
1105  "xp_trace_setobjidfilter" => "3",
1106  "xp_trace_setqueryhistory" => "3",
1107  "xp_trace_setqueueautostart" => "3",
1108  "xp_trace_setqueuecreateinfo" => "3",
1109  "xp_trace_setqueuedestination" => "3",
1110  "xp_trace_setreadfilter" => "3",
1111  "xp_trace_setserverfilter" => "3",
1112  "xp_trace_setseverityfilter" => "3",
1113  "xp_trace_setspidfilter" => "3",
1114  "xp_trace_settextfilter" => "3",
1115  "xp_trace_setuserfilter" => "3",
1116  "xp_trace_setwritefilter" => "3",
1117  "xp_trace_startconsumer" => "3",
1118  "xp_trace_toeventlogconsumer" => "3",
1119  "xp_trace_tofileconsumer" => "3",
1120  "xp_unc_to_drive" => "3",
1121  "xp_unload_dummy_handlers" => "3",
1122  "xp_updatecolvbm" => "3",
1123  "xp_updatelineage" => "3",
1124  "xp_varbintohexstr" => "3",
1125  "xp_writesqlinfo" => "3",
1126  "+" => "4",
1127  "-" => "4",
1128  "=" => "4",
1129  "//" => "4",
1130  "/" => "4",
1131  "%" => "4",
1132  ">" => "4",
1133  "<" => "4",
1134  "!" => "4",
1135  "|" => "4",
1136  "[" => "4",
1137  "]" => "4",
1138  "(" => "4",
1139  ")" => "4",
1140  "!=" => "4",
1141  "<=" => "4",
1142  ">=" => "4",
1143  "LIKE" => "4");
1144 
1145 // Special extensions
1146 
1147 // Each category can specify a PHP function that returns an altered
1148 // version of the keyword.
1149 
1150 
1151 
1152 $this->linkscripts = array(
1153  "1" => "donothing",
1154  "2" => "donothing",
1155  "3" => "donothing",
1156  "4" => "donothing");
1157 }
1158 
1159 
1160 function donothing($keywordin)
1161 {
1162  return $keywordin;
1163 }
1164 
1165 }?>