473,397 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

About creating user,deleting user and revoke privileges

13
Hi all,

I have logged on into system/manager and created a user and granted some privileges to that user...now i want to connect with that user...i tried the following command

connect username/password

but after entering this command i am getting an error message as "u r no longer connected to oracle"

how to delete the created user...?

could u tell the solution for this error....
Jul 3 '07 #1
1 1469
debasisdas
8,127 Expert 4TB
Along with the username and password also pass the hoststring
try this

Expand|Select|Wrap|Line Numbers
  1. connect username/password@hoststring
and if u want to delete the user

connect to sys or system or any account which has the required previleges

then try this
Expand|Select|Wrap|Line Numbers
  1. drop user username;
if that has any objects and u still want to drop the user(all the objects will be dropped) then try this

Expand|Select|Wrap|Line Numbers
  1. drop user username cascade;
Jul 3 '07 #2

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

Similar topics

4
by: Amardeep Verma | last post by:
Hi, I have a quick question. Which role/privileges are required before a user can give the statement "GRANT ALL PRIVILEGES"? Thanking you in Advance Have a nice day
2
by: Denis Martineau | last post by:
Some user accounts have been created some time ago and we have just found out that they were given privileges they should not have. However, I have no idea which account was used to create them and...
1
by: srujan | last post by:
Hi, I need a script to provide administrative Privileges to install software from the network and revoke the privileges after installation of that software.I need this to install for the users...
1
by: fbk2k5 | last post by:
hi i have a problem to connect the user inside the stored procedure in oracle i tried option CREATE OR REPLACE PROCEDURE Chk_Permission AS UserID VARCHAR2(10):='1234'; fname...
3
by: %NAME% | last post by:
Suppose I am an admin of a database instance. Now I need to specify that user A has the right to create tables in his own schema, but not anywhere else. In order to let user A create tables, i...
4
by: kalps | last post by:
What is the purpose of giving grant dba,connect,resource to some user.... What is this actually do? if i give this, is it necessary to grant select update privileges to that user or no...
0
by: Rahul Babbar | last post by:
Hi, I have two users, both of which are part of db2grp1, which is the admin user. db2grp1 has atleast 2 users, user1 and user2. I create a table in user2, name it table2. When i try to delete...
3
by: db2admin | last post by:
Hi, is it possible to have certain user create all table and objects in specific tablespace? i mean , when they create table without specifying any tablespace, their tables should go into say...
11
by: giddy | last post by:
hi, (I want someone to check if my idea is utterly stupid or ok??) I have a mid complex app for a hotel that needs a fine grained user security system. In other words an admin should be able...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.