[AccessD] Replace/delete first 4 characters

Drew Wutka DWUTKA at Marlow.com
Mon Nov 5 15:04:19 CST 2007


If this a permanent change, this would work:

UPDATE tblYourTableName SET YourFieldName=Mid(YourFieldName,5)

Drew

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sheri Hixson
Sent: Monday, November 05, 2007 2:22 PM
To: accessD at databaseadvisors.com
Subject: [AccessD] Replace/delete first 4 characters

I have a column in a table that contains info as shown below:

 

123 123.456

123 123.456

410 410.435

555 555.123

789 789.678

910 910.321

 

The first 3 characters are duplicated in 5,6,7. How do I remove the
first
three characters, and the space, from each record in this column so that
the
results would be:

 

123.456

123.456

410.435

555.123

789.678

910.321

 

Any help would be appreciated!

 

Thanks,

 

Dee

 

 

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited.





More information about the AccessD mailing list