Advertisement

09.15.2008 at 01:26PM PDT, ID: 23733270
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

Using sqlldr, can I use a select statement

Asked by goodnotgreat in Oracle 10.x, PL / SQL

Tags:

I have this in my control file for sqlldr to oracle and it works fine:

LOAD DATA
INFILE 'C:\Inetpub\wwwroot\ESS_Web_Analysis\essuser\push\errorsout.dat'
REPLACE                                                                                            
INTO TABLE essdot.dsbr_file_log  

    FIELDS TERMINATED BY x'3B' OPTIONALLY ENCLOSED BY '"'

(pwr_dsbr_id,revenue_mo, revenue_yr,msg_txt)


What I need to do is after this insert into this table, I need to do a select to get a sequence number (autogenerated) and then using this seq no, insert into another table some values using this seq no.

table desc:

dsbr_file_log
 dsbr_log_file_seq_no
pwr_dsbr_id
revenue_mo
revenue_yr
msg_txt

table  dsbr_file_log_details
 dsbr_log_file_seq_no
file_name
user_name
file_status_cd
rcd_ts

example of output needed:

first table gets inserted as follows:

10100   307   12   07   error in revenue mo.

second table needs seq no in order to insert into this table

10100  ST307L07.dat   error in revStart Free Trial
 
Loading Advertisement...
 
[+][-]09.15.2008 at 03:56PM PDT, ID: 22483625

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.15.2008 at 03:57PM PDT, ID: 22483633

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.15.2008 at 10:00PM PDT, ID: 22485049

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.15.2008 at 11:40PM PDT, ID: 22485402

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09.16.2008 at 06:16AM PDT, ID: 22488031

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.16.2008 at 07:13AM PDT, ID: 22488575

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09.16.2008 at 07:18AM PDT, ID: 22488617

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.16.2008 at 07:30AM PDT, ID: 22488764

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.16.2008 at 07:48AM PDT, ID: 22488954

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.16.2008 at 08:22PM PDT, ID: 22495228

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.17.2008 at 02:05AM PDT, ID: 22496702

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.17.2008 at 06:26AM PDT, ID: 22498230

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle 10.x, PL / SQL
Tags: oracle sqlldr
Sign Up Now!
Solution Provided By: goodnotgreat
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628