Solved

remove space - sql - access

Posted on 2014-04-10
1
664 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 120

Accepted Solution

by:
Rey Obrero (Capricorn1) 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

786 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