IT2002 Database Technology and Management
2008/2009 Semester II
1. Connection to SyBase Database (sundbl)
Follow these instructions to connect to the Sybase Database server from the Lab computers:
2. Change Password
You will have to change your password since this
is the first time you're logging into the Sybase server. Please change
your password by using this command in the SQL window:
GRANT CONNECT TO your_login
IDENTIFIED BY new_password
Note1: replace your_login and new_password accordingly with your
own login and your new password.
Note2: Enclose new_password in single quotes: Eg. if your new password is
hello, you must write
'hello'
3. You can start writing your SQL code!
The exercises for the SQL labs are already published in the IVLE workbin.
4. How to check your tables
After running the CREATE TABLE commands, you can see which tables you have
with the following command:
SELECT name
FROM sysobjects
WHERE type = 'U' AND uid = user_id('put_your_login_here');
We will use a demo database which models a bank application.
You can access Sybase from outside the lab, in order to prepare the exercises. There are two methods:
Post your questions to the IVLE Forum.
Have fun with SQL!