How can you execute a script file in SQLPLUS?

1 Answer

Answer :

To execute a script file in SQLPlus, type @ and then the file name.

Related questions

Description : You want to save the output of an Oracle script from sqlplus. How would you do it?

Last Answer : spool script_name.txt select * from your_oracle_operations; spool off;

Description : How can I dump an oracle schema to a LOCAL file over a network connection from sqlplus?

Last Answer : By connecting and spooling are you excluding the exp/imp commands (or expdb/impdb in 10g)?

Description : How can you check the structure of a table from sqlplus?

Last Answer : DESCRIBE or DESC

Description : How can you execute the user defined triggers in forms 3.0 ?

Last Answer : Execute Trigger (trigger-name)

Description : To execute row from being displayed that still use column in the row which property can be used?

Last Answer : Format trigger.

Description : An open form can not be execute the call_form procedure if you chain of called forms has been initiated by another open form?

Last Answer : True

Description : What are the minimum parameters should exist in the parameter file (init.ora) ?

Last Answer : DB NAME - Must set to a text string of no more than 8 characters and it will be stored inside the datafiles, redo log files and control files and control ... an ORACLE instance acquires at database startup. Also optionally LICENSE_MAX_SESSIONS,LICENSE_SESSION_WARNING and LICENSE_MAX_USERS.

Description : What is a trace file and how is it created ?

Last Answer : Each server and background process can write an associated trace file. When an internal error is detected by a process or user process, it dumps information about the error to its trace. This can be used for tuning the database.

Description : What view would you use to look at the size of a data file?

Last Answer : DBA_DATA_FILES

Description : How do you resize a data file?

Last Answer : ALTER DATABASE DATAFILE RESIZE ;

Description : How do you add a data file to a tablespace

Last Answer : ALTER TABLESPACE ADD DATAFILE SIZE

Description : What command would you use to create a backup control file?

Last Answer : Alter database backup control file to trace.

Description : How do you switch from an init.ora file to a spfile?

Last Answer : Issue the create spfile from pfile command.

Description : What is the use of control file?

Last Answer : When an instance of an Oracle database is started, its control file is used to identify the database and redo log files that must be opened for database operation to proceed. It is also used in database recovery.

Description : What does a control file contains?

Last Answer : Database name - Names and locations of a database's files and redolog files. - Time stamp of database creation.

Description : Table Space,Data Files,Parameter File, Control Files

Last Answer : Table Space :: The table space is useful for storing the data in the database.When a database is created two table spaces are created. a) System Table space :: This data file stores all the tables ... They contain the Db name, name and location of dbs, data files ,redo log files and time stamp.

Description : Explain the following file extension related to library?

Last Answer : .pll,.lib,.pld The library pll files is a portable design file comparable to an fmb form file The library lib file is a plat form specific, generated library file comparable to a fmx form file The pld file is Txt format file and can be used for source controlling your library files Parameter

Description : Write the Abbreviation for the following File Extension 1. FMB 2. MMB 3. PLL?

Last Answer : FMB ----- Form Module Binary. MMB ----- Menu Module Binary. PLL ------ PL/SQL Library Module Binary.

Description : What is a Control file ?

Last Answer : Database overall physical architecture is maintained in a file called control file. It will be used to maintain internal consistency and guide recovery operations. Multiple copies of control files are advisable.

Description : What is meant by Redo Log file mirroring ? How it can be achieved?

Last Answer : Process of having a copy of redo log files is called mirroring. This can be achieved by creating group of log files together, so that LGWR will automatically writes them to all the members ... . If any one group fails then database automatically switch over to next group. It degrades performance.

Description : What is the use of FILE option in IMP command ?

Last Answer : The name of the file from which import should be performed.

Description : It is possible to use raw devices as data files and what is the advantages over file. system files ?

Last Answer : Yes. The advantages over file system files. I/O will be improved because Oracle is bye-passing the kernnel which writing into disk. Disk Corruption will be very less.

Description : How can a text file be attached to a report while creating in the report writer?

Last Answer : By using the link file property in the layout boiler plate property sheet.

Description : What use of command line parameter cmd file?

Last Answer : It is a command line argument that allows you to specify a file that contain a set of arguments for r20run.

Description : How does one add users to a password file? (for DBA

Last Answer : One can select from the SYS.V_$PWFILE_USERS view to see which users are listed in the password file. New users can be added to the password file by granting them SYSDBA or SYSOPER privileges, or by using the orapwd utility. GRANT SYSDBA TO scott;

Description : How does one create a password file? (for DBA

Last Answer : The Oracle Password File ($ORACLE_HOME/dbs/orapw or orapwSID) stores passwords for users with administrative privileges. One needs to create a password files before remote administrators (like OEM) will be ... visible in the process table of many systems. Administrators needs to be aware of this!

Description : What are the different file extensions that are created by oracle reports?

Last Answer : Rep file and Rdf file.

Description : How can we specify the Archived log file name format and destination?

Last Answer : By setting the following values in init.ora file. LOG_ARCHIVE_FORMAT = arch %S/s/T/tarc (%S - Log sequence number and is zero left paded, %s - Log sequence number not padded. %T - Thread number lef ... not padded). The file name created is arch 0001 are if %S is used. LOG_ARCHIVE_DEST = path.

Description : What does a Control file Contain ?

Last Answer : A Control file records the physical structure of the database. It contains the following information. Database Name Names and locations of a database's files and redolog files. Time stamp of database creation.

Description : Explain the relationship among Database, Tablespace and Data file.?

Last Answer : Each databases logically divided into one or more tablespaces one or more data files are explicitly created for each tablespace

Description : What is the use of Control File ?

Last Answer : When an instance of an ORACLE database is started, its control file is used to identify the database and redo log files that must be opened for database operation to proceed. It is also used in database recovery.

Description : Explain the relationship among database, tablespace and data file.

Last Answer : Each databases logically divided into one or more tablespaces one or more data files are explicitly created for each tablespace.

Description : What is File Manager?

Last Answer : It is a program module, which manages the allocation of space on disk storage and data structure used to represent information stored on a disk.

Description : What do you mean by flat file database?

Last Answer : It is a database in which there are no programs or user access languages. It has no cross-file capabilities but is user-friendly and provides user-interface management.

Description : Disadvantage in File Processing System?

Last Answer : ∙ Data redundancy & inconsistency. ∙ Difficult in accessing data. ∙ Data isolation. ∙ Data integrity. ∙ Concurrent access is not possible. ∙ Security Problems.

Description : When you start an Oracle DB which file is accessed first?

Last Answer : Oracle first opens and reads the initialization parameter file (init.ora) [oracle@hostname ~]$ls -la $ORACLE_HOME/dbs/initDB1_SID.ora -rw-r--r-- 1 oracle oinstall 1023 May 10 19:27 /u01/app/oracle/product/ ... 1 0 12:59 ? 00:00:05 ora_pmon_DB1_SID oracle 6779 1 0 12:59 ? 00:00:06 ora_smon_DB1_SID

Description : What information is stored in Control File?

Last Answer : Oracle Database must have at least one control file. It's a binary file contains some of the following information: ▪ The database name and unique ID ▪ The timestamp of database creation ... app/oracle/oradata/DB1_SID /control01.ctl, /u01/app/oracl e/flash_recovery_area/DB1_SID/c ontrol02.ctl

Description : What file will you use to establish Oracle connections from a remote client?

Last Answer : tnsnames.ora

Description : Which file types should an upload script disallow?

Last Answer : I would say that you shouldn’t be blocking file types. You should be allowing them. You are asking for a nightmare.

Description : Why not execute a convicted (death penalty) person, the day after the sentencing?

Last Answer : They have to allow time for appeals. Many convicted persons have been freed after years on death row when their conviction is overturned.

Description : Why not just execute the prisoners kept at Gitmo?

Last Answer : Presumably because the United States still wants to project the illusion of at least a modicum of moral standing to the rest of the world.

Description : Would this be a more or less humane way for the U.S. to execute prisoners? (Details Inside)

Last Answer : Purely for poetic purposes, I’d choose hemlock.

Description : Why not execute by OD on one's drug of choice?

Last Answer : answer:I think we should end it all together. We have intrinsic moral and values and at the end of the day we may want to portray that we are like the lion king but life would be extremely different ... eaters. Also animals don't have a place in the kingdom of heaven may explain the free for all.

Description : What are the target muscles, synergist muscles, and stabilizer muscles used to execute a volleyball jump serve?

Last Answer : I dont have a clue

Description : State of Utah uses firing squad to execute a killer. any comments?

Last Answer : All methods of capital punishment are very distressing. I’m from PA so Utah seems like a very strange place to begin with. We apparently have the death penalty but according to deathpenaltyinfo.org, the state has only executed three people since 1976. Super creepy. At least he got to choose, huh?

Description : External Link to PHP module execute twice?

Last Answer : answer:I'm not sure I understand the question correctly, but if I do: it sounds like whatever program you're embedding your link in ( email or word document ) is loading the URL more than once. It' ... has been moved, and only raises an error if the appropriate row can't be found in either table.

Description : Repetitive CNC machine operations conveniently performing and execute with onecommand instead of programming of series of individual move called ….. a.Common Cycle b.Incremental Programming c.Canned Cycle d.None of the above

Last Answer : c.Canned Cycle

Description : ……… is a group of words or coded instruction for the NC/CNC system to execute aparticular movement. a.Sequence b.Address c.Code d.Block

Last Answer : d.Block