Concurso do 10º aniversário do Firebird!

MindTheBird - é a campanha mundial de divulgação do lançamento do Firebird 2.5! A idéia é colocar o Firebird sob os holofotes da mídia especializada, e você pode ajudar nessa tarefa, falando sobre o Firebird no seu blog, site, listas de discussão, etc. e divulgando a campanha também! Visite o site oficial da campanha para baixar banners e materiais de apoio!

Se você é um bom designer, a campanha MindTheBird e o site FirebirdNews estão promovendo um concurso para eleger um logo/arte oficial de comemoração dos 10 anos de aniversário do Firebird! O prêmio para a arte vencedora é de USD 500! Ajude-nos a divulgar o concurso em sites e listas de designers! Todas as informações e detalhes estão na página oficial do concurso.

http://www.mindthebird.com

http://www.firebirdnews.org/?page_id=4157

Read the rest of this entry »

Google Buzz

Post to Twitter

Firebird PHP Generator 9.12.0.8

Ferramenta poderosa para criação de script de PHP em bancos de dados Firebird.

Firebird PHP Generator é uma ferramenta poderosa para geração de scripts de alta qualidade em PHP no Firebird, para seleção de tabelas, visualizações e consultas, facilitando o trabalho com estes objetos na internet. A ferramenta permite ao usuário total na administração e controle de dados, adicionando registros, editando e apagando cada um deles com rapidez.

A aparência da interface em HTML pode ser personalizada, com designer ou modelos de padrões próprios, ficando de acordo com as preferências do usuário. Isto inclui a personalização de cabeçalhos, tamanho de fontes, cores de fundo e elementos, tabelas, entre outros. Todos os códigos, independente de linguagem, são automaticamente gerados.

Read the rest of this entry »

Google Buzz

Post to Twitter

História do Firebird em 9 minutes de vídeo

por Adriano dos Santos Fernandes
asfernandes.blogspot.com

Google Buzz

Post to Twitter

Seja rápido para obter uma licença livre para IBProvider Profissional

Nova versão do IBProvider já está disponível. A nova versão:

1. Use Unicode da API do Windows para o alfabeto nacional.
2. Tem uma compatibilidade melhorada com o SharePoint Designer.
3. Erros no conversor tipo foram eliminadas.

Seja rápido para obter uma licença livre para IBProvider Profissional

Read the rest of this entry »

Google Buzz

Post to Twitter

Cloning Firebird Databases

Repairing broken Firebird database can be sometimes a bit difficult. The official tools (gfix and gbak) not always can help you so you will have to find ways to transfer data from broken database into another fresh and clean one.

There are some tools that can help you :

  • IB Datapump that is a bit old an not very fine tuned to access broken databases
  • FB Copy that lacks options to access broken databases too.

If your database is heavily broken, you will have to out the heavy artillery and buy some commercial products like IBFirstAid.

This incredible piece of software will walk throught your database, finding errors and inconsistencies, fix them so you will, probably be able to access your databasa again with gfix and gbak.

I’ve written my own database cloning tool for Firebird. It’s named FBClone, it’s written with Delphi and uses the wonderful UIB Components from Progdigy.

Features :

  • Clone a whole database like a backup (gbak -b) and a restore (gbak -c) in a single pass
  • Pump data from a source database into another one with the same structure. A database with the same structure can be created with gbak using the option ”-m” to restore metadata only.
  • Change database and data charset, converting an old Firebird 1.5 ISO8859_1 database into a fresh new Firebird 2.1 UTF8 one.

You can download FBClone Source and Windows Executable.

Artigo completo em: http://levosgien.net/2010/02/10/cloning-firebird-databases/

Google Buzz

Post to Twitter

SET TERM, Ponto e vírgula

Começamos por explicar a diferença bastante gritante com a qual é comum se deparar ao se envolver com o Firebird para criar um script de stored procedure.

Um final de linha de comando, em Firebird, é por default o ponto-e-vírgula (;).

Porém, ao criarmos uma stored procedure, queremos que Create Procedure seja interpretado todo de uma vez.

Explico, veja o exemplo abaixo:

   CREATE PROCEDURE FIREBIRD_WIKI_EXEMPLO
   AS
   Begin
       Insert Into wiki_exemplo ( idWIKI_EXEMPLO, DESCRICAO )
               Values ( 1, 'EXEMPLIFICANDO PROCEDURES');
   End

Teremos o seguinte erro:

IBPP::Exception inside Statement::Prepare
IBPP said : isc_dsql_prepare failed.
SQL Message : -104
Invalid token
Engine Code    : 335544569
Engine Message :
Dynamic SQL Error
SQL error code = -104
Unexpected end of command

Detalhe: as mensagens de erro variam conforme a ferramenta de acesso ao SGDB que estiver utilizando.

Read the rest of this entry »

Google Buzz

Post to Twitter

Bom artigo sobre como lidar com “unavailable database”

Bom artigo sobre como lidar com “unavailable database” error prompt connecting to Firebird service:

Autor: Chau Chee Yang

Link: http://chee-yang.blogspot.com

“unavailable database” error prompt connecting to Firebird service is annoying and difficult to trace.  Sometime it work and sometime it doesn’t.  We don’t know when it work and when it doesn’t work. ………… Read the rest of this entry »

Google Buzz

Post to Twitter

Alter Table

Alter table é um standard SQL, mas o Alter column é novo a partir do Firebird 1.5

Alter table “Some_Name”
Add “column_Name” Integer,            /* Add a new column              */
Drop “xyz”,                           /* Remove a column               */
Alter column “Order” to “Sort_Order”, /* changes the column name       */
Alter column “Order” position 3,      /* changes the column’s position */
Alter column “Order” type VARCHAR(10),/* changes the column type       */
Alter column “abc”   type d1          /* changes the column type       */
;

No exemplo, d1 é um nome de um dominio.
Existem algumas limitações ao efectuar alterações em colunas, por exemplo se fazem parte de Retrições, Views, etc…

http://mc-computing.com/Databases/Firebird/SQL.html

Google Buzz

Post to Twitter

Firebird Conference 19.-21.11.2009

This year’s Firebird Conference 2009 will take place from 19th-21st November 2009 for the first time in Munich, Germany. IBExpert KG will bring the best international speakers of the industry together with Firebird developers from all over the world to share the latest information on Firebird developments. The open source database system Firebird is meanwhile used in several million installations around the world and is growing from day to day in popularity.

The Firebird Conference gives the Firebird community an ideal opportunity to update themselves on the most current, state-of-the-art technology. It plays an important role as the community event for all developers working with Firebird. On top of that you have the chance to inform yourselves about the latest products, tools, services and additional technologies available on the market at the exhibition hosting numerous sponsors and exhibitors.

http://firebird-conference.com

Google Buzz

Post to Twitter

Entendendo o ‘lixo’ no BD

Não é raro encontrar pessoas que não dão a devida importância a um controle transacional correto no banco de dados. Geralmente, são essas pessoas que costumam sofrer com problemas de performance, e que geralmente preferem culpar o SGBD ao invés de procurar o real motivo do problema.

Quedas de performance abruptas, sem razão aparente, podem indicar que um sweep está sendo executado. Podemos dizer, de forma geral, que um sweep é uma limpeza de lixo (garbage collection) generalizada, executada no banco de dados. Mas o que é a garbage collection e porque existe “lixo”?

Autor: Carlos H. Cantu
Artigo originalmente publicado na revista ActiveDelphi.

Read the rest of this entry »

Google Buzz

Post to Twitter