Re: C++Builder table exist

From: Charl Roux <charl(dot)roux(at)hotmail(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: C++Builder table exist
Date: 2013-03-13 13:19:59
Message-ID: DUB103-W34150D529BB28D775024F085E30@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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);
}

Charl

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shaun Thomas 2013-03-13 13:26:54 Re: table spaces
Previous Message Aln Kapa 2013-03-13 12:08:22 Do not understand why this happens