 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ashok Guest
|
Posted: Thu Sep 18, 2003 8:22 pm Post subject: Very interesting ADO behavior |
|
|
In following code, ShowMessage never executes.
If TABLE already exists, I was expecting ShowMessage to popup.
VAR
SQLStmt : String
begin
SQLStmt:=
'CREATE TABLE TB_TEST1' +
'( ' +
'UpdateCount Number(10,0), ' +
'Description Varchar2(50), ' +
'Adddate Date, ' +
'CountIndex Number(5,0)' +
')';
ADOQuery1.SQL.Clear;
ADOQuery1.SQL.Add(SQLStmt);
try
ADOQuery1.ExecSQL; // "Create table" always returns huge number if you
try to grag the return value
except
ShowMessage('some error');
end;
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|