home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 June / Chip_2004-06_cd2.bin / officexp / download / officexp-kb833857-client-csy.exe / 1033 / RCDATA / CABINET / ACWZTOOL.MDE / UT_tblExprFixup.json < prev    next >
JavaScript Object Notation  |  2003-12-01  |  7KB

  1. {
  2.     "schema": {
  3.         "ID": "Long Integer",
  4.         "Expr1": "Text (255)",
  5.         "Expr2": "Text (255)",
  6.         "TokenEnd": "Boolean NOT NULL",
  7.         "AppliesTo": "Long Integer"
  8.     },
  9.     "data": [
  10.         {
  11.             "ID": 102,
  12.             "Expr1": "time(",
  13.             "Expr2": "convert(datetime, convert(varchar,getdate(),14),14",
  14.             "TokenEnd": 0,
  15.             "AppliesTo": 8
  16.         },
  17.         {
  18.             "ID": 103,
  19.             "Expr1": "datevalue(",
  20.             "Expr2": "convert(datetime,",
  21.             "TokenEnd": 0,
  22.             "AppliesTo": 8
  23.         },
  24.         {
  25.             "ID": 104,
  26.             "Expr1": "cdate(",
  27.             "Expr2": "convert(datetime,",
  28.             "TokenEnd": 0,
  29.             "AppliesTo": 1
  30.         },
  31.         {
  32.             "ID": 105,
  33.             "Expr1": "datepart(\"yyyy\"",
  34.             "Expr2": "datepart(yyyy",
  35.             "TokenEnd": 0,
  36.             "AppliesTo": 1
  37.         },
  38.         {
  39.             "ID": 106,
  40.             "Expr1": "datepart(\"q\"",
  41.             "Expr2": "datepart(q",
  42.             "TokenEnd": 0,
  43.             "AppliesTo": 1
  44.         },
  45.         {
  46.             "ID": 107,
  47.             "Expr1": "datepart(\"m\"",
  48.             "Expr2": "datepart(m",
  49.             "TokenEnd": 0,
  50.             "AppliesTo": 1
  51.         },
  52.         {
  53.             "ID": 108,
  54.             "Expr1": "datepart(\"y\"",
  55.             "Expr2": "datepart(y",
  56.             "TokenEnd": 0,
  57.             "AppliesTo": 1
  58.         },
  59.         {
  60.             "ID": 109,
  61.             "Expr1": "datepart(\"d\"",
  62.             "Expr2": "datepart(d",
  63.             "TokenEnd": 0,
  64.             "AppliesTo": 1
  65.         },
  66.         {
  67.             "ID": 110,
  68.             "Expr1": "datepart(\"w\"",
  69.             "Expr2": "datepart(w",
  70.             "TokenEnd": 0,
  71.             "AppliesTo": 1
  72.         },
  73.         {
  74.             "ID": 111,
  75.             "Expr1": "datepart(\"ww\"",
  76.             "Expr2": "datepart(ww",
  77.             "TokenEnd": 0,
  78.             "AppliesTo": 1
  79.         },
  80.         {
  81.             "ID": 112,
  82.             "Expr1": "datepart(\"h\"",
  83.             "Expr2": "datepart(h",
  84.             "TokenEnd": 0,
  85.             "AppliesTo": 1
  86.         },
  87.         {
  88.             "ID": 113,
  89.             "Expr1": "datepart(\"n\"",
  90.             "Expr2": "datepart(n",
  91.             "TokenEnd": 0,
  92.             "AppliesTo": 1
  93.         },
  94.         {
  95.             "ID": 114,
  96.             "Expr1": "datepart(\"s\"",
  97.             "Expr2": "datepart(s",
  98.             "TokenEnd": 0,
  99.             "AppliesTo": 1
  100.         },
  101.         {
  102.             "ID": 1,
  103.             "Expr1": "Yes",
  104.             "Expr2": "1",
  105.             "TokenEnd": 1,
  106.             "AppliesTo": 0
  107.         },
  108.         {
  109.             "ID": 2,
  110.             "Expr1": "On",
  111.             "Expr2": "1",
  112.             "TokenEnd": 1,
  113.             "AppliesTo": 0
  114.         },
  115.         {
  116.             "ID": 3,
  117.             "Expr1": "True",
  118.             "Expr2": "1",
  119.             "TokenEnd": 1,
  120.             "AppliesTo": 0
  121.         },
  122.         {
  123.             "ID": 4,
  124.             "Expr1": "No",
  125.             "Expr2": "0",
  126.             "TokenEnd": 1,
  127.             "AppliesTo": 0
  128.         },
  129.         {
  130.             "ID": 5,
  131.             "Expr1": "Off",
  132.             "Expr2": "0",
  133.             "TokenEnd": 1,
  134.             "AppliesTo": 0
  135.         },
  136.         {
  137.             "ID": 6,
  138.             "Expr1": "False",
  139.             "Expr2": "0",
  140.             "TokenEnd": 1,
  141.             "AppliesTo": 0
  142.         },
  143.         {
  144.             "ID": 21,
  145.             "Expr1": "mod",
  146.             "Expr2": "%",
  147.             "TokenEnd": 1,
  148.             "AppliesTo": 1
  149.         },
  150.         {
  151.             "ID": 22,
  152.             "Expr1": "sgn(",
  153.             "Expr2": "sign(",
  154.             "TokenEnd": 0,
  155.             "AppliesTo": 1
  156.         },
  157.         {
  158.             "ID": 23,
  159.             "Expr1": "chr(",
  160.             "Expr2": "char(",
  161.             "TokenEnd": 0,
  162.             "AppliesTo": 1
  163.         },
  164.         {
  165.             "ID": 24,
  166.             "Expr1": "chr$(",
  167.             "Expr2": "char(",
  168.             "TokenEnd": 0,
  169.             "AppliesTo": 1
  170.         },
  171.         {
  172.             "ID": 25,
  173.             "Expr1": "asc(",
  174.             "Expr2": "ascii(",
  175.             "TokenEnd": 0,
  176.             "AppliesTo": 1
  177.         },
  178.         {
  179.             "ID": 26,
  180.             "Expr1": "str$(",
  181.             "Expr2": "str(",
  182.             "TokenEnd": 0,
  183.             "AppliesTo": 1
  184.         },
  185.         {
  186.             "ID": 27,
  187.             "Expr1": "int(",
  188.             "Expr2": "floor(",
  189.             "TokenEnd": 0,
  190.             "AppliesTo": 1
  191.         },
  192.         {
  193.             "ID": 28,
  194.             "Expr1": "cint(",
  195.             "Expr2": "convert(smallint,",
  196.             "TokenEnd": 0,
  197.             "AppliesTo": 1
  198.         },
  199.         {
  200.             "ID": 29,
  201.             "Expr1": "clng(",
  202.             "Expr2": "convert(int,",
  203.             "TokenEnd": 0,
  204.             "AppliesTo": 1
  205.         },
  206.         {
  207.             "ID": 30,
  208.             "Expr1": "csng(",
  209.             "Expr2": "convert(real,",
  210.             "TokenEnd": 0,
  211.             "AppliesTo": 1
  212.         },
  213.         {
  214.             "ID": 31,
  215.             "Expr1": "cdbl(",
  216.             "Expr2": "convert(float,",
  217.             "TokenEnd": 0,
  218.             "AppliesTo": 1
  219.         },
  220.         {
  221.             "ID": 32,
  222.             "Expr1": "cstr(",
  223.             "Expr2": "convert(varchar,",
  224.             "TokenEnd": 0,
  225.             "AppliesTo": 1
  226.         },
  227.         {
  228.             "ID": 33,
  229.             "Expr1": "ccur(",
  230.             "Expr2": "convert(money,",
  231.             "TokenEnd": 0,
  232.             "AppliesTo": 1
  233.         },
  234.         {
  235.             "ID": 34,
  236.             "Expr1": "cvdate(",
  237.             "Expr2": "convert(datetime,",
  238.             "TokenEnd": 0,
  239.             "AppliesTo": 1
  240.         },
  241.         {
  242.             "ID": 35,
  243.             "Expr1": "space$(",
  244.             "Expr2": "space(",
  245.             "TokenEnd": 0,
  246.             "AppliesTo": 10
  247.         },
  248.         {
  249.             "ID": 36,
  250.             "Expr1": "lcase(",
  251.             "Expr2": "lower(",
  252.             "TokenEnd": 0,
  253.             "AppliesTo": 10
  254.         },
  255.         {
  256.             "ID": 37,
  257.             "Expr1": "lcase$(",
  258.             "Expr2": "lower(",
  259.             "TokenEnd": 0,
  260.             "AppliesTo": 10
  261.         },
  262.         {
  263.             "ID": 38,
  264.             "Expr1": "ucase(",
  265.             "Expr2": "upper(",
  266.             "TokenEnd": 0,
  267.             "AppliesTo": 10
  268.         },
  269.         {
  270.             "ID": 39,
  271.             "Expr1": "ucase$(",
  272.             "Expr2": "upper(",
  273.             "TokenEnd": 0,
  274.             "AppliesTo": 10
  275.         },
  276.         {
  277.             "ID": 40,
  278.             "Expr1": "len(",
  279.             "Expr2": "datalength(",
  280.             "TokenEnd": 0,
  281.             "AppliesTo": 10
  282.         },
  283.         {
  284.             "ID": 41,
  285.             "Expr1": "ltrim$(",
  286.             "Expr2": "ltrim(",
  287.             "TokenEnd": 0,
  288.             "AppliesTo": 10
  289.         },
  290.         {
  291.             "ID": 42,
  292.             "Expr1": "rtrim$(",
  293.             "Expr2": "rtrim(",
  294.             "TokenEnd": 0,
  295.             "AppliesTo": 10
  296.         },
  297.         {
  298.             "ID": 43,
  299.             "Expr1": "right$(",
  300.             "Expr2": "right(",
  301.             "TokenEnd": 0,
  302.             "AppliesTo": 10
  303.         },
  304.         {
  305.             "ID": 44,
  306.             "Expr1": "mid(",
  307.             "Expr2": "substring(",
  308.             "TokenEnd": 0,
  309.             "AppliesTo": 10
  310.         },
  311.         {
  312.             "ID": 45,
  313.             "Expr1": "mid$(",
  314.             "Expr2": "substring(",
  315.             "TokenEnd": 0,
  316.             "AppliesTo": 10
  317.         },
  318.         {
  319.             "ID": 46,
  320.             "Expr1": "now(",
  321.             "Expr2": "getdate(",
  322.             "TokenEnd": 0,
  323.             "AppliesTo": 8
  324.         },
  325.         {
  326.             "ID": 47,
  327.             "Expr1": "date(",
  328.             "Expr2": "convert(datetime,convert(varchar,getdate(),1),1",
  329.             "TokenEnd": 0,
  330.             "AppliesTo": 8
  331.         },
  332.         {
  333.             "ID": 48,
  334.             "Expr1": "year(",
  335.             "Expr2": "datepart(yy,",
  336.             "TokenEnd": 0,
  337.             "AppliesTo": 8
  338.         },
  339.         {
  340.             "ID": 49,
  341.             "Expr1": "month(",
  342.             "Expr2": "datepart(mm,",
  343.             "TokenEnd": 0,
  344.             "AppliesTo": 8
  345.         },
  346.         {
  347.             "ID": 50,
  348.             "Expr1": "day(",
  349.             "Expr2": "datepart(dd,",
  350.             "TokenEnd": 0,
  351.             "AppliesTo": 8
  352.         },
  353.         {
  354.             "ID": 51,
  355.             "Expr1": "weekday(",
  356.             "Expr2": "datepart(dw,",
  357.             "TokenEnd": 0,
  358.             "AppliesTo": 8
  359.         },
  360.         {
  361.             "ID": 52,
  362.             "Expr1": "hour(",
  363.             "Expr2": "datepart(hh,",
  364.             "TokenEnd": 0,
  365.             "AppliesTo": 8
  366.         },
  367.         {
  368.             "ID": 53,
  369.             "Expr1": "minute(",
  370.             "Expr2": "datepart(mi,",
  371.             "TokenEnd": 0,
  372.             "AppliesTo": 8
  373.         },
  374.         {
  375.             "ID": 54,
  376.             "Expr1": "second(",
  377.             "Expr2": "datepart(ss,",
  378.             "TokenEnd": 0,
  379.             "AppliesTo": 8
  380.         },
  381.         {
  382.             "ID": 55,
  383.             "Expr1": "convert(\"bit\"",
  384.             "Expr2": "convert(bit",
  385.             "TokenEnd": 0,
  386.             "AppliesTo": 3
  387.         },
  388.         {
  389.             "ID": 56,
  390.             "Expr1": "convert(\"tinyint\"",
  391.             "Expr2": "convert(tinyint",
  392.             "TokenEnd": 0,
  393.             "AppliesTo": 3
  394.         },
  395.         {
  396.             "ID": 57,
  397.             "Expr1": "convert(\"smallint\"",
  398.             "Expr2": "convert(smallint",
  399.             "TokenEnd": 0,
  400.             "AppliesTo": 3
  401.         },
  402.         {
  403.             "ID": 58,
  404.             "Expr1": "convert(\"int\"",
  405.             "Expr2": "convert(int",
  406.             "TokenEnd": 0,
  407.             "AppliesTo": 3
  408.         },
  409.         {
  410.             "ID": 59,
  411.             "Expr1": "convert(\"real\"",
  412.             "Expr2": "convert(real",
  413.             "TokenEnd": 0,
  414.             "AppliesTo": 3
  415.         },
  416.         {
  417.             "ID": 60,
  418.             "Expr1": "convert(\"float\"",
  419.             "Expr2": "convert(float",
  420.             "TokenEnd": 0,
  421.             "AppliesTo": 3
  422.         },
  423.         {
  424.             "ID": 61,
  425.             "Expr1": "convert(\"smallmoney\"",
  426.             "Expr2": "convert(smallmoney",
  427.             "TokenEnd": 0,
  428.             "AppliesTo": 3
  429.         },
  430.         {
  431.             "ID": 62,
  432.             "Expr1": "convert(\"money\"",
  433.             "Expr2": "convert(money",
  434.             "TokenEnd": 0,
  435.             "AppliesTo": 3
  436.         },
  437.         {
  438.             "ID": 63,
  439.             "Expr1": "convert(\"smalldatetime\"",
  440.             "Expr2": "convert(smalldatetime",
  441.             "TokenEnd": 0,
  442.             "AppliesTo": 3
  443.         },
  444.         {
  445.             "ID": 64,
  446.             "Expr1": "convert(\"datetime\"",
  447.             "Expr2": "convert(datetime",
  448.             "TokenEnd": 0,
  449.             "AppliesTo": 3
  450.         },
  451.         {
  452.             "ID": 65,
  453.             "Expr1": "convert(\"char\"",
  454.             "Expr2": "convert(char",
  455.             "TokenEnd": 0,
  456.             "AppliesTo": 3
  457.         },
  458.         {
  459.             "ID": 66,
  460.             "Expr1": "convert(\"varchar\"",
  461.             "Expr2": "convert(varchar",
  462.             "TokenEnd": 0,
  463.             "AppliesTo": 3
  464.         },
  465.         {
  466.             "ID": 67,
  467.             "Expr1": "convert(\"binary\"",
  468.             "Expr2": "convert(binary",
  469.             "TokenEnd": 0,
  470.             "AppliesTo": 3
  471.         },
  472.         {
  473.             "ID": 68,
  474.             "Expr1": "convert(\"varbinary\"",
  475.             "Expr2": "convert(varbinary",
  476.             "TokenEnd": 0,
  477.             "AppliesTo": 3
  478.         },
  479.         {
  480.             "ID": 69,
  481.             "Expr1": "convert(\"text\"",
  482.             "Expr2": "convert(text",
  483.             "TokenEnd": 0,
  484.             "AppliesTo": 3
  485.         },
  486.         {
  487.             "ID": 70,
  488.             "Expr1": "convert(\"image\"",
  489.             "Expr2": "convert(image",
  490.             "TokenEnd": 0,
  491.             "AppliesTo": 3
  492.         },
  493.         {
  494.             "ID": 84,
  495.             "Expr1": "choose(",
  496.             "Expr2": "choose(",
  497.             "TokenEnd": 0,
  498.             "AppliesTo": 10
  499.         },
  500.         {
  501.             "ID": 85,
  502.             "Expr1": "iif(",
  503.             "Expr2": "iif(",
  504.             "TokenEnd": 0,
  505.             "AppliesTo": 10
  506.         },
  507.         {
  508.             "ID": 86,
  509.             "Expr1": "switch(",
  510.             "Expr2": "switch(",
  511.             "TokenEnd": 0,
  512.             "AppliesTo": 10
  513.         },
  514.         {
  515.             "ID": 87,
  516.             "Expr1": "val(",
  517.             "Expr2": "val(",
  518.             "TokenEnd": 0,
  519.             "AppliesTo": 10
  520.         },
  521.         {
  522.             "ID": 88,
  523.             "Expr1": "time(",
  524.             "Expr2": "time(",
  525.             "TokenEnd": 0,
  526.             "AppliesTo": 10
  527.         },
  528.         {
  529.             "ID": 89,
  530.             "Expr1": "time$(",
  531.             "Expr2": "time(",
  532.             "TokenEnd": 0,
  533.             "AppliesTo": 10
  534.         },
  535.         {
  536.             "ID": 90,
  537.             "Expr1": "format(",
  538.             "Expr2": "format(",
  539.             "TokenEnd": 0,
  540.             "AppliesTo": 10
  541.         },
  542.         {
  543.             "ID": 91,
  544.             "Expr1": "format$(",
  545.             "Expr2": "format(",
  546.             "TokenEnd": 0,
  547.             "AppliesTo": 10
  548.         },
  549.         {
  550.             "ID": 92,
  551.             "Expr1": "instr(",
  552.             "Expr2": "instr(",
  553.             "TokenEnd": 0,
  554.             "AppliesTo": 10
  555.         },
  556.         {
  557.             "ID": 93,
  558.             "Expr1": "left(",
  559.             "Expr2": "left(",
  560.             "TokenEnd": 0,
  561.             "AppliesTo": 10
  562.         },
  563.         {
  564.             "ID": 94,
  565.             "Expr1": "left$(",
  566.             "Expr2": "left(",
  567.             "TokenEnd": 0,
  568.             "AppliesTo": 10
  569.         },
  570.         {
  571.             "ID": 95,
  572.             "Expr1": "trim(",
  573.             "Expr2": "trim(",
  574.             "TokenEnd": 0,
  575.             "AppliesTo": 10
  576.         },
  577.         {
  578.             "ID": 96,
  579.             "Expr1": "trim$(",
  580.             "Expr2": "trim(",
  581.             "TokenEnd": 0,
  582.             "AppliesTo": 10
  583.         },
  584.         {
  585.             "ID": 97,
  586.             "Expr1": "avg(",
  587.             "Expr2": "avg(",
  588.             "TokenEnd": 0,
  589.             "AppliesTo": -7
  590.         },
  591.         {
  592.             "ID": 98,
  593.             "Expr1": "sum(",
  594.             "Expr2": "sum(",
  595.             "TokenEnd": 0,
  596.             "AppliesTo": -7
  597.         },
  598.         {
  599.             "ID": 99,
  600.             "Expr1": "count(",
  601.             "Expr2": "count(",
  602.             "TokenEnd": 0,
  603.             "AppliesTo": -7
  604.         },
  605.         {
  606.             "ID": 100,
  607.             "Expr1": "min(",
  608.             "Expr2": "min(",
  609.             "TokenEnd": 0,
  610.             "AppliesTo": -7
  611.         },
  612.         {
  613.             "ID": 101,
  614.             "Expr1": "max(",
  615.             "Expr2": "max(",
  616.             "TokenEnd": 0,
  617.             "AppliesTo": -7
  618.         }
  619.     ]
  620. }