SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
alias et tab issues SA 4.7

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
alias et tab issues SA 4.7
Author Message
saigon



Joined: 17 Dec 2008
Posts: 10
Country: France

Post alias et tab issues SA 4.7 Reply with quote
hi,

i'm using the latest version of SA (4.7 trial), i've found some minors issues :

1 / for some reasons, when i run a query (oracle 9i) without an alias it crashes scintilla (latest release 2.1). this not happen everytime, i noticed it happens when it's a table (public synonym : ok)

2/ when i choose "TAB" in the items selection key. this is what happened :

Code:
select * from ta[press tab]

gives me
Code:
select * from tatable

instead of
Code:
select * from table


No particular problem with the key "ENTER", it works perfectly.

Not a big deal, maybe these are known issues.

i'm french so google help me a lot to express myself, sorry...:)

Sai
Thu Sep 03, 2009 10:02 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Hi.

Which specific SQL editor/version are you using? Which version of Oracle OCI are you using for db connections?
Thu Sep 03, 2009 12:38 pm View user's profile Send private message
saigon



Joined: 17 Dec 2008
Posts: 10
Country: France

Post Reply with quote
hi,
Quote:
SQL editor/version


Scite / 2.01

Quote:
Oracle OCI


Oracle9i Enterprise Edition Release 9.2.0.7.0

Thanks for your help.
Fri Sep 04, 2009 4:11 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Sorry, I will not be able to help you with Scite, we don't have it here and I cannot check it There might be some compatibility issue. Please try using a different editor.

As for the table / alias issue, I doubt it is caused by a table or alias reference. It is likely caused the way the data is returned, some unsupported data type, like an object or nested table, etc...is leading to an error during data retrieval which is leading an unhandled exception and in turn to a crash Try it with different tables, for example, SELECT sysdate FROM dual; Also please check your ORANET.LOG file, there could be a reference to some specific Oracle error. If we know that error, we could figure out how to fix or to workaround it.

One other possible solution is to use ODBC or ADO.NET based connection instead of OCI, Maybe that will help to avoid crashes caused by data retrieval
Fri Sep 04, 2009 8:37 am View user's profile Send private message
saigon



Joined: 17 Dec 2008
Posts: 10
Country: France

Post Reply with quote
Quote:
One other possible solution is to use ODBC or ADO.NET based connection instead of OCI, Maybe that will help to avoid crashes caused by data retrieval


I tried to use ODBC driver, it crashed anyway.

Quote:
It is likely caused the way the data is returned, some unsupported data type, like an object or nested table, etc...is leading to an error during data retrieval which is leading an unhandled exception and in turn to a crash Try it with different tables


The bug occurs randomly on a specific table. All other tables dont bug.
But sometime this specific table displays results...and sometime it bugs.

Quote:
Also please check your ORANET.LOG file

I cant find it anywhere, it's supposed to be in the oracle directory ?

Thank for the time,
Sai
Fri Sep 04, 2009 10:38 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Please post column definitions for that particular table, or better the complete DDL for the table so I can try to reproduce it locally.

How many records do you retrieve from that table when it crashes? Is that always a small number (hmm... less than 10000 records)?

Sorry, I meant to refer to SQLNET.ORA file and that should be in the application working directory
Fri Sep 04, 2009 11:37 am View user's profile Send private message
saigon



Joined: 17 Dec 2008
Posts: 10
Country: France

Post Reply with quote
Quote:
Please post column definitions for that particular table, or better the complete DDL for the table so I can try to reproduce it locally.


Code:

Nom                            NULL     Type                                                                                                                                                                                         
------------------------------ -------- -------------------
NUMCOMMAND                                VARCHAR2(9)                                                                                                                                                                                   
COMMANDOBJECTIDEN                         VARCHAR2(3) 


I created this table from another table like this

Code:

create table TABLE_XXXX as
select * from TABLE_YYYY


Quote:
How many records do you retrieve from that table when it crashes? Is that always a small number (hmm... less than 10000 records)?


about a hundred rows...

Quote:
Sorry, I meant to refer to SQLNET.ORA file and that should be in the application working directory


I found it but there is nothing relevant i think i post it anyway

Code:

#############################################################################
#                                                                           #
#             SQLNET.ORA                                                    #
#                        QAC EPASI 2.0                                      #
#                         MSC - ***********                                 #
#                                                                           #
#                                                                           #
#                                                                           #
#############################################################################


names.default_domain = world


names.directory_path= (TNSNAMES,ONAMES,HOSTNAME )


Sqlnet.authentication_services=NONE

names.default_domain = *****
name.default_zone = *****

Mon Sep 07, 2009 5:40 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
I cannot reproduce this issue with Notepad, with DB Tools and with PL/SQL Developer. I haven't tried Scintilla based editors, but I don't think the issue it editor specific. Are you sure the issue is specific to one particular table. I think it is an issue with unstable database connection. Can you try other tables to find out whether it is table specific or connection specific? Also, please check which SQL Assistant popups are invoked before you use the Execute SQL Code function. Maybe this happens when certain functions are invoked in a certain sequence.
Mon Sep 07, 2009 8:47 am View user's profile Send private message
saigon



Joined: 17 Dec 2008
Posts: 10
Country: France

Post Reply with quote
You're right it's not specific to scite i tried with notepad i've got the same bug : it crashed the editor...

the query works fine with others editor like Toad or SqlDeveloper (without SA)...

Code:
Also, please check which SQL Assistant popups are invoked before you use the Execute SQL Code function. Maybe this happens when certain functions are invoked in a certain sequence.


i notices it happen just after the popup "connection context" if i run the query before its display i get the results. after i get an error and the editor vanishes

EDIT : Yes i'm sure it's specific to 2 tables that i creates the same way, only theses 2 tables...
Mon Sep 07, 2009 9:53 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Let's try to disable the automatic syntax checking feature and verify if that helps.
Mon Sep 07, 2009 5:25 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.