how to remove some text part from field in table thru query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kalaskar pd
    New Member
    • Mar 2014
    • 1

    how to remove some text part from field in table thru query

    In our database field name conatains Mr. Mrs. Miss ect which we want to remove thru query

    Please help me in writing such query
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    You need to be exact with your terminology;
    Field name = the name of the field in the data table - what you see in the design view of the table.

    So, do you need to change the DATA in the table so that you can remove the "Mr, Mrs, Mr., Mrs."

    OR

    do you need to change the name of the field in the datatable?

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32636

      #3
      This is exactly why the design of the tables is so important. It's really easy to add atomic fields together to get the required results. Much less easy to split them up. Don't store information together in a field if you need it separately.

      That said, if the data follows certain rules then it can usually be manipulated. To help you manipulate the data we'd need, at the very least, a clear description of any rules you expect the data to follow.

      Comment

      Working...