Documente Academic
Documente Profesional
Documente Cultură
Every Oracle Database has a control file, which is a small binary file that
records the physical structure of the database. The control file includes:
The control file must be available for writing by the Oracle Database server
whenever the database is open. Without the control file, the database cannot
be mounted and recovery is difficult.
The control file of an Oracle Database is created at the same time as the
database. By default, at least one copy of the control file is created during
database creation. On some operating systems the default is to create
multiple copies. You should create two or more copies of the control file
during database creation. You can also create control files later, if you lose
control files or want to change particular settings in the control files.
2.
3.
Click on the ADD button. This will open the Create New Data
Source dialog box, shown below.
4.
Look for the driver titled SQL Native Client. If this driver is not listed in
the window and the SQL Server is, go to Section 2. Configure SQL
Server DSN.
5.
Double-click on the driver SQL Native Client. The Create a New Data
Source to SQL Server Setup dialog box will open, as shown below.
6.
In the Name text box, enter a name for this DSN. You will have to
enter this name in WebAccess Project Node.
For example, bwSQLData
7.
In the Server combo-box, you must enter the name of the computer
running SQL server.
If SQL Server is installed on the Project Node, Select (local).
Otherwise, select the computer with the SQL Server. (Note - if you do
not see the other computer listed, you should try to Register SQL
server as described earlier).
8.
9.
Figure 23.3 Use SQL Server Authentication and SQL Server login ID and
Password.
Select Next after you have entered the password for the sa account. (or
whatever account you know will work).
10.
Select Next.
11.
12.
13.
Select OK three times (one for each dialog box) to exit ODBC
configuration.
15.
You should remember the DSN name, because this is what you will
tell WebAccess to use. In this example the ODBC DSN isbwSQLData.
It could have been any name that you used, just remember it.
16. Next and last step is to tell WebAccess to use the DSN. See
Section 20.8.1 Create an ODBC Log Data Source. and 20.8.2 Select
new ODBC Log Data Source. And be sure to Select the ODBC Data
source
DDL
Data Definition Language (DDL) statements are used to define the database structure or
schema. Some examples:
o
TRUNCATE - remove all records from a table, including all spaces allocated for the
records are removed
DML
Data Manipulation Language (DML) statements are used for managing data within schema
objects. Some examples:
o
DELETE - deletes all records from a table, the space for the records remain
DCL
Data Control Language (DCL) statements. Some examples:
o
TCL
Transaction Control (TCL) statements are used to manage the changes made by DML
statements. It allows statements to be grouped together into logical transactions.
o
SAVEPOINT - identify a point in a transaction to which you can later roll back
SET TRANSACTION - Change transaction options like isolation level and what rollback
segment to use
SQLupDifference between TRUNCATE, DELETE and DROP commands
DML commands can't be rollback when a DDL command is executed immediately after a DML. DDL after
DML means "auto commit". The changes will return on disk not on the buffer. If the changes return on
the buffer it is possible to rollback not from the disk.
DEAR SIR,
Let me tell you the difference between DDL,DML,TCL and DCL:
DDL COMMANDS:
CREATE,ALTER,DROP AND TRUNCATE ARE CALLED DDL COMMANDS. They are called Data Definition since
they are used for defining the data. That is the structure of the data is known through these DDL
commands.
DML COMMANDS:
DML commands are used for data manipulation. Some of the DML commands
insert,select,update,delete etc. Even though select is not exactly a DML language command oracle still
recommends you to consider SELECT as an DML command.
TCL:
For revoking the transactions and to make the data commit to the database we use TCL. Some of the
TCL commands are:
1. ROLLBACK
2. COMMIT
ROLLBACK is used for revoking the transactions until last commit.
COMMIT is used for commiting the transactions to the database.
Once we commit we cannot rollback. Once we rollback we cannot commit.
Commit and Rollback are generally used to commit or revoke the transactions that are with regard to
DML commands.
DCL:
Data Control Language is used for the control of data. That is a user can access any data based on the
priveleges given to him. This is done through DATA CONTROL LANGUAGE. Some of the DCL Commands
are:
1. GRANT
2. REVOKE.
"THESE ARE REFERRED FROM THE BOOK 'ORACLE 9i complete Reference' written by Kooch and George.
This is an Oracle Press Release." If you want further details about this topic I can give you. Since I don't
know your e-mail address I am not able to send you the complete information. I will give my e-mail
address. That is, satish_sathya1983@yahoo.co.in . You can send your email address to my email and i
will discuss about this topic with you. If you can send me your email address I can send you an
complete attachment of this topic.