Advertisement

07.04.2008 at 04:55AM PDT, ID: 23539291
[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

how to print error with the result lines

Asked by ammartahir1978 in PHP Scripting Language, PHP and Databases, SQL Query Syntax

Tags: , , ,

HI everyone,

I have this update query which update the table values for me what i want is print the error values if there is an error like for example

if mm.Size_code != s.sizes_code
print error "INVALID SIZE CODE"
results
001 LONDON 14r11 010 bla 12,3
and so on,

same for colour please i have attached the code.Start Free Trial
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:
30:
31:
32:
33:
34:
35:
36:
37:
38:
<input name="" type="image" src="images/logo.gif" />  <?php
$conn=odbc_connect("rmis", "rmis", "lts");
 
$stmt = "Update  rptd
SET rptd.target_qty = mm.max
 ,rptd.minimum_qty = mm.min
          
from replenishment_product_targets_detail as rptd
inner join replenishment_product_targets_master as rptm
            on rptm.rpl_prod_tgt_id = rptd.rpl_prod_tgt_id
inner join product_detail as pd
            on pd.sku_id = rptd.sku_id
inner join product_master as pm
            on pm.prod_id = pd.product_id
inner join colour as c
          on c.colour_id = pd.colour_id
inner join sizes as s
            on s.sizes_id = pd.sizes_id
inner join branch_group_members as bgm
            on bgm.group_id = rptm.branch_group_id
            and bgm.member_code = rptd.branch_group_member_code
INNER JOIN BRANCH_GROUP_MASTER BGG
ON BGG.ID = BGM.GROUP_ID
inner join branch as b
            on b.branch_id = bgm.branch_id
 
inner JOIN MINANDMAX as MM
ON PM.ALT_CODE1 = MM.STYLE
AND MM.BRANCH_CODE = b.branch_code
and mm.colour = c.colour_code
and mm.size_code = s.sizes_code
WHERE mm.Group_Id = BGM.Group_id ";
 
$resultset=odbc_exec($conn,$stmt);
 
 
print "<strong>All Values are successfully Updated</strong>"
?>
[+][-]07.04.2008 at 05:25AM PDT, ID: 21932675

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.

 
[+][-]07.04.2008 at 05:34AM PDT, ID: 21932716

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.

 
[+][-]07.04.2008 at 05:53AM PDT, ID: 21932811

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.

 
[+][-]07.04.2008 at 05:53AM PDT, ID: 21932817

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.

 
[+][-]07.04.2008 at 05:59AM PDT, ID: 21932852

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.

 
[+][-]07.04.2008 at 06:03AM PDT, ID: 21932880

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.

 
[+][-]07.04.2008 at 06:10AM PDT, ID: 21932913

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.

 
[+][-]07.04.2008 at 10:45AM PDT, ID: 21934170

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.

 
[+][-]07.04.2008 at 10:52AM PDT, ID: 21934193

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.

 
[+][-]07.04.2008 at 12:20PM PDT, ID: 21934486

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.

 
[+][-]07.04.2008 at 02:25PM PDT, ID: 21934948

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.

 
[+][-]07.04.2008 at 02:31PM PDT, ID: 21934973

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.

 
[+][-]07.05.2008 at 09:06AM PDT, ID: 21937462

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: PHP Scripting Language, PHP and Databases, SQL Query Syntax
Tags: Microsoft, SQL Server, 2000, SQL
Sign Up Now!
Solution Provided By: mark_wills
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.07.2008 at 06:04AM PDT, ID: 21944582

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.

 
[+][-]07.07.2008 at 07:58AM PDT, ID: 21945612

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.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628