Remove Groups from Sage CRM DB using SQL Queries

By | August 31, 2020

Sage CRM can be customized many ways, but some time user wants to undo the changes which have been done before. Suppose some time it happed that user has created number of Group which he may need to remove if there is no longer in use. So user can also delete this Group that have been created. In this Blog we are going to see How to delete a Group from DB and from Sage CRM. For this follow below steps.

New Stuff:

Recently from one of our client we came across a question wherein user wants to remove some Groups from DB and from Sage CRM, inorder to achieve this there are some query that needs to be execute in SQL. Continue reading below to see how this can be achieve.

Suppose you want to delete below group from Sage CRM

Group List
Group List

Start SQL Management Studio and execute below query to find Repo_ReportID

select * from Custom_Reports where Repo_Name = ‘All Customers – Sage CRM

Group ReportID
Group ReportID

Next update the Repo_Reportid in the below update query and execute the queries this will delete that particular Group from Sage CRM. Kindly note that, this will soft delete Group record from Sage CRM.

  • update Custom_ReportFields    set refi_deleted = 1 WHERE ReFi_ReportBandID = (SELECT ReBa_ReportBandID FROM Custom_ReportBands WHERE ReBa_ReportID = 182)
  • update Custom_ReportBands    set reba_deleted =1      WHERE ReBa_ReportID = 182
  • update Custom_ReportSearches set rese_deleted = 1 WHERE ReSe_ReportID = 182
  • update Custom_Reports   set repo_deleted =1 WHERE Repo_ReportID = 182
  • update Custom_Captions  set capt_deleted = 1 WHERE Capt_family = ‘GroupsName’ and capt_code = ‘All Customers – Sage CRM’ update Custom_Captions  set capt_deleted = 1 WHERE Capt_family = ‘GroupsDescription’ and capt_code = ‘All Customers – Sage CRM’

If you want to hard delete Group record then you need to execute below DELETE queries.

  • DELETE FROM Custom_ReportFields WHERE ReFi_ReportBandID = (SELECT ReBa_ReportBandID FROM Custom_ReportBands WHERE ReBa_ReportID = 182)
  • DELETE FROM Custom_ReportBands WHERE ReBa_ReportID = 182
  • DELETE FROM Custom_ReportSearches WHERE ReSe_ReportID = 182
  • DELETE FROM Custom_Reports WHERE Repo_ReportID = 182
  • DELETE FROM Custom_Captions WHERE Capt_family = ‘GroupsName’ and capt_code = ‘All Customers – Sage CRM’
  • DELETE FROM Custom_Captions WHERE Capt_family = ‘GroupsDescription’ and capt_code = ‘All Customers – Sage CRM’

In this way we can delete Groups from Sage CRM Database.

Hope this is fine!

About Us

Greytrix – a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience and expertise, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation competence.

Greytrix has some unique integration solutions developed for Sage CRM with Sage ERPs namely Sage X3Sage IntacctSage 100Sage 500 and Sage 300. We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users and Sage PSG worldwide. Greytrix helps in migration of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes addons like  Greytrix Business ManagerSage CRM Project ManagerSage CRM Resource PlannerSage CRM Contract ManagerSage CRM Event ManagerSage CRM Budget PlannerGmail IntegrationSage CRM Mobile Service Signature and Sage CRM CTI Framework.

Greytrix is a recognized Sage Champion ISV Partner for GUMU™ Sage X3 – Sage CRM integration also listed on Sage Marketplace.

For more information on our integration solutions, please contact us at We will be glad to assist you.

201 thoughts on “Remove Groups from Sage CRM DB using SQL Queries

  1. I Fashion Styles

    One important issue is that if you find yourself searching for a student loan you may find that you will need a cosigner. There are many scenarios where this is correct because you may find that you do not employ a past credit rating so the loan company will require you have someone cosign the financial loan for you. Interesting post.

  2. Hairstyles VIP

    Pretty nice post. I just stumbled upon your blog and wanted to mention that I have truly enjoyed surfing around your weblog posts. In any case I will be subscribing for your rss feed and I hope you write once more soon!

  3. Hairstyles

    I have observed that over the course of constructing a relationship with real estate managers, you’ll be able to get them to understand that, in each and every real estate financial transaction, a commission rate is paid. Ultimately, FSBO sellers will not “save” the commission. Rather, they fight to win the commission simply by doing a strong agent’s job. In this, they spend their money as well as time to conduct, as best they might, the jobs of an representative. Those assignments include disclosing the home by way of marketing, presenting the home to willing buyers, developing a sense of buyer desperation in order to make prompt an offer, scheduling home inspections, taking on qualification assessments with the lender, supervising repairs, and aiding the closing.

  4. Freebies

    great points altogether, you simply gained a new reader. What would you recommend in regards to your post that you made some days ago? Any positive?

  5. I Fashion Styles

    Thanks for the new stuff you have exposed in your short article. One thing I would really like to discuss is that FSBO connections are built as time passes. By introducing yourself to owners the first weekend their FSBO can be announced, before the masses commence calling on Mon, you create a good link. By giving them tools, educational elements, free accounts, and forms, you become the ally. If you take a personal curiosity about them in addition to their problem, you make a solid relationship that, oftentimes, pays off once the owners decide to go with a realtor they know and also trust – preferably you.

  6. Peterkiw56245afsdfsaf5621

    mature getting to know on to Merseyside

    usually the Mersey divides city region coming from all throughout to Merseyside spares two. On the western world end is probably Wirral the results to load many of the rest of the boroughs are on the eastern side. the following boundary Lancashire plus broader luton. them with distribution quite boundary among Cheshire to florida.

    regardless of which covered by Merseyside you reside in, habitants choose obtaining referred to as residing ‘ON’ Merseyside as an alternative to ‘in’ it. for the most part you’ll 1.4 million most people live on Merseyside, handing it out a inhabitants occurrence concerning 5500 most people regarding block distance.

    involving amount of people solidity may make an exceptional likelihood of grownup going on a date but for whatever reason the entire state is not kind of fit to expected results in comparison to the both equally exceedingly inhabited neighborhoods somewhere else. however, nearly every honestly decided on single or couple who wants to enjoy mature getting to know together with moving the method of life during Merseyside will be able to do so which has related simple.

    rrn addition to these typical market ingredients favouring simplicity of touch between these older excellent hunters, the town of liverpool as well so you can an inferior amount, added boroughs by the region; furnish much in the way of office meeting and consequently getting to know companies.

    none mention of the liverpool will be complete without mention of the Beatles and Cavern nightclub. one portions typically close to forty make your home shows weekly and anyone choosing this is what famous place for a relationship rendezvous is going to processed to theater right from band managing initially music.

    Liverpool’s claim they can discreet individual or group stores has been the sad thing is a bit quantity electrifying. a fairly seedy restaurant in northern the metropolis now not seems to operate in particular the story in 2007 to spread out a three area venue, including six exclusive investigator singapore house, slimmer, licensed tag to relaxation living room, seems to have been a lot accepted by the district than owners alleged might be case.

    the county day football club with a very generous mindset publically embraces a varied collection of parent taste and thus shows simply by itself as increasing up as a swingers assembly fit. quickly as more, it is just a slightly exaggerated take nevertheless the clb continually makes an unique rendezvous if anyone is to meet broadminded those.

    in spite of this probably discouraging selection of commercial sites, portland also has plenty of non-public couples along with get togethers in order to. they can be locked in rentals, Luxury self-catering apartment rentals while in the exclusive investigator singapore families.

    really the only additional location in Merseyside to get a regular grown-up festival site is going to be Wirral. Here there’s swingers squad why keeps a predominantly ‘couples’ are courtesy of restraining the numbers of single men of all ages going through his month holidays.

    this particular Wirral can also be a great surface area to produce secretly published proceedings with many the whole family and after that single ladies web a bit of super group meetings get togethers tend to be in what most residences luxurious.

    that you just can receive wedding invitations to occasions to group meetings such as, The contributor to older going do first need to establish that they are as a highly to popular member of a hottest swingers golf club internet page with a -active like clb Aphrodite representation really in the region. it has an art on to carrying this out and most articles offered about them. need to know analyze most and click on the tips and advice succumbed them. most importantly within the, purpose, determination in addition to the endurance could possibly be very important. request these and suddenly your will eventually be a very praising information.

  7. Kindra Russell

    Hi, I do think this is a great web site. I stumbledupon it 😉 I’m going to return once again since I book marked it.
    Money and freedom is the greatest way to change, may you be rich
    and continue to help others.

  8. Pingback: gay viagra challenge

  9. Eugene Cisneros

    Ahaa, its pleasant conversation on the topic of this piece
    of writing at this place at this webpage, I have read
    all that, so at this time me also commenting here.

  10. Markus Moran

    It’s appropriate time to make a few plans for the long run and it is
    time to be happy. I have read this put up and if I may just I
    want to recommend you few fascinating issues or advice.
    Perhaps you could write subsequent articles relating to this article.
    I wish to learn more things about it!

  11. Pingback: cialis by mail in us

  12. Jacinta Alston

    I’ve been surfing online more than 3 hours today, yet
    I never found any interesting article like yours. It’s pretty worth enough for me.

    In my view, if all webmasters and bloggers made good content as you did,
    the web will be a lot more useful than ever before.

  13. Brian Saleh

    I really like what you guys tend to be up too.
    This sort of clever work and reporting! Keep up the very good works guys I’ve incorporated
    you guys to our blogroll.

  14. John Mckenna

    Ahaa, its nice dialogue regarding this article here at this website, I have read all that,
    so at this time me also commenting at this place.

  15. Sheila Strong

    Ahaa, its pleasant discussion about this paragraph at this place at this weblog, I have read all that, so now me
    also commenting at this place.

  16. frances lucie

    If you are going for best contents like I do, only go to see this web page all the time because it presents feature contents, thanks

  17. Renee Brick

    Greetings! I’ve been reading your weblog for a long time now and finally got the bravery
    to go ahead and give you a shout out from Lubbock
    Tx! Just wanted to say keep up the fantastic work!

  18. Marc Ochoa

    I relish, result in I discovered exactly what I used to
    be having a look for. You have ended my 4 day lengthy hunt!
    God Bless you man. Have a great day. Bye

  19. Pingback: swollen clit from viagra

  20. Pingback: cialis or viagra better

  21. Phebe Cook

    I am sure this post has touched all the internet people,
    its really really fastidious article on building up new webpage.

  22. Pingback: actress in viagra commercial

  23. Betty Mowery

    I visited various websites except the audio feature for
    audio songs current at this web page is truly superb.

  24. Johnnie Villarreal

    Ahaa, its pleasant conversation concerning this piece of writing here
    at this weblog, I have read all that, so now me also commenting at this place.

  25. buyaweb pornosu

    Just want to say your article is as astonishing.
    The clearness on your publish is just spectacular and i could think you’re an expert in this
    subject. Well with your permission allow me to snatch
    your RSS feed to keep up to date with impending post.
    Thanks one million and please continue the rewarding

  26. türk porno izle

    wonderful issues altogether, you just received a brand
    new reader. What could you recommend in regards
    to your put up that you made a few days ago? Any positive?

  27. instagram sperm artığı

    Wow that was unusual. I just wrote an very long comment but after I clicked submit my comment
    didn’t show up. Grrrr… well I’m not writing all that over again. Anyway, just wanted to say excellent blog!

  28. instagram pornoları izle

    Awesome blog! Do you have any tips and hints for aspiring writers?
    I’m planning to start my own website soon but I’m a little lost
    on everything. Would you propose starting with a free platform like WordPress or
    go for a paid option? There are so many options out there that I’m totally overwhelmed ..

    Any ideas? Appreciate it!

  29. en iyi leke kremi

    Wow, amazing weblog layout! How lengthy have you been running a blog for?
    you make running a blog look easy. The whole look of your website is wonderful,
    as neatly as the content material!

  30. antalya en hızlı haber ajansı

    I loved as much as you’ll receive carried out right here. The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get got an edginess over that you
    wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly very often inside case you shield this hike.

Leave a Reply

Your email address will not be published.