Sarrkazztic
Technical User
Ok. I have a database and several tables and queries. I need to finish this off with either a make table query or an update query.
Right now my final query produces a table with the following columns
LDC Prospect Verify LDCAcct Billing Telephone Email Rate
In my Rate column I have codes such as
V139
VRC033
REN032
etc
Ok...here is where I hit the wall I need a query or Sql statment that will update the LDC column with the name of the utility. for example using wildcards as this has to work in the future on new rate codes
If "Rate Column" = V1** insert VDO in LDC column on the same row.
or IF Rate column = VRC*** insert COH in LDC column on same row
or if Rate column = REN*** insert DEO into LDC column on same row
Can anyone help with this code?
Right now my final query produces a table with the following columns
LDC Prospect Verify LDCAcct Billing Telephone Email Rate
In my Rate column I have codes such as
V139
VRC033
REN032
etc
Ok...here is where I hit the wall I need a query or Sql statment that will update the LDC column with the name of the utility. for example using wildcards as this has to work in the future on new rate codes
If "Rate Column" = V1** insert VDO in LDC column on the same row.
or IF Rate column = VRC*** insert COH in LDC column on same row
or if Rate column = REN*** insert DEO into LDC column on same row
Can anyone help with this code?