Login|Contact Us
Question and Answer

Programming

Ask a Programming Question, Get an Answer ASAP!

  • Ask A Question
  • Browse Answers
  • Meet The Experts
  • How JustAnswer Works

Here you go! It is due on Wednesday. http://wikisend.co

 
jatechexpert's Avatar
  • Answered by:jatechexpert
  • Computer Software Engineer
  • Positive Feedback: 97.3 %
  • Accepted Answers: 1266
Verified Expert
in Programming

Recent Feedback

Positive
Great Help! Will use again!
Positive
Type your review here...
Positive
great job
Positive
Awesome, thank you! I really appreciate your quick response and the solution.
Positive
Work was excellent and will recommend to everyone who needs programming help.
Positive
nice job
Positive
Great! Thank you!
Positive
Fast response and quality work
Positive
very helpful and did exactly what was asked for
Positive
Thanks

Customer Question

Here you go! It is due on Wednesday.

http://wikisend.com/download/182916/Lab.zip

 

Optional Information:
Programming Language: SQL

Submitted: 366 days and 10 hours ago.
Category: Programming
Value: $45
Status: CLOSED
Picture
Expert:  jatechexpert replied 366 days and 10 hours ago.

hi

thanks for requesting me

when is due this

Customer replied 366 days and 10 hours ago.

Wednesday

Picture
Expert:  jatechexpert replied 366 days and 10 hours ago.

hi
ok i will do this

Customer replied 363 days and 4 hours ago.

Is this ready yet?

Picture
Expert:  jatechexpert replied 363 days and 1 hours ago.

hi

i will send soon

Customer replied 362 days and 20 hours ago.

This assignment was due yesterday. R u finished?

Picture
Expert:  jatechexpert replied 362 days and 20 hours ago.

hi

here is the answer link below
http://wikisend.com/download/470046/main.sql]main.sql

http://wikisend.com/download/722266/Queries.sql]Queries.sql


hope these helps

Customer replied 362 days and 12 hours ago.

#3 is missing...

Picture
Expert:  jatechexpert replied 362 days and 12 hours ago.

hi

just wait

let me check it

Customer replied 362 days and 12 hours ago.

#3 is missing. Also,when you run the sql file......it contains errors. Please correct it and add in #3.

Picture
Expert:  jatechexpert replied 362 days and 12 hours ago.

hi

here is the link below

http://wikisend.com/download/782488/Queries.sql]Queries.sql

Customer replied 362 days and 11 hours ago.

#4, #5, & #7 all contains errors. Please correct it.

Picture
Expert:  jatechexpert replied 362 days and 11 hours ago.

hi

once you executed it, didn't drop the sequence and views

http://wikisend.com/download/270852/Queries.sql]Queries.sql

Customer replied 362 days and 11 hours ago.

That help take out the error for #4. But #5 and #7 still has an error.

Picture
Expert:  jatechexpert replied 362 days and 10 hours ago.

hi

i didn't get any errors
you save these queries in LeeBooks.sql

and run it

Customer replied 362 days and 10 hours ago.

The lab explicity states to create a clean script file. Also, It states do not use LeeBooks.sql as part of this script. So there is not reason to save these queries in LeeBooks.

 

But here is the output file to show you the errors that I am getting for #5 and #7.

 

http://wikisend.com/download/892052/Spool_TJones_Wk7Lab.txt

 

 

Picture
Expert:  jatechexpert replied 362 days and 10 hours ago.

hi

you check with the last published id

then start the sequence with next

CREATE SEQUENCE pubnum_seq
2 START WITH 7

change the 7 with next to the last one

Customer replied 362 days and 10 hours ago.

Huh?????

 

Here is the errors for #5 & #7:

 

SQL> --5
SQL> INSERT INTO publisher VALUES(pubnum_seq.nextval,'Double Week','Jennifer Close','XXX-XXX-XXXX');
INSERT INTO publisher VALUES(pubnum_seq.nextval,'Double Week','Jennifer Close','XXX-XXX-XXXX')
*
ERROR at line 1:
ORA-00001: unique constraint (D02865865.PK_PUBLISHER) violated


SQL> INSERT INTO publisher VALUES(pubnum_seq.nextval,'Specific House','Freddie Farmore','XXX-XXX-XXXX');
INSERT INTO publisher VALUES(pubnum_seq.nextval,'Specific House','Freddie Farmore','XXX-XXX-XXXX')
*
ERROR at line 1:
ORA-00001: unique constraint (D02865865.PK_PUBLISHER) violated

-------------------

 

SQL> --7
SQL> CREATE INDEX boo_order_idx
2 ON book_order (orderid,customerid);
CREATE INDEX boo_order_idx
*
ERROR at line 1:
ORA-00955: name is XXXXX XXXXX by an existing object

Picture
Expert:  jatechexpert replied 362 days and 10 hours ago.

hi

when you first execute this query, it already created a new record with publisherid 9,

next when you execute this same query ,it starts with 7 , so it becomes 9, so it violated the primary key

for resolving this, you first execute LeeBooks.sql;

then you run Queries.sql

you will get the correct one

Customer replied 362 days and 9 hours ago.

OMG! I am so stupid. That worked! Thank you for being patient with me.

Accepted Answer

Picture
Expert:  jatechexpert replied 362 days and 9 hours ago.

hi

ok then no problem

if you are ok, don;t forget to click on Accept button

Expert TypeComputer Software Engineer
Category: Programming
Pos. Feedback: 97.3 %
Accepts: 1266
Answered: 4/12/2012

Experience: Master of Computer Application plus 5+ year experience in Software development

Ask this Expert a Question >
 
Tweet

7 Programmers are Online Right Now

Ask Your Question Now
Programming Questions Date Submitted
C ProgrammingDecode LabYour assignment is to write a C 4/9/2013
Reference the following instructions to assist you when completing 4/8/2013
First you will present the pseudo code with all the modules 4/8/2013
NA-112 4/8/2013
The first programming project involves completing a program 4/8/2013
RA-201 4/7/2013
This is my final exam for my c programming class. It is due 4/7/2013
Program Description Your program will display (see the sample 4/6/2013
RA-211 4/3/2013
ra-614 4/2/2013
RSS
Next 10 >
Ask A Programmer
Type Your Programming Question Here...
characters left:

Top Programming Experts

See More Programmers

In The News

Nbc
Washington Post
New York Times
Cnn
Learn More

How It Works

  • Ask an Expert
  • Get a Professional Answer
  • Ask Followup Questions
  • 100% Satisfaction Guarantee
Learn More
close
Find Expert answers related to your question.
Sign up using email
We will never post anything without your permission.
Already have an account? Sign in

Ask a Programmer

Get a Professional Answer. 100% Satisfaction Guaranteed.
190 Programmers are Online Now
Type Your Programming Question Here...
characters left:
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.
Truste
Contact Us | Terms of Service | Privacy & Security | About Us
© 2003-2013 JustAnswer LLC