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

Post on 03-Jan-2016

214 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

ITIS5160: Applied Database

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

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

Click “CCI” Directory

Click “SQL-Developer”

• 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

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

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

top related