It is currently Tue Jul 22, 2025 3:03 pm



Reply to topic  [ 8 posts ] 
SQL 
Author Message
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 2:17 pm
Posts: 7737
Location: Centre of the sun
Reply with quote
Post SQL
I want to practice SQL over xmas on my home PC. So far ive been using SQL*Plus on the computers at university.

I downloaded Oracle 10g on my PC and tried logging onto SQL*Plus to no avail. Its just not that simple.

Do any of you guys know how to get something based on SQL on my PC so i can practice querying?

_________________
"Well a very, very hevate, ah, heavy duh burtation tonight. We had a very derrist derrison, bite, let's go ahead and terrist teysond those fullabit who have the pit." - Serene Branson


Tue Dec 06, 2005 11:39 am
Profile
King
User avatar

Joined: Wed Apr 16, 2003 2:18 pm
Posts: 1976
Location: Sexy Town
Reply with quote
Post 
Try downloading Mysql.

http://www.mysql.com/

Although Im not sure I understand you full dilema.

You have some databases at your college in SQL*Plus that you want to move to your home pc? If so, export your SQL*Plus database into a text file then upload it into your pc.

_________________
Contrary to popular belief, America is not a democracy, it is a Chucktatorship.
Image


Tue Dec 06, 2005 1:51 pm
Profile ICQ YIM
Felix Rex
User avatar

Joined: Fri Mar 28, 2003 6:01 pm
Posts: 16701
Location: On a slope
Reply with quote
Post 
you said you tried "logging into sql*plus)? What's sql*plus? Some sort of db front end? If that's what you're looking for, there are a ton of front-ends that'll work with mysql and oracle.

_________________
They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.


Tue Dec 06, 2005 5:57 pm
Profile WWW
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 2:17 pm
Posts: 7737
Location: Centre of the sun
Reply with quote
Post 
SQL*Plus is an Oracle command line utility used for executing SQL and PL/SQL commands.

If it is as you say a 'front end' can you link me to more of these 'front end' thingys?

_________________
"Well a very, very hevate, ah, heavy duh burtation tonight. We had a very derrist derrison, bite, let's go ahead and terrist teysond those fullabit who have the pit." - Serene Branson


Wed Dec 07, 2005 5:32 am
Profile
Felix Rex
User avatar

Joined: Fri Mar 28, 2003 6:01 pm
Posts: 16701
Location: On a slope
Reply with quote
Post 
PHPMyAdmin

http://www.phpmyadmin.net/home_page/index.php

great one for php (web-based, so you'll need a web server and php installed too)


Aqua Data Studio

http://www.aquafold.com/

GUI utility that links into a huge number of databases. Has a very similar look and feel to MS-SQL Enterprise Manager. I REALLY like this one...I use it all the time at my job.


Wed Dec 07, 2005 9:14 am
Profile WWW
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 2:17 pm
Posts: 7737
Location: Centre of the sun
Reply with quote
Post 
Ok, so ive downloaded MySQL. I guess i need to use the MySQL Command Line client to run queries on a database right?

How do i make it point to a database? (text file).

_________________
"Well a very, very hevate, ah, heavy duh burtation tonight. We had a very derrist derrison, bite, let's go ahead and terrist teysond those fullabit who have the pit." - Serene Branson


Sat Dec 10, 2005 6:08 pm
Profile
Felix Rex
User avatar

Joined: Fri Mar 28, 2003 6:01 pm
Posts: 16701
Location: On a slope
Reply with quote
Post 
http://dev.mysql.com/doc/refman/5.0/en/ ... ation.html

_________________
They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.


Sun Dec 11, 2005 11:04 am
Profile WWW
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 2:17 pm
Posts: 7737
Location: Centre of the sun
Reply with quote
Post 
Ok im at uni now. I came across a problem while writing a PROMPT for a report.

Using: where c.customer_id = &customer_id

And giving a value after, returns: invalid column name

Example:

WHERE c.customer_id = &customer_id
AND a.account_id = c.account_id
AND c.customer_id = ca.customer_id
AND c.customer_id = co.customer_id
AND co.order_id = o.order_id;

Any ideas?

_________________
"Well a very, very hevate, ah, heavy duh burtation tonight. We had a very derrist derrison, bite, let's go ahead and terrist teysond those fullabit who have the pit." - Serene Branson


Fri Dec 16, 2005 9:39 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.