Professional Documents
Culture Documents
----------------------------------
solution:
Solution:
solution:
start-> run -> services.msc -> right click on the oracle services -> start
c:\>lsnrctl status
c:\>lsnrctl stop
c:\>lsnrctl start
File:
-----
* A file is a collection of data stored in one unit, identified by a filename.
File System:
------------
* A filesystem is the methods and data structures that an operating system uses to
keep track of files on a disk or partition;
* This is the way the files are organized on the disk.
4. Integrity Problems
6. Security Problems
Database :
Database Model:
----------------
* A database model is a type of data model that determines the logical structure of
a database and fundamentally determines in which manner data can be stored,
organized and manipulated.
The most popular example of a database model is the relational model, which uses a
table-based format.
* The data are stored as records which are connected to one another through links.
A record is a collection of fields, with each field containing only one value.
* Complex structure.
Relational model:
-----------------
oracle -> sqldeveloper
Relational operators:
--------------------
< less than
> greater than
<= less than or equal to
= equal to
!= not equal to
>= Greater than or equal to
Logical operators:
------------------
and
or
not
and
a b c=a*b
0 0 0
0 1 0
1 0 0
1 1 1
Note : if all input values are true then output is true else false.
or
a b c=a+b
0 0 0
0 1 1
1 0 1
1 1 1
Note : if any one input values are true then output is true else false.
not
a c
0 1
1 0
Special operators:
-----------------
in
not in
between
not between
like
not like
is null
is not null
Set operators:
-------------
union
union all
intersect
minus
Assignment operators:
----------------------
:=
a:=100;
b:=200;
c:=a+b;
Concatenation operators:
------------------------
|| - pipeline char
10 + 20 => 30
Ansi syntax
- Ansi syntax
- oracle syntax
nchar(40) - fixed length char - 2 bytes - Unicode -fixed length char - ansi syntax
Ansi syntax
Number datatypes: (0 to 9)
----------------------------
number(10)
number(10,2) => 9999999.99
or
INTEGER = 4 bytes => 32 bits
Boolean Datatypes:
----------------
Boolean - True /false