Friday, September 30, 2011

tnsnames.ora

sample tnsnames.ora

---------------------------------------------------------------------------------------------------

# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xp)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )


---------------------------------------------------------------------------------------------------



here my DB name is "ORCL"
host is "XP"

The tnsnames.ora file is used to store the net services names. The deafault location is %ORACLE_HOME\network\admin on windows and $ORACLE_HOME/netwrok/admin/on UNIX.

any mistake is there or u wanna give any suggestion so please write to me ............

Thursday, September 22, 2011

Configuring Network settings on Oracle VM






any mistake is there or u wanna give any suggestion so please write to me ............

Wednesday, August 17, 2011

how to create tablesape in oracle

Create tablespace
SQL> create tablesapce tablesape_name
        datafile 'datafilepath'
        size 40m
        autoextend on
        next 32 m
        extend management local;


Create Temporary tablespce 
SQL> create temporary tablesapce tablesape_name
        datafile 'datafilepath'
        size 40m
        autoextend on
        next 32 m

        extend management local;

(temporary tablespce can have only temp files not datafiles )





Looking forward for your suggestions.. please feel free to write to me.. Your help would definitely help to improve our blog. Chetan Yadav