Re: C++Builder table exist - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: C++Builder table exist
Date
Msg-id 514080C1.6090905@iol.ie
Whole thread Raw
In response to Re: C++Builder table exist  (Charl Roux <charl.roux@hotmail.com>)
List pgsql-general
On 13/03/2013 13:19, Charl Roux wrote:
> Hi Ray,
>
> Thanks for all the help. It works perfectly.
>
> void __fastcall TfrmMain::FormCreate(TObject *Sender)
> {
>   unsigned int errorCode;
>
>   AnsiString SQL = "CREATE TABLE IF NOT EXISTS queryBackup( queryName
> text PRIMARY KEY, query text )";
>   errorCode = frmDataModule->eyeConnection->ExecuteDirect(SQL);
> }

Hi Charl,

That's great - glad it works. That seems like the simplest solution.

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


pgsql-general by date:

Previous
From: Andre Lopes
Date:
Subject: Select rotate in PostgreSql
Next
From: Merlin Moncure
Date:
Subject: Re: Select rotate in PostgreSql