ZipCode Table - City Field CAPS?

Manager SE Settings, Defaults, Database
Locked
hokiejill
Member
Posts: 23
Joined: Thu Mar 28, 2013 8:04 am

ZipCode Table - City Field CAPS?

Post by hokiejill »

What is the best way to accomplish the following?

I would like the City field in the ZipCode table changed to all UPPER CASE. Currently, it’s upper/lower.

For example, Galax to GALAX.
Last edited by hokiejill on Tue Jan 31, 2017 9:32 am, edited 1 time in total.
User avatar
Johnny5
500 Club: Champion Contributor
500 Club: Champion Contributor
Posts: 654
Joined: Wed May 26, 2004 2:03 pm
Location: John Dwulet

Re: ZipCode Table -- City Field

Post by Johnny5 »

Good day,

There is currently no method within the software to change the cities to all caps. I will consult development on this one.

JD
John Dwulet AKA: Johnny5
Retired - Mitchell1
User avatar
timbre4
System Guru / Moderator
System Guru / Moderator
Posts: 4460
Joined: Tue May 25, 2004 5:47 pm
Location: TN - Volunteer State

Re: ZipCode Table - City Field CAPS?

Post by timbre4 »

In the meantime, you might consider changing your most popular zip codes to be CAPS using the Zip Code Mapping option under Standard Tables:
zip.png
zip.png (18.09 KiB) Viewed 3219 times
Tim McDonnell -
Sr. Product Market Mgr / Forum Moderator / Mitchell 1 Media Developer
hokiejill
Member
Posts: 23
Joined: Thu Mar 28, 2013 8:04 am

Re: ZipCode Table - City Field CAPS?

Post by hokiejill »

I've taken care of the most common cities.

Is there a way to run SQL scripts on this database to make mass changes?
sbebenelli
750 Club: World Class Contributor
750 Club: World Class Contributor
Posts: 752
Joined: Tue Dec 12, 2006 10:24 am
Location: Iowa

Re: ZipCode Table - City Field CAPS?

Post by sbebenelli »

hokiejill wrote:What is the best way to accomplish the following?

I would like the City field in the ZipCode table changed to all UPPER CASE. Currently, it’s upper/lower.

For example, Galax to GALAX.
What's the reason for wanting this?
hokiejill
Member
Posts: 23
Joined: Thu Mar 28, 2013 8:04 am

Re: ZipCode Table - City Field CAPS?

Post by hokiejill »

The reason is standardization. We have all name and address in all caps for all of our databases and software systems (we use other software besides Manager Plus).
sbebenelli
750 Club: World Class Contributor
750 Club: World Class Contributor
Posts: 752
Joined: Tue Dec 12, 2006 10:24 am
Location: Iowa

Re: ZipCode Table - City Field CAPS?

Post by sbebenelli »

hokiejill wrote:The reason is standardization. We have all name and address in all caps for all of our databases and software systems (we use other software besides Manager Plus).

Gotcha
User avatar
Johnny5
500 Club: Champion Contributor
500 Club: Champion Contributor
Posts: 654
Joined: Wed May 26, 2004 2:03 pm
Location: John Dwulet

Re: ZipCode Table - City Field CAPS?

Post by Johnny5 »

hokiejill wrote:I've taken care of the most common cities.

Is there a way to run SQL scripts on this database to make mass changes?
Yes there is - you would also want to update the customer address table to UPPERCASE.:
For the geeks out there the command are:

sqlcmd /E /S .\SHOPSTREAM -Q "UPDATE ShopMgt.SM.ZipCode SET [City] = UPPER(City)"
sqlcmd /E /S .\SHOPSTREAM -Q "UPDATE ShopMgt.SM.Addresses SET [City] = UPPER(City)"

Here is a link to a batch file that runs the commands for you, you have to run this on the host. No need to exit Manager. http://m1faqs.com/fix/SE/changetocaps.bat

JD
John Dwulet AKA: Johnny5
Retired - Mitchell1
Locked

Return to “Database + Settings”