本帖最后由 wildwave 于 2010-01-20 20:17:41 编辑

解决方案 »

  1.   

    问下 execute row_to_col('rowtocol_test','year,month','dept','expenditure',Aggregate_func => 'sum',colorder => 'dept',roworder => '1,2',when_value_null => '0');
     里面的colorder => 'dept'是什么意思啊?
      

  2.   

    可选参数ColOrder传入为'dept',即列按dept排序
      

  3.   

    <a href="http://www.bestsales4u.com">Rolex watches</a>
    我是电脑菜鸟,请多多指教!
      

  4.   

    那位大侠弄个sql server 版的