473,394 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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
Mar 17 '14 #1
2 1253
zmbd
5,501 Expert Mod 4TB
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?
Mar 17 '14 #2
NeoPa
32,556 Expert Mod 16PB
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.
Mar 17 '14 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Kai Grossjohann | last post by:
I would like to put a text input field (in the sense of <input type="text">) and an image next to each other, where I know the size in pixels of the image, and I know the total width in em. I...
5
by: simon_s_li | last post by:
Hi, I have 5 fields in line where I need to drag and drop the text from one field to another field and then all the fields need to re-order themselves. So for instance if I drag the text in...
3
by: GorDon | last post by:
Hi, I have a report based on a query. The query grabs a memo field from my main table, yet when I display the memo field in the report it truncates the memo field (the field needs to hold more...
3
mmarif4u
by: mmarif4u | last post by:
Hi everyone, I have a little problem in php coding. i have mysql table guestbook: Fields are Id,name,email,comment,datetime. Now i want to search the database by php query using a Dropdown menu...
2
by: Gozil | last post by:
Hello, im having a problem with the text input field im working with. I've made an ajax application that will suggest different links below the input field but if the user already searched something...
0
by: Giero | last post by:
Hello, I have a little problem with my database. I created table where one of the fields is hyperlinked and is linking to the .doc files stored on the network drive. I can get the queries and...
3
by: Cirene | last post by:
How do you rename a SQL database TABLE thru the Server Explorer in VS2008? I cant find a way....
8
by: kevgoodwin | last post by:
Hi, I would like to run a Query using the following data from Text boxes in a Form: Query Criteria: !!, !SaleslettersQry]! Query Field: The text box has a list of < > Between Date() etc...
2
by: jerald m | last post by:
Hi, how can i pass the user input value of ( in text box field) to the another Jsp in url? Form Code <td> <input type="text" name="dil_ProjectCode" id="dil_ProjectCode"> </td>
3
by: IsInTrouble | last post by:
My program is working fine (windows forms and access database) and tables that I have done in beginning of the project are also being read and updated. Now I needed to add a new element to a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.