0% found this document useful (0 votes)
11 views2 pages

Test Data

Test data

Uploaded by

jepexi9054
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Test Data

Test data

Uploaded by

jepexi9054
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

SQL*Plus: Release 11.2.0.2.

0 Production on Mon Sep 2 14:32:21 2024

Copyright (c) 1982, 2014, Oracle. All rights reserved.

SQL> system
SP2-0042: unknown command "system" - rest of line ignored.
SQL> connect
Enter user-name: system
Enter password:
ERROR:
ORA-01017: invalid username/password; logon denied

SQL> connect
Enter user-name: system
Enter password:
Connected.
SQL> create user gourav identified by student;

User created.

SQL> select * from t1;

NAME C_ID
-------------------------------------------------- ----------
Debojit 14
Deborshi 8
Gourav 10
Sukrit 106
Autodesk 15

SQL> grant create session on gourav;


grant create session on gourav
*
ERROR at line 1:
ORA-00990: missing or invalid privilege

SQL> grant all on t1 to gourav;

Grant succeeded.

SQL> create user gourav identified by student


2 grant all on t1 to gourav;
grant all on t1 to gourav
*
ERROR at line 2:
ORA-00922: missing or invalid option

SQL> grant create session on system;


grant create session on system
*
ERROR at line 1:
ORA-00990: missing or invalid privilege

SQL> grant create session on gourav;


grant create session on gourav
*
ERROR at line 1:
ORA-00990: missing or invalid privilege

SQL> grant create session on gourav;


grant create session on gourav
*
ERROR at line 1:
ORA-00990: missing or invalid privilege

SQL> grant create session on gourav;


grant create session on gourav
*
ERROR at line 1:
ORA-00990: missing or invalid privilege

SQL> create grant session on system;


create grant session on system
*
ERROR at line 1:
ORA-00901: invalid CREATE command

SQL> grant create session on gourav;


grant create session on gourav
*
ERROR at line 1:
ORA-00990: missing or invalid privilege

SQL> grant create session to gourav;

Grant succeeded.

SQL> grant all on t1 to gourav;

Grant succeeded.

SQL> revoke all on t1 from gourav;

Revoke succeeded.

SQL> select * from dual;

D
-
X

SQL> select sysdate from dual;

SYSDATE
---------
02-SEP-24

SQL>

You might also like