Forum newsfeeds
Forum Newsfeeds


Sites for Teachers

Sites for Teachers


Go Back   UsingEnglish.com ESL Forum > Learning English > Editing & Writing Topics
Register FAQDonate Members List Mark Forums Read Tags

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-Mar-2008, 06:57
Newbie
 
Join Date: Mar 2008
Country: pakistan
Location: karachi
First Language: urdu
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
fahimaamir is an unknown quantity at this point
Question check grammer of my pragraph

sir
Please check these material also an correct.
No check code check only my description that I wrote
1.)

Table
Table is a set of data elements that is organized in row and column the columns. The columns are identified by name is called field, and the row are identified by value appearing in particulars column subset is call record. Every tables link with each other by candidate key.

Create Degreedim table


This flowing code create
DEGREEDIM table that saved the department and degree information

CODE :

CREATE TABLE DEGREEDIM
( "DEGDEPT" VARCHAR2(99 BYTE), "DEGSNO" NUMBER NOT NULL ENABLE, "DEGNAME" VARCHAR2(99 BYTE),


******************************

2.)

Constraint
Constraint are table attribute used to define rules on the type of data value allowed within specified column by enforcing these rules within the database, you restrict to a user against incorrect data being added to the database.

********************
3.)

Sequence
A sequence is an object in oracle that is use to generate a number sequence, that sequence provide the unique number for primary key


MDEG SequenceThis flowing code generate the unique number sequencecodeREM START MFAFORBI MDEGCREATE SEQUENCE "MFAFORBI"."MDEG" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 41 CACHE 20 NOORDER NOCYCLE ;REM END MFAFORBI MDEG


*********************************
4.)

Trigger
Trigger is special kind of stored procedure that execute automatically, when a user attempt the specified insertion, update, or delete statement.
There are two type of trigger.
  • Before (run before table affection)
  • After (run after table affection)


Create
DTTR Trigger

This flowing code gets a unique number from Mdeg sequence that use as primary key in
DEGREEDIM table.

CODE :

CREATE OR REPLACE TRIGGER "MFAFORBI"."DTTR"
BEFORE INSERT ON DEGREEDIM FOR EACH ROW BEGINSELECT MDEG.NEXTVAL INTO :NEW.DEGSNO FROM DUAL;END;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 28-Mar-2008, 19:19
Moderator
 
Join Date: Oct 2006
Country: UK
Location: UK
First Language: English
Posts: 11,236
Thanks: 1
Thanked 1,131 Times in 1,088 Posts
Anglika has much to be proud ofAnglika has much to be proud ofAnglika has much to be proud ofAnglika has much to be proud ofAnglika has much to be proud ofAnglika has much to be proud ofAnglika has much to be proud ofAnglika has much to be proud ofAnglika has much to be proud of
Default Re: check grammer of my pragraph

Quote:
Originally Posted by fahimaamir View Post
sir
Please check these material also an correct.
No check code check only my description that I wrote
1.)

Table
"Table" is a set of data elements that is organized in rows and columns.
The columns are identified by name and are the fields; the rows are identified by values appearing in specific column subsets are are called the records. The tables are linked with each other by candidate key.

Create Degreedim table


This flowing code creates a
DEGREEDIM table in which is saved the department and degree information

CODE :

CREATE TABLE DEGREEDIM
( "DEGDEPT" VARCHAR2(99 BYTE), "DEGSNO" NUMBER NOT NULL ENABLE, "DEGNAME" VARCHAR2(99 BYTE),


******************************

2.)

Constraint
"Constraint" is the table attribute used to define rules on the type of data value allowed within specified columns. By enforcing these rules within the database, you restrict to a user, preventing incorrect data being added to the database.

********************
3.)

Sequence
A "sequence" is an object in Oracle that is used to generate a number sequence. This sequence provides the unique number for the primary key


MDEG SequenceThis flowing code generate the unique number sequencecodeREM START MFAFORBI MDEGCREATE SEQUENCE "MFAFORBI"."MDEG" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 41 CACHE 20 NOORDER NOCYCLE ;REM END MFAFORBI MDEG


*********************************
4.)

Trigger
"Trigger" is a special kind of stored procedure that executes automatically when a user attempts the specified insertion or update, or tries to delete a statement.
There are two types of trigger.
  • Before (run before table affection)
  • After (run after table affection)


Create
DTTR Trigger

This flowing code gets a unique number from Mdeg sequence that is used as primary key in the
DEGREEDIM table.

CODE :

CREATE OR REPLACE TRIGGER "MFAFORBI"."DTTR"
BEFORE INSERT ON DEGREEDIM FOR EACH ROW BEGINSELECT MDEG.NEXTVAL INTO :NEW.DEGSNO FROM DUAL;END;
.

Some sentences were very obscure. Check carefully that you understand my suggested alterations.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
check grammer ashok.amlhyd Ask a Teacher 1 08-Jan-2008 07:59
pls check my essay grammer and puncuation Need_help Editing & Writing Topics 1 27-Mar-2006 05:04
Email Grammer - please check TheIce Editing & Writing Topics 2 20-Mar-2006 16:01
Grammer check rupali.ahuja Ask a Teacher 1 20-Jul-2005 01:58
please check the grammer Unregistered Ask a Teacher 2 23-Feb-2005 08:03


All times are GMT. The time now is 03:13.



vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright © 2002 - 2008 UsingEnglish.com