Solved

Update price column

Posted on 2014-03-23
2
201 Views
Last Modified: 2014-04-07
I have a table SSGPR100 with a SSG_Customer_Price column and I want to reduce the price by 20 percent using an update
0
Comment
Question by:skull52
2 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 39948773
UPDATE SSGPR100
SET  SSG_Customer_Price = SSG_Customer_Price * .8
0
 
LVL 35

Expert Comment

by:David Todd
ID: 39949138
Hi,

The above will reduce all prices.

If you want to filter it by some condition, then add a where clause.

Regards
  David
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question