Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Increase store wide sell price by 10%

$
0
0
Yes, you'll need to do something like this..

/ Script for SelectTopNRows command from SSMS /
SELECT * FROM [NB_Store_Model]

begin tran
update [NB_Store_Model] set unitcost = convert(decimal(10,2),(unitcost * 1.1))

SELECT * FROM [NB_Store_Model]
rollback
-- commit

or if you run it from HOST>SQL
update [NB_Store_Model] set unitcost = convert(decimal(10,2),(unitcost * 1.1))
But be careful to backup the DB before!


I suppose this is something which should be added to the admin functions.

Dave.

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>