Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Oracle Database Express Edition
Reply
Old 09-27-2009, 12:58 PM   #1 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Oracle Database Express Edition

Hi all,

I am using Oracle Database Express in school, and am having an error with loading the script or something like that. Not sure. I can view the script and run it, but I get errors. I would give more information but I'm new with SQL so if anyone can help that would be greatly appreciated.


oldskool is offline   Reply With Quote
Old 09-27-2009, 03:20 PM   #2 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,159

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Oracle Database Express Edition

Have you already run this script once? The error indicates that the tables already exist.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is online now   Reply With Quote
Old 09-27-2009, 07:30 PM   #3 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Oracle Database Express Edition

Quote:
Originally Posted by kmote View Post
Have you already run this script once? The error indicates that the tables already exist.
Yes actually I have ran it several times. However, I deleted the script, recreated it, and then tried again to load it. So these objects already existing is strange to me. In other words, if I deleted the original SQL file, recreated it, and pasted my script in, ran it, then it appears all ok.

Until I look closer and see the errors that you see, kmote. Arrrggh, I'm sure it's simple as this is beginning SQL. The commands are really simple at this point, but this script is just acting weird. Probably the "meatwhere", huh ?

Oh and thanks for replying, mate.

UPDATE: I figured it out, kmote. I used a drop script, thereby deleting everything that way. Then I recreated and ran the script and it worked fine. Thanks for your input as it reassured me that I probably had just added data that was already there. That was enough for me to try this approach. Appreciated, kmote !

Last edited by oldskool; 09-27-2009 at 08:18 PM. Reason: update
oldskool is offline   Reply With Quote
Old 09-28-2009, 08:16 AM   #4 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,159

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Oracle Database Express Edition

Yeah, just deleting the script won't drop the tables from the database. You needed to drop all the tables/views first (or clear the database completely) before re-running the script.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is online now   Reply With Quote
Old 09-28-2009, 05:27 PM   #5 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Oracle Database Express Edition

Yes I see that now, I did that and all is good for now. Thanks, mate.
oldskool is offline   Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle Buys Sun Keyboard Cowboy News & Polls 4 04-24-2009 11:58 PM
I can’t install SQL Server 2008 Express with Advanced Services - Help! BobLewiston Windows Operating Systems and Software 9 03-12-2009 09:00 AM
PCI Express 2.0: Scalable Interconnect Technology, TNG DawnOfDoom Building, Buying, or Upgrading High Performance PC Systems 4 01-22-2008 02:41 AM
Home Edition Troubles ChemicalMonkey Windows Operating Systems and Software 34 01-20-2008 09:26 PM
How to change the size of the database in oracle biz_me Programming Discussions 0 07-25-2007 12:38 PM