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

SQL/RegEx Help

  • 05-02-2011 9:04pm
    #1
    Banned (with Prison Access) Posts: 1,275 ✭✭✭


    Not sure what forum to post this in, please move if there is a more appropriate one.

    Basically I have a forum where the start of every thread title is 'Media Library - blah blah blah' and I want to remove the "Media Library - " part

    What would be the code to run on the SQL table 'thread' to find every record that has `forumid`=41 and then remove the first 16 characters (or the previously specified part of the string) in the field `title`.

    Thanks


Advertisement