Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Cannot delete a query in sccm 2012 after sccm hanged while creating the query

Posted on 2013-01-29
1
Medium Priority
?
1,459 Views
Last Modified: 2013-01-30
I was creating a query to find unhealthy client in SCCM 2012 but it would hang on me before the query creation completed and had to end task on config manager to bring the console back up.
Below is the query i was trying to add

select SMS_R_System.ResourceId. SMS_R_System.ResourceType.
SMS_R_System.Name. SMS_R_System.SMSUniqueIdentifier.
SMS_R_System.ResourceDomainORWorkgroup.
SMS_R_System.Client from SMS_R_System where
SMS_R_System.Client is null or SMS_R_System.Active is null

After launching the console i would see that the query i just created would appear under queries in the SCCM console but trying to run it would hang the console.

I tried to select the query and delete it through the console but it process the deleting but the query still appear under queries in sccm.

How can i delete this query?

I guess this could be done in SCCM SQL database but i am no DBA and do not know where to begin.
0
Comment
Question by:LealIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
LealIT earned 0 total points
ID: 38834722
I found the solution by having a peek at the SCCM database in Sql server management studio.

Connected to the sccm database (CM_Sitecode),
>Expand tables
> then right click "dbo.queries" and edit the to 200 rows
>selected "unhealthy client" that i wanted to delete, then right click and then delete it.

That's it and when going back to sccm console the unwanted query is does not appear anymore.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question