473,748 Members | 2,214 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to connect to Oracle database from unix prompt

1 New Member
Is there any other command to connect to oracle database from unix prompt apart from 'sqlplus usename/passwd'
May 12 '06 #1
2 50166
rajputvikas
1 New Member
You may use following
UNIX> sqlplus /nolog
SQL> connect internal
.. do your admin stuff..

Please note that this is just equivalent to saying
UNIX> sqlplus '/ as sysdba'

Moreover, "connect internal" is getting desupported going forward. Also, if you are trying to connect as different user from within an SQLPLUS session use following:
SQL> connect user_next/passwd@dbname;

If you are looking for connecting to db outside SQLPLUS, then please understand that SQLPLUS is an utility which allows access to your database and passes on your queries/DML's/DDL's to database and hence you need to pass through that route only.

Hope it helps.... let me know any followup queries....
May 17 '06 #2
lifeisonlyluck
1 New Member
Thank You Vikas, this was helpful to me.

Kumar
Feb 24 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2772
by: Yanick Quirion | last post by:
Hi all, I'm trying to find a simple code to connect to an Oracle Database (9i) with C under linux. I have a script that read a form from the web and I want to access my Oracle database with this form. I'm looking for something easier to compile. I already found something to connect to an Oracle Database, but it use g++ and not cpp, and the second
2
2116
by: baumann.Pan | last post by:
Dear all , how can I connect to oracle database in C language under linux? thanks in advance
0
1957
by: Asheesh | last post by:
Hi, I want to configure client machine with oracle database server thru .Net programming. Can any body tell me how? Actually the scenario is: I am crating .net setup project for complete installation of asp.net application. While setup is running user has to fill oracle server host name, database name, username and password to connect oracle database server. Then setup will configure oracle database server with given information. So...
1
13551
by: renjith.nair | last post by:
Please give me some sample codes to connect oracle database from a java program.
3
4535
by: nasirVB | last post by:
I am trying to develop a database management system with oracle. But i dont know coding for the same. I have been using MS Access as database. But i want o switch the database to Oracle. Please help me out. Nasir Ahmed
6
4534
by: mktselvan | last post by:
hi here we have oracle financial system (dbtier, applicatin tier) @ sun solaris sparc from windows client, application tier ip address is working (pinging from remote area) but dbtier doesn't. as well as we can't login using telnet also
1
2558
by: ora2000 | last post by:
Hi I would like to create a unix script to connect to an ORACLE database using a oracle package. Also this script should provide functionality to call an oracle procedure that contains a parameter value that is passed to it. The parameter value passed to the procedure should be "editable" i.e user should be able to change it. Please specify if any more information is needed what I have done is the following example script name ->...
3
6445
by: techquest | last post by:
Hi, I want to connect into oracle database and export the table data into a flat file using UNIX shell scripts. I cant use other GUI tools to do this, as the dataload will be in millions. hence if i try to export from toad/sqlplus its hanging. And also i need to some validation using UNIX. So please give me some tip to write a script which does this operation. Req: 1) Connect oracle 2) Select * from employee 3) Write into some flat...
0
2736
by: akshalika | last post by:
I am new to Biztalk. In my project we need to connect oracle database and insert data into oracle table using BizTalk project. I use WCF Adapter pack(SP2). I create biztalk project then using Consume Adapter Service Add-in create schemas to insert data into oracle database and tow-way send port binding file Then create orchestration and logical receive port send port, Request-response port then after correctly connect those port with message...
0
9552
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9326
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.