Friday, July 10, 2009

Oracle Tutorial Part 2

Now we are going to connect to SQL Plus.

Using Window Vista, you will select programs->oraclehome1->application development->sql plus. Your console will open up and you will be prompted for a login and password. We need to login as the administrator the first time so you should input System as the login, and admin as the password. That is because we changed the password to admin when we installed the software. After you login you should see SQL>

To create a user you will type:

SQL>CREATE USER gdias IDENTIFIED BY greg;

You should always end your statements with a semicolin. If you see "User created" then you successfully created a new user with the login of gdias and password of greg.

We want to give this user full access and grant him DBA access.

Input this command to give the user DBA access.

SQL>GRANT DBA TO gdias;

You should see "Grant Succeeded".

Now we want to use the new user that we just created so we are going to connect to that database using the new username and password.

Type this command:

SQL>CONNECT gdias/greg;

Now you are connected with the new user.

Go To Part 3

1 comments:

Rose July 11, 2009 11:38 AM  

guest blogger invitation

Hello,

This is Rose writing from www.huliq.com. I visited your blog and liked your content.

Would you be interested to send us a guest post on any of the issues related to the topics that you cover in your blog. We will publish it in our site www.huliq.com

In return with each guest blog we will give one link in the author's byline back to your blog. We only ask that the guest post ( we prefer it be a news coverage, sources can be Google News, CNN, MSNBC, Yahoo News, BBC and others) be a unique story and not be published in your blog.

HULIQ is indexed by Google News and Google requires that the length of the unique news is at least 5 paragraphs. We desire it to be at least 6 paragraphs if possible. And that all need to be a unique content. Once you send us a new story totally unique we will immediately publish it with you link in it, and within 15 minutes it should be indexed by Google News.

Also, please structure author byline as follows:

author's name:
author's e-mail:
author's blog url:

Please let me know if you may have any questions about www.huliq.com.

If you want to consult the topic with me first that's perfectly fine as well.

Many thanks
ruzik.mail@gmail.com