• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 684
  • Last Modified:

remove space - sql - access

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
gtmathewDallas
Asked:
gtmathewDallas
1 Solution
 
Rey Obrero (Capricorn1)Commented:
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now