Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

MS Access/ SQL help

  • 05-10-2004 3:41pm
    #1
    Posts: 0


    Hey,

    Not particularly fond of MS Access but I have a table in which a field holds dates in the format dd/mm/yyyy.

    There are a load of entries in this and I was wondering if there were any SQL queries or Access functions that could make editing these (changing the year only, while keeping the rest of the date) easier, rather than trawling through them one by one. The simplest option, Find and Replace, replaces the whole field, maybe there's a way it can be instructed to only change part of a field?

    Any help regarding this matter would be great,
    Thanks for your time


Comments

  • Registered Users, Registered Users 2 Posts: 15,443 ✭✭✭✭bonkey


    Check out DateAdd which should be a function you can use. There's others like Datediff, Datepart, etc. all of which will let you manipulate dates "properly".

    jc


Advertisement