Signon using Toad
I am trying to signon as sys to Oracle 9i personal edition with Toad.
I can signon as scott or system but when I try signon with sys/password as sysdba it gives me a error.
When I sign on using Oracle SQL*Plus it works fine.
Can you tell me how to use Toad to make the signon work.
Thanks in advance
As I recall the TOAD dialogue box has a dropdown list for connection type. To connect AS SYSDBA you need to choose SYSDBA from that list (the default is NORMAL).
Cheers, APC
Similar Messages
-
Hello Guys,
Please share your views based on your experience
Oracle 10g on Linux or Unix in DBA's perspective is it worth using TOAD?
Please let me know how much more resource toad session takes compare to sqlplus (command line session)
so will it put extra load on database
It has some helpful features but do have disadvantages as well?please list disadvantages as advantages mostly
mentioned on toad websites or documentations
I am concerned with some like resoure usage/utilization,security(can connect multiple db at a time so human error),
hanged toad sessions when run large query etc
Thanks in advance
Devuser13152393 wrote:
Hello Guys,
Please share your views based on your experience
Oracle 10g on Linux or Unix in DBA's perspective is it worth using TOAD?What are you going to be doing with TOAD? It's a tool, simple as that.
Please let me know how much more resource toad session takes compare to sqlplus (command line session)
so will it put extra load on databaseTOAD doesn't take extra database resources in a typical sense. A database session is a database session regardless of whether it's been instantiated throught TOAD, SQL*Plus, SQL Developer or a.n.other tool. Obviously SQL*Plus is a more basic command line tool and therefore takes less disk space to install, and TOAD takes more disk space, but TOAD has a GUI interface and other things to make your tasks easy and pretty, so you'd expect that.
It has some helpful features but do have disadvantages as well?please list disadvantages as advantages mostly
mentioned on toad websites or documentationsIt depends. Using SQL*Plus will teach you to use SQL and the database properly as you will have to understand things from a raw command level. TOAD hides a lot of the technicalities from you and does it all for you, but then you would become stuck if you had to get the same information etc. manually as you wouldn't know what to do. Everything has advantages and disadvantages, but it's purely subjective (i.e. it depends on an individual persons point of view)
I am concerned with some like resoure usage/utilization,security(can connect multiple db at a time so human error),
hanged toad sessions when run large query etcI can connect multiple SQL*Plus sessions to different databases if I like, and they all look like command windows, so still opportunity for human error. What's the difference?
Why should a toad session hang on a large query as opposed to hanging in SQL*Plus? I think you're clutching at straws and worrying about nothing.
At the end of the day, many people use SQL*Plus, many people use TOAD, many people use SQL Developer, many people use other tools and many people use combinations of them all depending on what they need to achieve. Just use what's right for you. -
Send query results to a file using Toad
Hello,
I have a select statement that generates xml rows, and I need to send the results to a file. I am using TOAD VI. The rows generate ok but when I right click and choose the save as option all I end up with is an empty file.
Is there a way I can just send the results directly to a file instead of to the screen?
Thanks.user11293056 wrote:
Would you happen to know of a website that shows how to create an xml file using SQL*Plus?
Thanks.A search of asktom.oracle.com for the following phrase found a couple interesting pages:
table(xmlsequence(cursor
On such page is this one:
http://asktom.oracle.com/pls/asktom/f?p=100:11:1074646661177911::::P11_QUESTION_ID:4061080732051
As an experiment, you might take a look at the output of the following (replace SELECT * FROM MY_TABLE_HERE with your SQL statement):
SELECT
FROM
TABLE(XMLSEQUENCE(CURSOR(
SELECT
FROM
MY_TABLE_HERE
)));Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
Not able to connect to database using toad
we have a 11.1.0.7 database on solaris machine.
when the development team tries to connect to it using toad, it gives them ORA-01017: invalid username/password error.
We are using TNS entries to connect. From the same client machine, we are able to connect using SQLPLUS and SQL Developer using the same TNS entry. However, its not working on TOAD.
Toad Version is 9.0.1. Any help is much appreciated.
Thanks.Hi Muneer,
My answer is arriving to this forum late, but I'll tell you what is happening to benefit others who have this issue. Older versions of Toad convert the case of the password to upper case when they attempt to authenticate to Oracle. Versions of Oracle prior to 11G had case insensitive passwords so it did not matter. But when 11G came out with it's case sensitive passwords, Toad could no longer authenticate. You can test this yourself by modifying the password for your Oracle account (usnig sqlplus) so that the password is completely upper case.....Toad will suddenly be able to authenticate.
You will find that sqlplus and SQL Developer don't have a problem. That is because they don't convert the password to upper case, they just leave it as it is. I don't know why older versions of Toad convert the password to upper case, but that is what they do. Newer versions of Toad fix the issue. I believe that Toad versions 9.5 and later should work. I've also read, however, that 9.5 had issues with Oracle 11G client libraries so you might just want to upgrade to the latest/greatest version of Toad. -
How to connect Oracle database using TOAD Database toll
Hello ALL,
I have installed oracle 9i and TOAD in my machine.
I want to connect oracle9i using TOAD database toll.
How can i able to connect Oracle9i using TOAD database toll?What is the code i will change in tnsnames.ora so that i am able to connect scott/tiger database using TOAD?
tnsnames.ora*
SUMANTA.IN002.SIEMENS.NET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = BLRD025AL1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = sumanta)
Please suggest.
Thanks for your time.
Regards,
Sumantauser2367151 wrote:
Hello ALL,
I have installed oracle 9i and TOAD in my machine.
I want to connect oracle9i using TOAD database toll.
How can i able to connect Oracle9i using TOAD database toll?What is the code i will change in tnsnames.ora so that i am able to connect scott/tiger database using TOAD?
tnsnames.ora*
SUMANTA.IN002.SIEMENS.NET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = BLRD025AL1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = sumanta)
Please suggest.
Thanks for your time.
Regards,
SumantaIf you have a listener on host BLRD025AL1, and that listener knows about a service named 'sumanta', then you don't need to do anything to your tnsnames.ora to use it with Toad -- or any other client tool. You just have to provide the correct connect string.
What have you actually tried?
What result did you get?
Any oracle errors (ora-nnnnn or tns-nnnnn)? -
Remote connection to a database using TOAD, but without Oracle db on PC
I want to connect to a remote database using TOAD from my PC but without having to install Oracle database on my PC.
Is it possible?
If yes, where do I enter the database IP address & port number?
I am using TOAD Freeware version 8.5.0.50g
(I want to achieve the exact thing with TOAD as it can be done with "OraCmd" program.)How did you create your tns entry? Manually or via netca?
If netca is not used, I would recommend to delete the old tns entry from tnsnames.ora file manually and add the same entry back via netca utility.
PartA.
1) Make sure listener is up (for example on the server 192.168.0.33 you are trying to connect) before you start netca. Most probably it is on 1521 port unless you changed it.
Assuming your server on *NIX:
$ ps -ef |grep lsnr
the above command will give you all the listeners which are up and running.
If listener is not up, bring it up.
$ lsnrctl start listener
the above command will start listener called "LISTENER" on default port 1521. Ignore this if the listener is already up.
PartB
Assuming your client machine is on Windows,
1) start --> run --> cmd --> netca
2) You will see "Oracle Net Configuaration Assistant: Welcome" window. --> next
3) Pick the 3rd radio button "Local Net Service Name Configuartion" --> next
4) Pick the "ADD" button. --> next
5) Provide the service name. (It is usually database name). Assuming my database name is FCMAT, I will give FCMAT --> next
6) Pick "TCP" --> next
6) Instead of the hostname, add the ip address of the host (for example 192.168.0.33 and
"Use the standard port of 1521"--> next
7) "Yes, perform a test" (this is why you have to have the listener up to test it) -->next
8) It will fail as it doesn't have any password. Click on "Change Login" and provide the SYSTEM password and click "OK". If listener is up on the server and password is right and there are no connectivity issues going on, test will SUCCEED. --> next
9) Here you will provide Net Service Name. You can give whatever you like to give here but usually giving instance name will help. AGain, I will give FCMAT. -->
10) Click "NO" to configure another net service name. --> next
11) click "Finish"
The above steps will create a tnsnames.ora entry similar to this.
FCMAT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.33)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = fcmat)
Part3
1) start your sqlplus utility
2) provide username system
3) provide password
4) provide FCMAT in host string.
and you should be able to connect via sqlplus and TOAD.
If you are still getting the error, please provide us the exact error.
--Moid M
P.S. tnsnames.ora / listener.ora / sqlnet.ora can be found $ORACLE_HOME/network/admin directory. -
Connecting to vmware database using TOAD on windows7(client machine) issue?
hi
10gR2 installed on OEL4.2(VMWARE) on windows7 HOST. Please let me know how to connect to database installed oel4.2(vmware) on windows7 using the TOAD. as i downloaded the oracle10g client about 35MB and unzipped. it got all class files and then moved this to C:\ folder on windows machine and set the environment variables to the include the path of oracle client and also created the tnsnames.ora in instantclient folder.
i can able to ping to vmware machine from windows and viceversa and listener and tnsnames are running at the database side. When i am trying to connect to database using TOAD or pl/sql developer its giving error.
pl/sql developer error:
Oracle client nor properly installed
OracleHomekey:
Oracledir:
TOAD Error:
cannot find OCI.dll
in the instantclient folder i have OCI.dll but still giving the error
Please give some suggestions or links to solve this error..
regards!!
vams
oracle apps dba804369 wrote:
hi
10gR2 installed on OEL4.2(VMWARE) on windows7 HOST. Please let me know how to connect to database installed oel4.2(vmware) on windows7 using the TOAD. as i downloaded the oracle10g client about 35MB and unzipped. it got all class files and then moved this to C:\ folder on windows machine and set the environment variables to the include the path of oracle client and also created the tnsnames.ora in instantclient folder.
i can able to ping to vmware machine from windows and viceversa and listener and tnsnames are running at the database side. When i am trying to connect to database using TOAD or pl/sql developer its giving error.
pl/sql developer error:
Oracle client nor properly installed
OracleHomekey:
Oracledir:
TOAD Error:
cannot find OCI.dllgo post TOAD problem in TOAD forum; not here -
Basic query on PLSQL using TOAD
hi all,
First of all thanks a lot to everyone for always helping and guiding me through all the doubts i had asked here.I have leasrned a lot and appreciate your help.
So,my question is
executing the STORED PROCEDURE in Toad 9.0
execute assign_daily_plan('547615',null,null,'plan67063974107')
I am getting an error showing LINE NO. and ISSUE displayed.Now,when i cancel this ...it closes the window and execution over.
I am not at all able to debug any more in this case.where can i see the values getting printed out in the program and the values for the dbms.output lines.
I need to see all the inter-midate values during the run of the program till it gets the ERROR,possibly with BREAKPOINTS but...i am not able to do.Please help me
I use toad 9.0 to connect to Oracle 10g Database
* The stored procedure has dbms.output_lines for PRINT the flow of the program as well printing each variable data out during run time.
*Also,set SERVEROUT ON is at the start of the editor as well as I used all the buttons like "STEP OVER","STEP INTO","TRACE" as well SQLPLUS tooHello,
First this procedure syntax ain't look right but you might be giving an example. (Here I am using TOAD 9.5).
You should following as is and create procedure and then execute as a script in TOAD and check in output and see if it's priniting it or not and post output if didn't work for you.
CREATE OR REPLACE PROCEDURE myprocedure
AS
BEGIN
DBMS_OUTPUT.put_line ('HELLO I AM TESTING');
END;pl/sql block using sqlplus
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
SQL> set serveroutput on;
SQL> BEGIN
2 KLONDIKE.MYPROCEDURE;
3 COMMIT;
4 END;
5 /
HELLO I AM TESTING
PL/SQL procedure successfully completed.Runing as script from TOAD
set serveroutput on;
DECLARE
BEGIN
MYPROCEDURE;
END;
HELLO I AM TESTING
PL/SQL procedure successfully completed.Regards
Edited by: OrionNet on Mar 14, 2009 6:52 PM -
Cannot connect to db using toad
hi ,
I get the following error while I try to connect my db using toad and windows sql
=========================================================
Fatal OSN connect error 12203, connecting to:
(DESCRIPTION=(CONNECT_DATA=(SID=INS)(CID=(PROGRAM=TOAD.exe)(HOST=Windows NT PC)(USER=altaf)))(ADDRESS_LIST=(ADDRESS=(PROTOCOL=ipc)(KEY=INS.WORLD))(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=10.15.44.11)(Port=1521))(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=10.15.44.11)(Port=1526))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 2.3.2.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 2.3.2.1.3 - Production
Time: 03-JUL-08 12:36:22
Tracing not turned on.
Tns error struct:
nr err code: 12203
TNS-12203: TNS:unable to connect to destination
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 60
nt OS err code: 0
============================================
but the same db is connecting using froms 4.5
may be some settings in the tnsnames or sqlnet.ora files got changed
please advise urgently
also can u guide me to some document detailing the significance of these two files
AltafHi
When trying to connect to Oracle the following error is generated:
ORA-12203: unable to connect to destination
Possible Causes and Remedies:
Invalid TNS address supplied.
Verify that the service name is correct.
Verify that the name of the ‘host’ computer (defined as part of the TNS address) is valid and correct.
Destination not listening.
Ensure that the listener is running at the remove node. This can be verified on the server by using the command ‘lsnrctl80 status’ and also by looking at the services and checking that the service ‘OracleService<Sid>’ is running.
If the listener service is not running, does not exist and the database has just been created anew on the machine by restoring it from a backup, then the listener service will need to be created:
Oradim80 –new –sid <SID> -intpwd Oracle –startmode AUTO –pfile <full-path-of-init-file>
This should only be done in the circumstances outlined above.
Possibly because of underlying network transport problems.
Check that the remote node is visible on the network.
To gain more information in diagnosing the problem, enable tracking on the client, try making the connection again and then look at the trace file SQLNET.LOG.
There are multiple databases on the server and the database alias was not supplied as part of the connection string. This will only arise if connecting to the database on the same machine, since normally in this instance the database alias is optional if there is only one instance. Try:
Setting the environment variable ‘ORACLE_SID’ to the SID of the desired instance. (Consider setting ORACLE_SID in the registry.)
Explicitly specifying a database alias when connecting to the database.
Setting the environment variable ‘LOCAL’ or ‘REMOTE’ to the SID of the desired database. The service name does not then need to be specified.
Note: Using the utility ‘TNSPING’ may help in identifying any problems. As well as identifying whether a successful connection can be made, it also indicates whether the TNS name supplied is valid and if so then the host computer that it is trying to connect to. Syntax:
TNSPING <tns-name> -
COMPARE DATABASE SCHEMA WITHOUT USING TOAD
Hi all,
I have always used toad to compare database schema ....
Does anyone know about any other way to go about comaparing schema?
e.g script etc.....There are many different ways of doing this, depending on how detailed you want to get and what is relevant to you.
The first place to start is the "Oracle Reference" manual which describes the various DBA_ views. You can build up your won comparison routine fairly easily simply by running differences. Using SQLPlus, you could go down the road of
Prompt Objects missing in &2 that are in &1
SELECT object_type, object_name
FROM DBA_OBJECTS
WHERE OWNER=&1
MINUS
SELECT object_type, object_name
FROM DBA_OBJECTS
WHERE OWNER=&2
Prompt Objects missing in &1 that are in &2
SELECT object_type, object_name
FROM DBA_OBJECTS
WHERE OWNER=&1
MINUS
SELECT object_type, object_name
FROM DBA_OBJECTS
WHERE OWNER=&2
etc.
This has the advantage of allowing you complete control over what you see (as compared to giving that control to some other developer, such as the Toad Team). There are some disadvantages, including:
you need to understand what you want and why;
you need to be familiar with the documentation and the structure of the DBA_ views;
you need to maintain the scripts
You could always purchase Oracle's Change Management Pack add-on to Enterprise Manager or use tools like SQLDeveloper as well. -
Hi All,
I'm not able to connect to DB using TOAD. While connecting I'm getting the below error:
ora 01304 oracle not available
ora 27101 shared memory realm does not exist
linux-x86_64 error 2 no such file or directory
To resolve the above issue, I reloaded the listener. After reloading the listener I was able to connect to DB.
But after some I got the same error and wasn't able to connect.
Means when listerner is reloaded I'm able to connect but after some time getting the same issue. I'm not getting the reason why its happening.
Please advise.
Thanks.
Ashwani N.Hi All,
I'm using the below TNS entry to connect through TOAD.
In this host1 is my primary server (up and running) and host2 is my physical standby server(mounted). With the below TNS entry its directing me to the standy by and I'm getting the error:
Oracle Initialization or Shutdown in progress.
DG_TEST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(FAILOVER=ON)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = <host1>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XYZ)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = PRECONNECT)
(RETRIES = 20)
(DELAY = 30)
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =host2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XYZ)
Please Advice.
Thanks.
Ashwani N. -
Hi,
I want to export all views script in txt file using TOAD.
can anybody suggest
Rgds
GaganOpen schema Browser
Choose schema
Navigate to views
Select list of views
Right-click and choose create script
Choose file format or copy to clip board.
-Akris -
Block database access using toad or other tools
We have a forms application running on oracle database 10g release 2, with the users created in the application the database can be accessed using the same id's through sql plus or any other tool. We have already restricted sql plus access by product_user_profile. Is there any other way to make sure toad or any other tool can be stopped from accesing the database.
Thanks
Ericeric_in wrote:
We have a forms application running on oracle database 10g release 2, with the users created in the application the database can be accessed using the same id's through sql plus or any other tool. We have already restricted sql plus access by product_user_profile. Is there any other way to make sure toad or any other tool can be stopped from accesing the database.
Thanks
EricHi Eric
I've a blog post on this issue. You can look for .exe extentsion of the program which connects to the database
http://kamranagayev.wordpress.com/2009/10/04/block-developers-from-using-toad-and-other-tools-on-production-databases/ -
Connecting over VPN using Toad
Hello,
We have started experience problems connecting to our 9i and 10g databases when using Toad over a VPN connection. Although a connection is actually made nothing is returned to the Toad client and it justs hangs. This problem only occurs over a VPN. When connected to the LAN there is no problem. Also it is possible to connect over the VPN using SQL Developer. This has only recently started happening. In the past we have been able to connect over the VPN without a problem. Sounds like a Toad problem? Yes! I was wondering if anyone else had experienced this and new of a resolution.
Thanks JamesHi ,
The OP is able to connect through SQL Developer using VPN so no issues with VPN,The OP is facing problem when connecting using TOAD so:
1)Try to disconnect the TOAD and than try if that doesn't work can you please type the error message you are getting while connecting to the TOAD using VPN.
Best regards,
Rafi.
http://rafioracledba.blogspot.com/ -
I checked the schema for plan_table and it is available I can do select * from plan_table
but When I try to use toad explain plan it gives me error as ora-02404
Any help appreciated
KMBy default TOAD uses its own PLAN_TABLE. So either you didn't run the script to create it or you need to change the options to use the Oracle one instead.
Cheers, APC
Maybe you are looking for
-
How to display a jpeg in corner of a frame or change default bg colour?
I am having problems of a different sort regarding display of an image in a frame. I wish to display a jpeg in a frame such that it sits exactly in the top left corner. As it is, it always sits a few pixels left and down from the corner, leaving an a
-
How can i recover my password on a HP Mini 210-1018CL
I have forgotten my password on my HP Mini 210-1018CL please help. Thanks
-
[Solved] Application launchers on desktop in Gnome 3.2?
So, I'm testing out gnome 3.2 again and I'm trying to create launchers on my desktop, but there doesn't appear to be an option for it in Gnome 3.2 when I right click my desktop. I have Nautilus drawing the desktop so did Gnome completely do away with
-
Selection Tool to select "Exact Border" of an Image in Action
Hi, Is there a better way to select the "Exact Border of An Image" instead of using "Rectangular Marquee Tool" manually?
-
How and where do i get album Art work for my Album/tracks ????