Re: C++Builder table exist

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Charl Roux <charl(dot)roux(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: C++Builder table exist
Date: 2013-03-13 13:36:01
Message-ID: 514080C1.6090905@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)iol(dot)ie

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2013-03-13 13:38:20 Re: Select rotate in PostgreSql
Previous Message Andre Lopes 2013-03-13 13:32:07 Select rotate in PostgreSql