Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

@propercase to change fields in a dB

Posted on 2006-07-05
4
Medium Priority
?
233 Views
Last Modified: 2013-12-18
I have a db that has the city and county that are all uppercase, I know I can use an agent to change the fields to propercase.

So I wrote the following very quick and easy agent, now as you can tell development is not only NOT my forte but I never ever do it!

@ProperCase (County);
SELECT @All

However, when I run it against forms it does nothing I am sure I am missing something, I want it to replace the Word SUFFOLK in the field County to Suffolk.

Thanks,
Michael
0
Comment
Question by:mwebb_sdmc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
CRAK earned 1000 total points
ID: 17045380
Try:

Field County:=@ProperCase (County)
0
 

Author Comment

by:mwebb_sdmc
ID: 17045397
That doesn't change the field.
0
 
LVL 13

Expert Comment

by:CRAK
ID: 17045427
This is still the agent?
Is it running on e.g. selected documents?
0
 

Author Comment

by:mwebb_sdmc
ID: 17045481
Yes that is correct.  Agent running on select set of documents.  Oops works I spelled it incorrectly county = country works now thanks..
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

610 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