2012/7/5 Fabio Luis Rodrigues <[email protected]>: > Boa tarde Amigos, > Estou necessitando utilizar a função crosstab ( referência: > http://www.postgresql.org/docs/9.1/static/tablefunc.html ) porém ela não > existe. > > Estou em um servidor windows server 2003 e esta função não existe. > Na pasta existem as DLL's, mas não sei como posso habilitar e utilizar. > > Ex: > > SELECT * > FROM crosstab( > 'select rowid, attribute, value > from ct > where attribute = ''att2'' or attribute = ''att3'' > order by 1,2') > AS ct(row_name text, category_1 text, category_2 text, category_3 text); > > row_name | category_1 | category_2 | category_3 > ----------+------------+------------+------------ > test1 | val2 | val3 | > test2 | val6 | val7 | > (2 rows) > > > > -- > Att, > Fabio Luis Rodrigues > 55 21 9865-2071
o que é postgre ? -- ------------ Itamar Reis Peixoto msn, google talk: [email protected] +55 11 4063 5033 (FIXO SP) +55 34 9158 9329 (TIM) +55 34 8806 3989 (OI) +55 34 3221 8599 (FIXO MG) _______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
