Connection with SQL

Help with setting up and configuring custom user tools in UltraEdit (based on command line input)

Connection with SQL

Postby dealer1985 » Mon Jul 07, 2008 12:00 pm

Hello
Ther is posibility to connect UltraEdit with Oracle, for example to explore tables from oracle in UE.?
Or there is any other way to connect with oracle ? If yes how to do it ?
dealer1985
Newbie
 
Posts: 4
Joined: Fri Jul 04, 2008 6:59 am

Re: Connection with SQL

Postby pietzcker » Mon Jul 07, 2008 12:44 pm

Haha. Nice one :)

I'd also like to use UE to remove the red eye effect from my photos and to manage my eBay auctions...

SCNR...
User avatar
pietzcker
Master
Master
 
Posts: 241
Joined: Sun Aug 22, 2004 11:00 pm

Re: Connection with SQL

Postby dealer1985 » Mon Jul 07, 2008 12:51 pm

Impossible is nothing. Specialy that UE can connect with servers by SSN/Telnet. Just one step left :)
dealer1985
Newbie
 
Posts: 4
Joined: Fri Jul 04, 2008 6:59 am

Re: Connection with SQL

Postby Bego » Mon Jul 07, 2008 4:34 pm

Well, I do my Oracle-SQL editing (PL/SQL, funcs, triggers etc.) with UE.
How?
I edit the file and then just call a user-tool that runs sqlplus with the source.
Works very well for me ...
User avatar
Bego
Master
Master
 
Posts: 357
Joined: Wed Nov 24, 2004 12:00 am
Location: Germany

Re: Connection with SQL

Postby dealer1985 » Tue Jul 08, 2008 2:37 am

Thats great for me. Could you explain me more how to make it. I have my dates on HP9000
dealer1985
Newbie
 
Posts: 4
Joined: Fri Jul 04, 2008 6:59 am

Re: Connection with SQL

Postby Bego » Tue Jul 08, 2008 3:47 am

I'm not in my office now. But you can see it also in this thread:
http://www.ultraedit.com/forums/viewtopic.php?f=41&t=2580&hilit=sqlplus

Tell me if this is enough for you. Otherwise, pls wait until Wednesday....

rds Bego
User avatar
Bego
Master
Master
 
Posts: 357
Joined: Wed Nov 24, 2004 12:00 am
Location: Germany

Re: Connection with SQL

Postby dealer1985 » Tue Jul 08, 2008 6:33 am

Hi
Thank you for that solution, but it is'n clear for me. Only what i need is to browse DB form Oracle in UE or just some part.
I'll wait till Wednesday :)
dealer1985
Newbie
 
Posts: 4
Joined: Fri Jul 04, 2008 6:59 am

Re: Connection with SQL

Postby Bego » Tue Jul 08, 2008 7:02 am

Browsing in the DB is NOT possible in UE and will never be :?
But if you grab your procedure(s) anyhow (e.g. from TOAD) and copy it once to a file,
you then can work with UE ON THAT FILE and run the user tool to compile that script
against a schema. The output of SQLPLUS will occur in UE output window, so you
then can correct your errors and run the user-tool once again etc.
Disadvantage:
So clearly, if another user changed your procedure on the DB, you have to know or it will
be overwritten.
But when you work (alone) on some files this is quite a good way I think...
User avatar
Bego
Master
Master
 
Posts: 357
Joined: Wed Nov 24, 2004 12:00 am
Location: Germany

Re: Connection with SQL

Postby Bego » Wed Jul 09, 2008 5:11 am

Here is the command:
Code: Select all
C:\ORACLE\ORA92\bin\SQLPLUS.EXE user/pw@instance @"%f

As working dir I choose:
Code: Select all
%p


rds Bego
User avatar
Bego
Master
Master
 
Posts: 357
Joined: Wed Nov 24, 2004 12:00 am
Location: Germany


Return to Custom User Tools/Tool Configuration