Home
Videos uploaded by user “Praveen Biyyapu”
HOW TO INCREASE DECREASE MEMORY TARGET IN ORACLE 11G
 
04:55
How to increase/decrease memory_target in 11g ====================================================== oracle 10g --sga_target (parameter new in 10g) oracle 11g --memory_target (parameter new in 11g) How to check whether the parameter is static or dynamic? ========================================================= select name, value, issys_modifiable from v$parameter where name like '%&parameter%' ; if issys_modifiable=false --- parameter is static (database bounce required) if issys_modifiable=immediate --- parameter is dynamic (database bounce not required) (note: consider using spfile) sql commands ================ show parameter memory; alter system set memory_target=350m scope=spfile; alter system set memory_max_target=350m scope=spfile;
Views: 5539 Praveen Biyyapu
HOW TO WRAP PLSQL CODE IN ORACLE DATABASE
 
05:55
HOW TO WRAP A PL/SQL CODE IN ORACLE DATABASE ============================================ wrap iname=testproc.sql oname=testproc.plb HOW TO CREATE A PROCEDURE ========================== create or replace procedure test as begin dbms_output.put_line('Welcome to ORACLE DBA'); end; / HOW TO CHECK THE CONTENT OF PROCEDURE ======================================== select owner,object_name from dba_objects where object_name like '&object_name'; select text from dba_source where name='&name'; HOW TO EXECUTE A PROCEDURE ========================== set serveroutput on; exec test HOW TO READ A FILE FROM COMMAND PROMPT ====================================== type testproc.sql type testproc.plb PL/SQL files extension ======================= .pls - PL/SQL source .plb - PL/SQL binary .pks - Package source or package specification .pkb - Package binary or package body .pck - Combined package specification plus body
Views: 2196 Praveen Biyyapu
How to use the auto commit feature in oracle database
 
03:11
How to use the auto commit feature in oracle database ===================================================== show autocommit; set autocommit on; create table fruit(sno number); insert into fruit values(1); insert inot fruit values(2); how to rollback the uncommited transactions ========================================= rollback;
Views: 949 Praveen Biyyapu
when checkpoint will occur in oracle database
 
14:13
How to check current_scn number of database? ============================================= select CURRENT_SCN from v$database; select dbms_flashback.get_system_change_number from dual; select timestamp_to_scn(sysdate) from dual; how to check datafile header scn number? ========================================= select name,CHECKPOINT_CHANGE# from v$datafile_header; when checkpoint will occur? ============================ alter system switch logfile; alter database begin backup; alter database end backup; alter system checkpoint;(manual checkpoint) shutdown immediate;(when the database is down) what will happen when checkpoint occurs? ========================================= scn of datafile header will update;
Views: 3912 Praveen Biyyapu
how to take  hot backup of database manually
 
07:37
can we take hot backup when the database is in noarchive log mode? =================================================================== no archive log list; alter database begin backup; can we shutdown a database when it is in backup mode? ===================================================== alter database begin backup; shutdown immediate; ==no shutdown normal;==no shutdown transcational;==no shutdown abort;==yes database is in hot backup mode,db crashes now how to recover and open the database? =================================================================================== alter databse begin backup; shutdown abort; ORA-10873: file 1 needs to be either taken out of backup mode or media recovered ORA-01110: data file 1: 'E:\DATABASE\DATABASE\ORADATA\ORCL\SYSTEM01.DBF' solution: startup mount; alter database end backup; alter database open; how to check whether the database is in backup mode or not? =========================================================== select * from v$backup; how to take hot backup of database manually? ============================================ alter database begin backup; copy datafiles manually from original location to backup location alter database end backup; alter system switch logfile; alter system switch logfile; alter system switch logfile; copy archives from archive location to backup location. alter database backup controlfile to trace; (or) alter database backup controlfile to location; copy controlfile to backup location. How to check current_scn number of database? ============================================= select CURRENT_SCN from v$database; select dbms_flashback.get_system_change_number from dual; select timestamp_to_scn(sysdate) from dual; how to check datafile header scn number? ========================================= select name,CHECKPOINT_CHANGE# from v$datafile_header; when checkpoint will occur? ============================ alter system switch logfile; alter database begin backup; alter database end backup; alter system checkpoint;(manual checkpoint) shutdown immediate;(when the database is down) what will happen when checkpoint occurs? ========================================= scn of datafile header will update;
Views: 2214 Praveen Biyyapu
how to solve ORA-12560: TNS:protocol adapter error
 
01:26
windows+r services.msc oracleservicedbname start
Views: 3456 Praveen Biyyapu
TABLESPACE MANAGEMENT RENAME OR MOVE A DATAFILE
 
04:40
RENAME OR MOVE A DATAFILE (when there is space issue in os level file movement is required) ========================== 1)TABLESPACE SHOULD BE OFFLINE(when we move or rename a datafile users should not access) 2)FROM OS LEVEL DATAFILE COPY TO NEW LOCATION 3)SQL LEVEL RENAME THE DATAFILE TO NEW LOCATION 4)MAKE THE TABLESPACE ONLINE alter tablespace king offline; os level rename king01.dbf TO GOODKING01.dbf os level move the file to new location(KING02.DBF) alter tablespace king rename datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\KING01.DBF' to 'E:\DATABASE\DATABASE\ORADATA\ORCL\GOODKING01.DBF'; alter tablespace king rename datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\KING02.DBF' TO 'D:\ORADATA\KING02.DBF'; alter tablespace king online; HOW TO CHECK DATAFILES INFO IN PARTICULAR TABLESPACE ===================================================== COL FILE_NAME FOR A50 COL TABLESPACE_NAME FOR A20 select tablespace_name,file_name from dba_data_files where tablespace_name like '&tablespace_name';
Views: 844 Praveen Biyyapu
HOW TO DISPLAY AND SET SQLPLUS RUN TIME OPTIONS IN ORACLE
 
05:03
HOW TO DISPLAY AND SET SQLPLUS RUN TIME OPTIONS =============================================== SHOW ALL show feedback; show heading; show timing; show time; set feedback off; set heading off; set timing off; set time off; set feedback on; set heading on; set timing on; set time on;
Views: 558 Praveen Biyyapu
TABLESPACE MANAGEMENT CREATE TABLESPACE ALTER DATAFILE
 
03:34
How to check existing tablespace information in database ========================================================= select tablespace_name from dba_tablespaces; How to create a tablespace =============================== create tablespace king datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\KING01.DBF' size 10m; How to Resize the datafile ========================== alter database datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\KING01.DBF' resize 20m; Adding a datafile to a tablespace ================================= alter tablespace king add datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\KING02.DBF' size 10m; How to get the defintion of tablespace ====================================== set head off echo off select 'select dbms_metadata.get_ddl(''TABLESPACE'',''' || tablespace_name || ''') from dual;' from dba_tablespaces;
Views: 970 Praveen Biyyapu
TABLESPACE MANAGEMENT DATAFILE SIZE ENABLE DISABLE AUTOEXTEND ON
 
02:50
HOW TO ENABLE/DISABLE AUTOEXTEND ON FOR A DATAFILE ================================================== alter database datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\GOODKING01.DBF' autoextend on; HOW TO FIND THE SIZE OF A DATAFILE ================================== SELECT SUBSTR (df.NAME, 1, 50) file_name, df.bytes / 1024 / 1024 allocated_mb, ((df.bytes / 1024 / 1024) - NVL (SUM (dfs.bytes) / 1024 / 1024, 0)) used_mb, NVL (SUM (dfs.bytes) / 1024 / 1024, 0) free_space_mb FROM v$datafile df, dba_free_space dfs WHERE df.file# = dfs.file_id(+) GROUP BY dfs.file_id, df.NAME, df.file#, df.bytes ORDER BY file_name; set lines 180 pages 200 col tablespace_name for a20 col file_name for a55 select tablespace_name,file_name,autoextensible from dba_data_files;
Views: 1328 Praveen Biyyapu
how to start and stop oracle database
 
05:17
startup and shutdown modes of oracle database startup - it will startup database to read write mode. shutdown - normal shutdown. startup mount; -- maintenace mode. startup nomount; - it reads the pfile. alter database mount; - maintenance mode. alter database open; - it opens the database to read write mode. shutdown ========== alter database close; alter database dismount; shutdown; startup force; - it will shutdown and restart database (note: not recommende :)) it is like restart option in windows o/s select name,open_mode from v$database;
Views: 4487 Praveen Biyyapu
how to download oracle software
 
01:24
oracle, software, download, how, to , administration, dba, course
Views: 3075 Praveen Biyyapu
TABLESPACE MANAGEMENT DROP TABLESPACE REUSE DATAFILE DROP INCLUDING CONTENTS AND DATAFILES
 
03:48
HOW TO DROP TABLESPACE ====================== drop tablespce king; (datafile will not delete from o/s level) create tablespace king datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\KING01.DBF' reuse;(no need to give size) drop tablespace king including contents and datafiles;(datafile will delete from o/s level) newly created tablespace king with king01 datafile (got deleted from o/s level)
Views: 572 Praveen Biyyapu
How to bypass the recycling bin when dropping database objects
 
02:19
How to bypass the recycling bin when dropping database objects ========================================================== drop table tablename purge; how to check the original name of dropped objects in recyclebin =============================================================== select owner,original_name,type from dba_recyclebin; select original_name,type from recyclebin; how to check view on recyclebin =================================================== select table_name from dict where table_name like '%RECYCLE%';
Views: 162 Praveen Biyyapu
can we take hot backup when the database is in noarchive log mode
 
03:42
can we take hot backup when the database is in noarchive log mode? =================================================================== no archive log list; alter database begin backup; can we shutdown a database when it is in backup mode? ===================================================== alter database begin backup; shutdown immediate; ==no shutdown normal;==no shutdown transcational;==no shutdown abort;==yes database is in hot backup mode,db crashes now how to recover and open the database? =================================================================================== alter databse begin backup; shutdown abort; ORA-10873: file 1 needs to be either taken out of backup mode or media recovered ORA-01110: data file 1: 'E:\DATABASE\DATABASE\ORADATA\ORCL\SYSTEM01.DBF' solution: startup mount; alter database end backup; alter database open; how to check whether the database is in backup mode or not? =========================================================== select * from v$backup; how to take hot backup of database manually? ============================================ alter database begin backup; copy datafiles manually from original location to backup location alter database end backup; alter system switch logfile; alter system switch logfile; alter system switch logfile; copy archives from archive location to backup location. alter database backup controlfile to trace; (or) alter database backup controlfile to location; copy controlfile to backup location. How to check current_scn number of database? ============================================= select CURRENT_SCN from v$database; select dbms_flashback.get_system_change_number from dual; select timestamp_to_scn(sysdate) from dual; how to check datafile header scn number? ========================================= select name,CHECKPOINT_CHANGE# from v$datafile_header; when checkpoint will occur? ============================ alter system switch logfile; alter database begin backup; alter database end backup; alter system checkpoint;(manual checkpoint) shutdown immediate;(when the database is down) what will happen when checkpoint occurs? ========================================= scn of datafile header will update;
Views: 354 Praveen Biyyapu
HOW TO EXECUTE RMAN COMMANDS SCRIPT FROM OS LEVEL
 
05:54
HOW TO EXECUTE RMAN COMMANDS SCRIPT FROM OS LEVEL ================================================= rman target sys/oracle cmdfile rmancmd.txt HOW TO CONNECT TO RMAN (RECOVERY MANAGER) ========================================= rman target sys/oracle HOW TO CHECK RMAN CONFIGURATION ================================ show all; HOW TO CHECK STRUCTURE OF DATABASE schema IN RMAN =========================================== report schema; RMAN COMMANDS SCRIPT PREPARATION ================================= rmancmd.txt rman target sys/oracle cmdfile rmancmd.txt
Views: 741 Praveen Biyyapu
How to drop all of the objects in a user's recycling bin in oracle database
 
01:58
How to drop all of the objects in a user's recycling bin ========================================================== purge recyclebin how to check the original name of dropped objects in recyclebin =============================================================== select owner,original_name,type from dba_recyclebin; select original_name,type from recyclebin; how to check view on recyclebin =================================================== select table_name from dict where table_name like '%RECYCLE%';
Views: 286 Praveen Biyyapu
USER MANAGEMENT CREATE USER DROP USER   CASCADE
 
07:46
USER MANAGEMENT HOW TO CREATE A USER ===================== create user naveen identified by naveen; create user pavan identified by pavan default tablespace king; HOW TO DROP USER ================= drop user naveen; (it will work if no objects) drop user pavan cascade; HOW TO GRANT ORACLE PREDEFINED ROLES TO USER ============================================ grant connect,resource to naveen; select * from session_privs; set lines 180 pages 200 col username for a30 select username,default_tablespace,temporary_tablespace from dba_users where username like '&user';
Views: 445 Praveen Biyyapu
TABLESPACE MANAGEMENT READ ONLY READ WRITE LOGGING NOLOGGING OFFLINE ONLINE MODES
 
04:36
How to put tablespace in read only, read write, logging , nologging, online, offline =================================================================================== alter tablespace king read only; (we can only read the data(select will work)) alter tablespace king read write; (we can read and write data) alter tablespace king logging; (changes will record in redolog) alter tablespace king nologging; (changes will not record in redolog) alter tablespace king online; (everyone can access) alter tablespace king offline; (can't access) select tablespace_name,status,logging from dba_tablespaces;
Views: 734 Praveen Biyyapu
Oracle DBA Queries   Database status, uptime , SIZE OF DATABASE
 
02:50
oracle dba queries Startup time How large is the database Distribution of objects and data Which sachems are taking up all of the space Show the ten largest objects in the database
Views: 1802 Praveen Biyyapu
HOW TO DISABLE USER PASSWORD SENSITIVITY IN ORACLE 11G
 
04:55
HOW TO DISABLE USER PASSWORD SENSITIVITY IN ORACLE 11G ======================================================= show parameter sec_case_sensitive_logon alter system set sec_case_sensitive_logon=false; create user pavan identified by pavan; grant connect,resource to pavan;
Views: 331 Praveen Biyyapu
important files in oracle database
 
02:10
Important files in oracle database control file, data file , redolog file, spfile, dumpfiles, audit files select name from v$controlfile; select name from v$datafile; select member from v$logfile; show parameter spfile; show parameter dump; show parameter audit;
Views: 1094 Praveen Biyyapu
database is in hot backup mode,db crashes now how to recover and open the database
 
04:06
can we take hot backup when the database is in noarchive log mode? =================================================================== no archive log list; alter database begin backup; can we shutdown a database when it is in backup mode? ===================================================== alter database begin backup; shutdown immediate; ==no shutdown normal;==no shutdown transcational;==no shutdown abort;==yes database is in hot backup mode,db crashes now how to recover and open the database? =================================================================================== alter databse begin backup; shutdown abort; ORA-10873: file 1 needs to be either taken out of backup mode or media recovered ORA-01110: data file 1: 'E:\DATABASE\DATABASE\ORADATA\ORCL\SYSTEM01.DBF' solution: startup mount; alter database end backup; alter database open; how to check whether the database is in backup mode or not? =========================================================== select * from v$backup; how to take hot backup of database manually? ============================================ alter database begin backup; copy datafiles manually from original location to backup location alter database end backup; alter system switch logfile; alter system switch logfile; alter system switch logfile; copy archives from archive location to backup location. alter database backup controlfile to trace; (or) alter database backup controlfile to location; copy controlfile to backup location. How to check current_scn number of database? ============================================= select CURRENT_SCN from v$database; select dbms_flashback.get_system_change_number from dual; select timestamp_to_scn(sysdate) from dual; how to check datafile header scn number? ========================================= select name,CHECKPOINT_CHANGE# from v$datafile_header; when checkpoint will occur? ============================ alter system switch logfile; alter database begin backup; alter database end backup; alter system checkpoint;(manual checkpoint) shutdown immediate;(when the database is down) what will happen when checkpoint occurs? ========================================= scn of datafile header will update;
Views: 873 Praveen Biyyapu
HOW TO EXECUTE SQL AND SQLPLUS COMMANDS FROM EXTERNAL SCRIPT
 
04:10
HOW TO EXECUTE SQL AND SQLPLUS COMMANDS FROM EXTERNAL SCRIPT ============================================================ @"script location" start "script location" how to find name of the oracle database? ======================================== select name,open_mode from v$database; how to check oracle database version? ====================================== select version from v$instacne; select * from v$version; how to check database memory? ============================= select * from v$sga;
Views: 1958 Praveen Biyyapu
TABLESPACE MANAGEMENT BIGFILE TABLESPACE RESIZING TABLESPACE TEMPORARY TABLESPACE GROUP RENAMING TAB
 
03:52
HOW TO RENAME A TABLESPACE =========================== alter tablespace king rename to king1; 10G FEATURES ON TABLESPACES 1)HOW TO CREATE BIGFILE TABLESPACE ================================== create bigfile tablespace king_big datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\king_big.dbf' size 20m; 2)HOW TO RESIZE A BIGFILE TABLESPACE ==================================== alter tablespace king_big resize 40m; 3)HOW TO CREATE TEMPORARY TABLESPACE GROUP ========================================== create temporary tablespace king_temp tempfile 'E:\DATABASE\DATABASE\ORADATA\ORCL\king_temp.dbf' size 20m tablespace group group1; select * from dba_tablespace_groups;
Views: 823 Praveen Biyyapu
HOW TO ENABLE DISABLE ARCHIVE LOG MODE IN ORACLE 11G DATABASE
 
03:20
HOW TO ENABLE DISABLE ARCHIVE LOG MODE IN ORACLE 11G ==================================================== archive log list; show parameter log_archive_dest_1; show parameter recovery; Enable archive log mode: ======================== shutdown immediate; startup mount; alter database archivelog; alter database open; Disable archive log mode: ========================= shutdown immediate; startup mount; alter database noarchivelog; alter database open;
Views: 1086 Praveen Biyyapu
How to delete a specific database object from the recycle bin in oracle database
 
03:34
How to delete a specific database object from the recycle bin in oracle database ========================================================== purge table schema.tablename; (dba using sys user) purge table tablename (user) how to check the original name of dropped objects in recyclebin =============================================================== select owner,original_name,type from dba_recyclebin; select original_name,type from recyclebin; how to check view on recyclebin =================================================== select table_name from dict where table_name like '%RECYCLE%';
Views: 325 Praveen Biyyapu
What happens to transactions when the sqlplus program is closed
 
02:44
What happens to transactions when the sqlplus program is closed =============================================================== create table fruit(sno number); insert into fruit values (1); insert into fruit values (2); select * from fruit; quit; conn naveen/naveen insert into fruit values (3); insert into fruit values (4); select * from fruit; close the cmd promt;
Views: 173 Praveen Biyyapu
USER MANAGEMENT HOW TO CREATE  GRANT REVOKE PROXY USER
 
07:43
USER MANAGEMENT-HOW TO CREATE PROXY USER GRANT/REVOKE PROXY =========================================================== proxy user is a user that is allowed to "connect on behalf of another user" create user proxy1 identified by proxy1; create user proxy2 identified by proxy2; grant connect to proxy1,proxy2;(only create session privilege) alter user naveen grant connect through proxy1, proxy2; alter user proxy1 grant connect through proxy2; alter user naveen revoke connect through proxy1,proxy2; alter user proxy1 revoke connect through proxy2; conn proxy1[naveen]/proxy1 conn proxy2[naveen]/proxy2 conn proxy2[proxy1]/proxy2 set lines 180 pages 200 col a20 for proxy select * from proxy_users; (proxy_users -- data dictionary view) select sys_context('USERENV','PROXY_USER') from dual;
Views: 311 Praveen Biyyapu
How to drop all objects in the recycle bin, regardless of owner in oracle database
 
06:29
How to drop all objects in the recycle bin, regardless of owner in oracle database ================================================================================== purge dba_recyclebin how to check the original name of dropped objects in recyclebin =============================================================== select owner,original_name,type from dba_recyclebin; how to check view on recyclebin =================================================== select table_name from dict where table_name like '%RECYCLE%';
Views: 289 Praveen Biyyapu
HOW TO DOWNLOAD AND INSTALL ORACLE 11G AND CREATE DATABASE ON WINDOWS 10
 
09:13
HOW TO DOWNLOAD ORACLE SOFTWARE AND CREATE DATABASE
Views: 5434 Praveen Biyyapu
USER MANAGEMENT HOW TO LOCK UNLOCK EXPIRE USER ACCOUNT IN ORACLE
 
06:51
HOW TO LOCK_UNLOCK_EXPIRE USER ACCOUNT IN ORACLE ================================================= alter user naveen account lock; alter user naveen account lock password expire; alter user naveen account unlock; alter user naveen account unlock password noexpire; alter user naveen identified by newpassword; HOW TO RESET USER PASSWORD TO PREVIOUS EXPIRED PASSWORD (Admin related) ======================================================= select name,password from user$ where name='NAVEEN'; alter user naveen identified by values '&encrypted_values'; HOW TO CHANGE USER PASSWORD FROM USER SIDE ===================================== password
Views: 694 Praveen Biyyapu
TABLESPACE MANAGEMENT GRANT REVOKE QUOTAS ON TABLESPACE FOR USERS
 
06:20
How to grant/revoke quota for Users on Tablespace ================================================= create tablespace test datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\test.dbf' size 10m;---(tablespace created) create user naveen identified by naveen;(user created) alter user naveen quota 2m on test;(granted 2m on test tablespace) alter user naveen quota unlimited on test;(granted unlimited on test) How to revoke unlimited tablespace from user ============================================= revoke unlimited tablespace from &user; How to check the views on quotas ================================= select table_name from dict where table_name like '%QUOTA%'; Queries for tablespace quotas on all users ========================================== set lines 180 set pages 200 col tablespace_name for a30 col username for a20 select * from user_ts_quotas; set lines 180 set pages 200 col tablespace_name for a30 col username for a20 select * from dba_ts_quotas;
Views: 590 Praveen Biyyapu
How to use the spool command in Sqlplus
 
06:08
How to use the spool command in Sqlplus ======================================== spool filelocation how to check currently spooling or not in sqlplus =============================================== spool how to append spool output to an existing file =============================================== spool filelocation append how to spool os level commands ============================== host
Views: 1460 Praveen Biyyapu
How to drop an object, and then recover it from the Oracle recycle bin
 
02:53
How to drop an object, and then recover it from the Oracle recycle bin ========================================================== select base_object from recyclebin; flashback table tablename to before drop; create table ============= create table fish as select * from tab; insert data into table ====================== insert into fish select * from tab; insert into fish select * from fish; drop table =========== drop table fish; how to recover it from recyclebin ================================== flashback table fish to before drop;
Views: 269 Praveen Biyyapu
can we shutdown a database when it is in backup mode
 
02:28
can we take hot backup when the database is in noarchive log mode? =================================================================== no archive log list; alter database begin backup; can we shutdown a database when it is in backup mode? ===================================================== alter database begin backup; shutdown immediate; ==no shutdown normal;==no shutdown transcational;==no shutdown abort;==yes database is in hot backup mode,db crashes now how to recover and open the database? =================================================================================== alter databse begin backup; shutdown abort; ORA-10873: file 1 needs to be either taken out of backup mode or media recovered ORA-01110: data file 1: 'E:\DATABASE\DATABASE\ORADATA\ORCL\SYSTEM01.DBF' solution: startup mount; alter database end backup; alter database open; how to check whether the database is in backup mode or not? =========================================================== select * from v$backup; how to take hot backup of database manually? ============================================ alter database begin backup; copy datafiles manually from original location to backup location alter database end backup; alter system switch logfile; alter system switch logfile; alter system switch logfile; copy archives from archive location to backup location. alter database backup controlfile to trace; (or) alter database backup controlfile to location; copy controlfile to backup location. How to check current_scn number of database? ============================================= select CURRENT_SCN from v$database; select dbms_flashback.get_system_change_number from dual; select timestamp_to_scn(sysdate) from dual; how to check datafile header scn number? ========================================= select name,CHECKPOINT_CHANGE# from v$datafile_header; when checkpoint will occur? ============================ alter system switch logfile; alter database begin backup; alter database end backup; alter system checkpoint;(manual checkpoint) shutdown immediate;(when the database is down) what will happen when checkpoint occurs? ========================================= scn of datafile header will update;
Views: 346 Praveen Biyyapu
HOW TO CHANGE THE SQLPROMPT IN ORACLE
 
02:15
HOW TO CHANGE THE SQLPROMPT =========================== show sqlprompt set sqlprompt _USER'@'_CONNECT_IDENTIFIER
Views: 179 Praveen Biyyapu
Transactions are automatically rolled back when the database crashes
 
07:35
Transactions are automatically rolled back when the database crashes ==================================================================== create naveen/naveen create table burger(sno number); insert into burger values (1); insert into burger values (2); commit; rollback; shutdown immediate; net start oracleserviceorcl create naveen/naveen insert into burger values (3); insert into burger values (4); open another session ===================== shutdown abort;startup or startup force; conn naveen/naveen select * from burger;
Views: 220 Praveen Biyyapu