Here is what ended up working, FYI:
[code]update rm20101
set bachnumb = (CASE
when custnmbr > '9999' and custnmbr < '11000'
then 'BULK-1'
when custnmbr > '10999' and custnmbr < '12000'
then 'BULK-2'
when custnmbr > '11999' and custnmbr < '13000'
then 'BULK-3'
when custnmbr >...
What I am trying to do, is change data in certain rows in the table RM20101. Most of the data in the BACHNMBR column currently has the value of BULK.
I want to change all values in the column BACHNMBR to a different value, based on their customer number (CUSTNMBR).
Example: Customer...
We were using Pervasive up until a year ago, but finally made the switch to MS SQL. We generate about 2,500 invoices a week and the Pervasive was so slow posting and was constantly crashing during posting. A typical batch with say, 50 invoices in it would take 15 to post with Pervasive. In...
I am trying to update a SQL table. Basically, I want to take our customers and move some of their invoices to a different batches. The problem seems to be one account that has a non-numeric account number called CASH. All the other accounts are numeric. Here what I tried to run:
update...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.