[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[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!

8.6

SQL - MS Access Query Conversion

Asked by PANKAJPARIKH in Microsoft Access Database, Access Coding/Macros, SQL Query Syntax

Tags: MS Access, PL / SQL Conversion

Hi,
I'm trying to convert the below listed SQL query in MS Access query format. But many functions available in SQL are not used in MS Access (eg: CASE, substr, NVL..etc) ..Could you please assist.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
SELECT l.learner_number , NVL (a.offering_delivery_method, 'Ad-hoc') AS delivery_type , 
       Case 
       when substr(o.offering_id,1,5) = 'dowbt' 
       then o.wbt4 
       else o.ilt4 
       END Delivery_Development_Type , sum (a.learning_hours) 
FROM (SELECT a.learner_id, a.delivery_id, a.course_vendor_name,
               a.completion_date, a.action_status, a.completion_status,
               a.offering_template_id, a.offering_id, a.DURATION,
               a.course_title, a.course_number, a.learning_hours,
               CASE
                  WHEN a.delivery_id IS NULL
                  AND LOWER (a.course_vendor_name) LIKE '%skl%st%'
                     THEN 'E-Learning'
                  WHEN a.delivery_id IS NOT NULL
                     THEN a.offering_delivery_method
               END offering_delivery_method
          FROM usa.dtv_bv_offering_action a) a
       JOIN
       usa.dtv_bv_learners l ON l.learner_id = a.learner_id
       LEFT OUTER JOIN 
       usa.dtv_bv_offerings o ON o.offering_id = a.offering_id
 WHERE a.completion_status = 'Successful'
   AND a.action_status = 'Completed'
   AND a.completion_date >= TO_DATE ('2009/05/31 00:00:00', 'YYYY/MM/DD hh24:mi:ss')
   AND a.completion_date <= TO_DATE ('2009/06/24 23:59:59', 'YYYY/MM/DD hh24:mi:ss')
   AND LENGTH (TRIM (TRANSLATE (a.learning_hours, '.0123456789', ' '))) IS NULL
GROUP BY l.learner_number,nvl(a.offering_delivery_method,'Ad-hoc'),
Case when substr(o.offering_id,1,5) = 'dowbt' then o.wbt4 else o.ilt4 END;
[+][-]08/02/09 04:08 PM, ID: 25001021Accepted Solution

View this solution now by starting your 30-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: Microsoft Access Database, Access Coding/Macros, SQL Query Syntax
Tags: MS Access, PL / SQL Conversion
Sign Up Now!
Solution Provided By: aikimark
Participating Experts: 3
Solution Grade: A
 
[+][-]08/01/09 12:45 PM, ID: 24996384Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/01/09 12:46 PM, ID: 24996389Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/01/09 02:05 PM, ID: 24996650Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/01/09 02:09 PM, ID: 24996666Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 09:34 AM, ID: 24999343Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 10:27 AM, ID: 24999549Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 11:17 AM, ID: 24999803Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 02:38 PM, ID: 25000641Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 03:13 PM, ID: 25000779Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 03:18 PM, ID: 25000802Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 03:24 PM, ID: 25000838Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 03:32 PM, ID: 25000877Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 03:37 PM, ID: 25000906Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 03:39 PM, ID: 25000922Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 03:55 PM, ID: 25000976Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 04:02 PM, ID: 25001000Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 04:03 PM, ID: 25001004Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 04:06 PM, ID: 25001016Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 04:12 PM, ID: 25001040Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/09/09 10:29 AM, ID: 25055005Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/09/09 11:08 AM, ID: 25055190Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/09/09 11:09 AM, ID: 25055199Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625