Update Query

  • Thread starter Thread starter Justin
  • Start date Start date
J

Justin

I have text data in my table formated 11-11-11. I want to change the "-" to
":" so the result will be 11:11:11.
 
I have text data in my table formated 11-11-11. I want to change the "-" to
":" so the result will be 11:11:11.

Update YourTable Set YourTable.[FieldName] =
Replace([FieldName],"-",":")
 
I have text data in my table formated 11-11-11. I want to change the "-" to
":" so the result will be 11:11:11.

UPDATE tablename
SET fieldname = Replace([fieldname], "-", ":")
WHERE fieldname LIKE "*-*-*";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Windows 11 download 1
Windows 11 Windows 11 update 5
Tranform Pivot Query? 3
Select data and sum by weeks in a month 3
Excel Excel spreadsheets opening at top instead of bottom. 4
New Dell PC 6
Lost in time! 5
Build Crosstab query from existing query 5

Back
Top