itis5160: applied database. connect to the oracle database read the wiki page at –

10
ITIS5160: Applied Database

Upload: dwayne-ramsey

Post on 03-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –

ITIS5160: Applied Database

Page 2: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –

Connect to the Oracle database

• Read the wiki page at– https://cci-wiki01.uncc.edu/node/247

• Download and install the client side XenApp of citrix (for windows, the file name is ica32web)

• User name: your 49er account• Password(default): qwe123

Page 3: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –

Screen Shots

• I have tested both IE and Firefox• Using IE if firefox, chrome or safari fails• Please install Java Run time • Use IE to open – http://www.uncc.edu/citrix

Page 4: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –
Page 5: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –

Click “CCI” Directory

Page 6: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –

Click “SQL-Developer”

Page 7: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –

• Now the citrix client will connect to the server• Oracle will be loaded at the remote side• Refer back to the wiki page for the step-by-

step instructions for logging in to the system• Be careful of the server host name

Page 8: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –
Page 9: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –

Tasks

• CREATE TABLE - creates a new table • ALTER TABLE - modifies a table • DROP TABLE - deletes a table • CREATE INDEX - creates an index (search key)• DROP INDEX - deletes an index• SELECT - extracts data from a database• UPDATE - updates data in a database• DELETE - deletes data from a database• INSERT INTO - inserts new data into a database

Page 10: ITIS5160: Applied Database. Connect to the Oracle database Read the wiki page at –

Raghu Ramakrishnan

Example Instances

sid sname rating age

22 dustin 7 45.0

31 lubber 8 55.558 rusty 10 35.0

sid sname rating age28 yuppy 9 35.031 lubber 8 55.544 guppy 5 35.058 rusty 10 35.0

sid bid day

22 101 10/10/9658 103 11/12/96

R1 S1

S2

• We will use these instances of the Sailors and Reserves relations in our examples.

bid bname color

101 interlake blue

102 interlake red

103 clipper green

104 marine red

B1