Precisei fazer um update a partir de uma outra tabela e apanhei um bocado tentando lembrar a sintaxe, até que achei esse exemplinho aí embaixo.
Tá, é uma coisa meio besta, mas como não uso isso direto esqueci mesmo, por isso postei aqui.
Fonte: http://archives.postgresql.org/pgsql-es-ayuda/2004-05/msg00230.php
UPDATE product SET
pro_pdetalle = ss.detalle,
pro_pdocena = ss.precioma2,
pro_pmayorista = ss.precioma1,
pro_prevendedor = ss.preciorev
FROM precios ss, product f
where precios.procode = f.pro_code
quinta-feira, 28 de agosto de 2008
terça-feira, 17 de junho de 2008
Analysis Services error
Amigos, tudo certo?
Estou tentando fazer um deploy em um aplicativo de exemplo do VS2005 (BI), mas estou com o seguinte erro:
Error 1 Errors related to feature availability and configuration: Exceeded the maximum number of partitions in a measure group. The installed server editions allows not more than 3 partitions and not more than 1 writeback partition. Errors in the metadata manager. An error occurred when loading the Internet Sales measure group, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Adventure Works DW.0.cub\Fact Internet Sales 1.2.det.xml'. Errors in the metadata manager. An error occurred when loading the Adventure Works cube, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Adventure Works DW.2.cub.xml'.
Alguém tem uma luz?
Estou tentando fazer um deploy em um aplicativo de exemplo do VS2005 (BI), mas estou com o seguinte erro:
Error 1 Errors related to feature availability and configuration: Exceeded the maximum number of partitions in a measure group. The installed server editions allows not more than 3 partitions and not more than 1 writeback partition. Errors in the metadata manager. An error occurred when loading the Internet Sales measure group, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Adventure Works DW.0.cub\Fact Internet Sales 1.2.det.xml'. Errors in the metadata manager. An error occurred when loading the Adventure Works cube, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Adventure Works DW.2.cub.xml'.
Alguém tem uma luz?
sexta-feira, 16 de maio de 2008
Genesis
Depois de muita relutância, eu finalmente assumo um blog.
Meus planos aqui são de postagens de diversos assuntos de meu interesse, com ênfase especial à informática.
Grande abraço a todos, fiquem com Deus!
Meus planos aqui são de postagens de diversos assuntos de meu interesse, com ênfase especial à informática.
Grande abraço a todos, fiquem com Deus!
Assinar:
Postagens (Atom)