Print Thread
Page 2 of 2 1 2
Re: TOracleScript and MERGE
#9554 12/20/07 07:58 AM
Joined: Oct 2007
Posts: 10
A
Member
OP Offline
Member
A
Joined: Oct 2007
Posts: 10
Dear Marco,

Have you uploaded the patches already ?

Re: TOracleScript and MERGE
#9555 12/20/07 08:55 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
We'll need to roll this into the final 4.1.1 patch release, which includes some additional fixes. It will be available in one or two weeks.


Marco Kalter
Allround Automations
Re: TOracleScript and MERGE
#9556 01/31/08 08:55 PM
Joined: Oct 2007
Posts: 10
A
Member
OP Offline
Member
A
Joined: Oct 2007
Posts: 10
Dear Marco,

Are you releasing the patch soon ? It has been almost 4 months in the making and no news.

Regards

Re: TOracleScript and MERGE
#9557 02/01/08 08:21 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
The patch release is ready. You can download the Delphi 7 version here . This patch release is not yet published.


Marco Kalter
Allround Automations
Re: TOracleScript and MERGE
#9558 02/03/08 10:09 AM
Joined: Oct 2007
Posts: 10
A
Member
OP Offline
Member
A
Joined: Oct 2007
Posts: 10
Dear Marco,

Nope.It's not working.

The patch of TOracleScript still cannot parse MERGE statements.


Regards

Re: TOracleScript and MERGE
#9559 02/04/08 04:06 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
That is strange. I will check it out today.


Marco Kalter
Allround Automations
Re: TOracleScript and MERGE
#9560 02/04/08 06:49 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
I double-checked, and it works okay. Can you send me your complete script text?


Marco Kalter
Allround Automations
Re: TOracleScript and MERGE
#9561 02/05/08 09:03 AM
Joined: Oct 2007
Posts: 10
A
Member
OP Offline
Member
A
Joined: Oct 2007
Posts: 10
Dear Marco,

I used the same SQL Syntax to test the parsing of merge statement in TOracleScript.

merge
into contract a
using customer b
on (a.cust_id = b.cust_id)
when matched then
update set a.desc = b.profile,
a.customer_name = b.cust_name,
when not matched then
insert values ( b.profile,
b.cust_name);

When TOraclescript reach the merge statements, it is able to detect that it is a nonSQL type but only returns "merge" as a command.substitutedtext property and skip the rest of the lines below.

I uninstall and reinstall DOA but it still doesnt work.Hope you can further investigate. Thanks

Regards

Re: TOracleScript and MERGE
#9562 02/05/08 04:40 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
[quote]When TOraclescript reach the merge statements, it is able to detect that it is a nonSQL type but only returns "merge" as a command.substitutedtext property and skip the rest of the lines below.[/quote]When I try this statement in a script in 4.1.1, it recognizes MERGE as a SQL statement, and sends it to the server. In 4.1.0 and earlier, it would not have been recognized as a SQL statement.


Marco Kalter
Allround Automations
Page 2 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.032s Queries: 14 (0.008s) Memory: 2.5560 MB (Peak: 3.0437 MB) Data Comp: Off Server Time: 2024-05-20 17:56:25 UTC
Valid HTML 5 and Valid CSS