Solved

remove space - sql - access

Posted on 2014-04-10
1
662 Views
Last Modified: 2014-04-15
Hi experts, can you please help to remove the first space (using sql query-access) coming after the comma of all data in a table field Full_NAME, here comma is coming in between the last name and first name.
The names in the column looks like as follows,
Tharoor, Sasi
George, Mathew T
Thomas, Obama L.
0
Comment
Question by:gtmathewDallas
1 Comment
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 39992141
you can use an update query, back up your table first

update tableName
set [Full_NAME]=replace([Full_NAME] & ", ",", ",",")

if you are sure that all names have comma, you can use

update tableName
set [Full_NAME]=replace([Full_NAME],", ",",")
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now