Print Thread
Page 2 of 2 1 2
Re: I hate to be the one, but we need to hear from allroundautomations.
Worker #53738 07/22/16 04:52 PM
Joined: Feb 2003
Posts: 126
Portland, OR. USA
F
fidelfs Offline OP
Member
OP Offline
Member
F
Joined: Feb 2003
Posts: 126
Portland, OR. USA
This is one example of my problem. It takes me some time to figure out why is happening. I waste too much time.

I have a sql editor with the following:
SELECT * FROM ap_Invoice_Payments_All WHERE invoice_id = 3805895 AND check_id = 2210149; AT least I think I have that.

I run it and gives an error: missing expression.
I spend time looking at the syntax and scratching my head.
Then I decided to select all that sentence and copy and a editor (notepad ++).
When I paste this is the result:
SELECT * FROM ap_Invoice_Payments_All WHERE invoice_id = 3805895 AND check_id =

See I am missing the check id value of 2210149 and the semicolon.
I am able to see them in the editor, but PL/SQL developer ignores that. It is like is a ghost.

Sometimes I paste those values from the application into the editor, to me the common denominator is the copy/paste.
I agree it is a part windows problem, but it should be a way to prevent from the tool, patch or something. At least don't allow copy and paste outside the tool so that way (it will be more difficult for everyone) we know the limitation.

I wasted time to figure out that one.

Now if I save the sql editor I will miss some values.
I have to close that sql editor, because even if I remove the part that is being ignored and typed it myself. The problem continues.
So that editor is useless, I have to close it and open a new editor and start over.

It is frustrating.

Last edited by fidelfs; 07/22/16 05:18 PM.
Re: I hate to be the one, but we need to hear from allroundautomations.
fidelfs #53746 07/25/16 01:05 PM
Joined: Jul 2004
Posts: 592
W
Member
Offline
Member
W
Joined: Jul 2004
Posts: 592
That sounds suspiciously as if some extra hidden character (nul? eof? utf-8 broken garbage?) exists after "check_id =".

Did you copy the value "2210149" from another application before pasting it? If so, what was that application?

Next time it happens, try deleting and manually re-typing "id = 22" to see if that fixes the problem. If so, that would get us closer to figuring out the cause.

EDIT: sorry just noticed "even if I remove the part that is being ignored and typed it myself. The problem continues." That would drive me crazy too. Please do try also replacing the "id = " part that isn't being ignored, just in case there is something hidden at the end of it.

Last edited by Worker; 07/25/16 01:07 PM.
Re: I hate to be the one, but we need to hear from allroundautomations.
Worker #53747 07/25/16 04:47 PM
Joined: Feb 2003
Posts: 126
Portland, OR. USA
F
fidelfs Offline OP
Member
OP Offline
Member
F
Joined: Feb 2003
Posts: 126
Portland, OR. USA
The applications is Oracle applications Payables.

I will try removing more when this happen again and I will report.

Re: I hate to be the one, but we need to hear from allroundautomations.
fidelfs #53906 08/19/16 06:06 PM
Joined: Oct 2013
Posts: 4
P
Member
Offline
Member
P
Joined: Oct 2013
Posts: 4
11.0.4.1788 x64, I always manually highlight the exact query in SQL window to execute and haven't encountered your problem.

Are you using some other feature that auto highlights a block of query to execute? (I am not familiar with this)

Re: I hate to be the one, but we need to hear from allroundautomations.
PY88 #53912 08/22/16 05:10 PM
Joined: Feb 2003
Posts: 126
Portland, OR. USA
F
fidelfs Offline OP
Member
OP Offline
Member
F
Joined: Feb 2003
Posts: 126
Portland, OR. USA
PL/SQL developer has an option (setup) to autoselect the queries.

It is based on ";" and plsql blocks.

If you have that setup and have multiple queries you need to only place the cursor in top of the query you want to execute (not highlight the entire query).

It will execute only that query (or at least that is what is intended for).

Menu: Tools >> Preferences >> Window Types >> SQL Window >> Click on AutoSelect statement.

Re: I hate to be the one, but we need to hear from allroundautomations.
fidelfs #53919 08/23/16 01:46 PM
Joined: Aug 2016
Posts: 17
S
Member
Offline
Member
S
Joined: Aug 2016
Posts: 17
Hi,
I also have problom with AutoSelect statement. Sometimes it doesn't work - as it was mentioned by fidelfs in some threads. It's really annoying.
Problem appears even when statements are diveded with ";" - or wiht "/".
To me, mostly it happens, when I have in one of statements ORDER BY clause. So, this is maybe hint for AllroundAutomations to debbug...

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.028s Queries: 15 (0.011s) Memory: 2.5412 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-05 04:37:23 UTC
Valid HTML 5 and Valid CSS