Solved

Update price column

Posted on 2014-03-23
2
199 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql query help 2 45
all records from previous month 6 45
the whoisactive update 12 39
SQL Query Producing decimal places when it shouldn;t be 8 36
In this article I will describe the Detach & Attach 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.
In this article I will describe the Copy Database Wizard 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.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now