Trouble understanding query results
select SMS_R_System.Name from SMS_R_System order by SMS_R_System.Name
The query produces simple results as expected:
Name
LABS-W7-TEST1
LABS-WXP-TEST1
LSDWD-SCMAPP1
LSDWD-UWSWS1
LSDWD-UWSWS2
But adding an additional item to the query starts producing unexpected duplicates:
select SMS_R_System.Name, SMS_G_System_PROCESSOR.NumberOfLogicalProcessors from SMS_R_System inner join SMS_G_System_PROCESSOR on SMS_G_System_PROCESSOR.ResourceId = SMS_R_System.ResourceId order by SMS_R_System.Name
Why does this query produce a couple of duplicated results?
Name Processor.Number of Logical Processors
LABS-W7-TEST1 1
LABS-WXP-TEST1 1
LSDWD-SCMAPP1 2
LSDWD-UWSWS1 1
LSDWD-UWSWS1 1
LSDWD-UWSWS2 1
LSDWD-UWSWS2 1
The more items I add to the query, the more duplication. Even checking the Omit duplicate rows (select distinct) doesn't solve the problem:
select distinct SMS_R_System.Name, SMS_G_System_SYSTEM.SMSID, SMS_G_System_PROCESSOR.NumberOfLogicalProcessors, SMS_G_System_X86_PC_MEMORY.TotalPhysicalMemory, SMS_G_System_LOGICAL_DISK.Size from SMS_R_System inner join SMS_G_System_PROCESSOR on SMS_G_System_PROCESSOR.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_X86_PC_MEMORY on SMS_G_System_X86_PC_MEMORY.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_LOGICAL_DISK on SMS_G_System_LOGICAL_DISK.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId order by SMS_R_System.Name
Name Configuration Manager GUID
ProcMemory Logical Disk
LABS-W7-TEST1 GUID:772F69EE-7882-4663-B31E-17378D13C159 1 3071544 51097
LABS-W7-TEST1 GUID:772F69EE-7882-4663-B31E-17378D13C159 1 3071544
LABS-WXP-TEST1 GUID:D50AC145-C365-4BC0-AB20-019015BCB883 1 1023472 51191
LABS-WXP-TEST1 GUID:D50AC145-C365-4BC0-AB20-019015BCB883 1 1023472
LSDWD-SCMAPP1 GUID:EEA484BD-4A9A-4DC2-B1DA-D61E41B2B5E7 2 12582388 102046
LSDWD-SCMAPP1 GUID:EEA484BD-4A9A-4DC2-B1DA-D61E41B2B5E7 2 12582388
LSDWD-UWSWS1 GUID:919F425D-1B39-4095-A668-80674D01939D 1 3145272 81816
LSDWD-UWSWS1 GUID:919F425D-1B39-4095-A668-80674D01939D 1 3145272
LSDWD-UWSWS2 GUID:CEAC8150-7BCC-4C93-8E7B-2CA6DF46B6BF 1 2096616 102398
LSDWD-UWSWS2 GUID:CEAC8150-7BCC-4C93-8E7B-2CA6DF46B6BF 1 2096616
What is the key to getting the latest record if multiple rows of the same information is stored in the database?
Multiple rows will show for the same device if it has multiple CPUs (not to confuse with cores)...
If a device has 2 physical CPUs, then 2 rows will exist in v_GS_PROCESSOR (TSQL equivalent): DeviceID0 = CPU0 & CPU1. Each CPU has x cores as per the field "NumberOfLogicalProcessors0".
E.g. select top(100) DeviceID0, SocketDesignation0, NumberOfLogicalProcessors0, SystemName0 from v_GS_PROCESSOR order by systemname0 asc
If you want to know how many logical processors (cores) and you were using TSQL, then you could use a inner join to only show systems that have cores (not null) and use "sum" to add them up in case of multiple rows. A "left" join would
also show systems that have a null value for NumberOfLogicalProcessors0.
You cannot use "sum" in WQL...
select
SYS.Name0,sum(CPU.NumberOfLogicalProcessors0) As 'NumProcessors'
from v_R_System As SYS
inner join v_GS_PROCESSOR As CPU on CPU.ResourceId = SYS.ResourceId
group by SYS.Name0, CPU.NumberOfLogicalProcessors0
order by SYS.Name0 Asc
E.g. results
LABS-W7-TEST1 1
LABS-WXP-TEST1 1
LSDWD-SCMAPP1 2
LSDWD-UWSWS1 2
LSDWD-UWSWS2 2
To get only one row (one CPU), you can use "GROUP BY".
e.g.
SELECT
SMS_R_System.Name, SMS_G_System_PROCESSOR.NumberOfLogicalProcessors
FROM
SMS_R_System
inner join SMS_G_System_PROCESSOR on SMS_G_System_PROCESSOR.ResourceId = SMS_R_System.ResourceId
GROUP BY SMS_R_System.Name, SMS_G_System_PROCESSOR.NumberOfLogicalProcessors
ORDER BY SMS_R_System.Name
Similar Messages
-
Trouble grouping query results
Hi,
I have 3 tables (Cars, Colors, and Cars_Colors). Cars_Colors
is a junction table to list all the possible combinations of cars
and their colors. Using joins, I produce the following results from
my query:
CAR_NUM,COLOR_NUM
Car1, Color1
Car1, Color2
Car2, Color1
Car3, Color1
Car4, Color1
Car4, Color2
Car4, Color3
Car5, Color3
Query works fine, my trouble is getting the results to
display how I want them to. I would like to display the results in
a single <table>, with a separate <tr> for each
distinct car, where that <tr> displays the car in the first
<td> and displays all of the colors associated with that car
in a second <td>. The colors should be separated by commas.
E.g.:
Car1 | Color1, Color2
Car2 | Color2
Car3 | Color1
Car4 | Color1, Color2, Color3
Car5 | Color3
Now, I was able to get it to work by first querying for the
distinct cars in the Cars_Colors table, then loop through each car
result and perform a second query on the colors associated with the
current car. But this surely can't be the most efficient method.
I'd like to use one query to produce the result set I listed
at the top... with all Car/Color combinations, then use Coldfusion
to display the output... without having to run another query every
time through the loop. I've tried using valuelist() but couldn't
get it to work correctly. I've also tried <cfoutput query
group> and <cfloop query>. I've come close with both, just
can't get the commas working right. I don't know how to keep the
comma from appearing at the end of the colors, e.g.:
Car1 | Color1, Color2
Anyone have a better way? I appreciate any help.
Thanks!<CFQUERY name="myQuery"...>
SELECT .... from ... where...
ORDER BY car_num, color_num
</cfquery>
<cfoutput
query="myQuery" group="car_num">
<!--- concat the colors into a string for display --->
<cfset tempColors = "" /><cfoutput><cfset
tempColors = listAppend(tempColors, color_num, ", ")
/></cfoutput>
#car# - #ListChangeDelims(tempColors, ", ")#<br />
</cfoutput>
HTH,
CR -
How to generate XML file from oracle database query result
Hi dudes,
as stated on the subject, can anyone suggests me how can i achieve the task stated above??
Here is a brief description of my problem:
I need to create a XML file once i query from the oracle database, and the query result returned from the database will be stored in XML file.
I'd searched around the JAXB, DOM, SAXP and the like basic concepts, but i still don't know how to start??
Any suggestions ???Read this:
http://www.cafeconleche.org/books/xmljava/chapters/ch08s05.html
You might have to read more of the book to understand that chapter. -
Query result in application server as a .CSV file
HI
Can any one tel me how can i place the query result in application server as a .CSV file.
when am executing WRITEQUERY program it asking query name and displaying result in excel sheet, i don't what is next step to keep file in app server.
read writequery prog,it is genrated in excel sheet, now i need to send that data to application server path in csv format
actually i am not able to get the internal table in writequry where the query data is stored.
please provide me the sample code i can understand. plz.
plz do favour for me, take this high priority and asap.
Thanks a lotHI,
Actually i don't want how to create abap querey,
My requirment is, WRITEQUERY program wherenever we r excuting it vil display qurery data in excel format,
now i don't want any excel format display, I need that data, should go to application server in .CSV format.
Actually i am not understanding writequere program, in that which internal table i have to pass application server.
PLz give me reply anyone
Help me out . -
Using Query Results in Queries
I understand how to "Using Query Results in Queries" through
this link:
http://www.adobe.com/livedocs/coldfusion/5.0/Developing_ColdFusion_Applications/queryDB11. htm;
However, does anyone know how to do this inside a component?
note: the first query gets parameters through a form and the second
query is called through a grid bind.I didn't read the link, but there are two ways to use query
results in other queries. At least two that I know about.
One is to use valuelists. Since your link was for Cold Fusion
5, that's probably what they mentioned.
The other is with Query of Queries.
You do it in a component the same way you do it in a
template. -
Trouble understanding static objects
Hello,
I have trouble understanding static objects.
1)
class TestA
public static HashMap h = new HashMap();
So if I add to TestA.h from within a Servlet, this is not a good idea, right?
But if I just read from it, that is ok, right?
2)
class TestB
public static SimpleDateFormat df = new SimpleDateFormat();
What about TestB.df from within a Servlet? Is this ok?
example: TestB.df.format(new Date(1980, 1, 20));There is exactly one instance of a static member for every instance of a class. It is okay to use static members in a servlet if they are final, or will not change. If they may change, it is a bad idea. Every call to a servlet launches a new thread. When there are multiple calls, there are multiple threads. If each of these threads are trying to make changes to the static memeber, or use the static memeber while changes are being made, the servelt could give incorrect results.
I hope that helped..
Thanks
Cardwell -
Exporting BEx Query results to CSV or other files.
Hi All,
We have a report designed in WAD, which uses a BEx query to display department’s information. Because of amount of data in the results it crashes when u get all the Free Characters into ROWS(Error is : Result set too large(552244 cells); data retrieval restricted by configuration (maximum =500000 cells). It is a requirement from the user to have all the free characteristics in the rows( which I can understand is not the right way to go ahead). As it is crashing when you add last characteristic(WBS Purpose) into the rows, they aren’t able to export data into spread sheet from the results. (as there are no results)
Now my question is…..is there any way we can export the results from BEX query into any format for example text or csv? If yes, can we schedule that process? Please note that this characteristics are displayed as hierarchies.
Am new to SAP BW and its been only six months since I have been in this role. Any help would be much appreciated???
I looked online and some where in the forum it was mentioned of using program RSCRM_BAPI, but looks like it needs some sort of downloads from SAP.
Is there any other way to export the BEx query results?
Cheers
SandeepHello Sandeep,
You can use the Item "Context Menu" in your WAD and in the properties by default you can see the Options:
Export to Excel & Export to CSV will be there and also there are many options which you wanted to see.
It works for you!!!
With Regards,
PJ. -
Question about different query results with wildcard
Hi, I'm working with a third party app on SQL Server 2000, and from what I can gather, programmed in C# & VisualFoxPro.
When we search with
Note contains 94949
we get 571 results, when we search with
Note contains 94949*
we get 575 results.
There should be at least a hundred different entries that start with "94949-1" so I expected the query with the wildcard to return something like 680 results, not an additional four rows.
Searching with
Note contains 94949-1*
got 483 results
Note contains 94949-10*
got 0 results
Could someone explain or point me to more documentation on the difference results we get?
ThanksHi Arnie, thanks for your response.
My situation is more basic than what appears in your example. Unfortunately, I am working solely through this application so I do not have access to the SQL to test out what you supplied, so my question is more of a need for an explanation of the search results. I do find lots of references to LIKE, Wildcards and pattern matching, but I don't find a way to explain to the users the best and most complete way to search. They mostly need a "this will always get us the results without missing anything" search technique and then to be able to select from a smaller group. I guess I need a basic course in understanding search results: how to get different ones and what they mean.
Using
Note contains 94949-'%'
returned one more result than when using an asterisk. I don't understand this difference.
Note contains 94949-'%1' or
Note contains 94949-'1%'
brings nothing nor does not using quotes. But there are hundreds of records which have the string starting with 94949-1 and a varying number of characters after that.
?Does the dash read not as a character in the string but as an expression?
When I use WITHIN 3 characters, I get too few results (eight). If I use AND, I get text unrelated to the account number I am looking for.
Again when I tried to narrow the search by adding one digit to the string to be matched, I did not get any results, but 500 results from the more general search is too much to scan by opening individual records.
Thanks for pondering this with me. -
Problems exporting query results to Excel
Hi!
I hope you can help me
We have a web template that uses the class ZVIG_ART that we created in the transaction SE24, this class display some label in the query
results, the problem is when we export this report to excel the label disappear. The numbers indicates the stock of the item and the label N/V indicates that the item is not in the store's catalog. Another case is that we can have N/V items but with stock, for example the ITEM2 of the STORE3 with the label N/V-1piece. How can we export this label to EXCEL?
| STORE1 | STORE2 | STORE3
ITEM1 | 10 PIECES | N/V | 20 PIECES
ITEM2 | 11 | 20 | N/V-1PIECE
Thanks in advanced.
Veronica B.Hi Mari,
Thanks for the reply.
I can understand the resason for not being able to change the Posting Date. But what are the reasons for not being able to change the Document Date? What is the fiscal reason for not being able to change the Document Date? Please provide an example. Reversing the document doesn't work in this case as the SQ01 report would still include the incorrect date.
Regards,
Gary -
Ps query results to xml using xml link function registry
In People tools version 8.46 we need something like where the ps query result output is in the form of XML so that it can be used for external system. The catch I cannot use webservices. It is something like opening peoplesoft queires form excel using hyperlink but in this case we need xml. I looked at David Vandiver's Excel XML libraries which open the data in excel but is there something where the hyperlink output is xml using xml link function registry. I have capatured the data in rowset and now need to create mime type of xml to write the data
thanks in advance
vinnIf I understand correctly, you want to use something like Microsoft Excel's web queries to get data from a PeopleSoft query in XML format. I have never done this before, but if I were to implement this, here is what I would do in PT 8.46:
1. Create an unstructured message in app designer.
2. Create a user that only has access to the queries you want to expose to Excel
3. Write synchronous message handler PeopleCode to call SwitchUser to switch to a specific query user rather than the generic integration broker user and execute a query, returning the results in XML (see [Query.RunToRowsest|http://download.oracle.com/docs/cd/E13292_01/pt849pbr0/eng/psbooks/tpcr/htm/tpcr31.htm#d0e113933] for an example).
4. Call the message through IB using the HTTP GET URL format as defined in PeopleBooks: [http://download.oracle.com/docs/cd/E13292_01/pt849pbr0/eng/psbooks/tibr/book.htm?File=tibr/htm/tibr33.htm#H4026|http://download.oracle.com/docs/cd/E13292_01/pt849pbr0/eng/psbooks/tibr/book.htm?File=tibr/htm/tibr33.htm#H4026]. -
RE: Load of query results
Hi Patrice,
Currently, there is little difference between the enterprise edition and
the standard edition as you pointed out. However, over time, we expect
to see some major differences as we add fucntionality that is more
suited for enterprise application - caching is one of these major
differences.
We are staggering the release of the SE and EE versions for several
reasons: 1) we believe the EE needs to have additional functionality to
justify the two versions and what will be 2 different price points; 2)
we are hopeful that the specification is finalized shortly - we feel a
certain discomfort with releasing an "Enterprise" version based on a
Draft specification; and 3) we are using the SE version to better
understand the market and the needs of the EE customers. We've put out
the EE beta to inform those interested in the EE version that one will
be available.
No, we do not have a reseller in France at this time although we have
some development that takes place in Paris. We are definitely
interested in developing business development relationships throughout
the world to penetrate this market as efficiently as possible. Do you
have any suggestions on resellers in France?
Thanks for your interest.
Neelan Choksi
The Kodo JDO Product Team
-----Original Message-----
From: Patrice Thiebaud
To: Choksi, Neelan
Sent: 8/13/01 1:18 PM
Subject: RE: Load of query results
Choksi,
Thank you for the information.
I have the additional three following questions :
in my understanding :.. the Enterprise Edition currently only adds the synchronization with
the transaction manager of an application server
.. the JDO specification also mandates the use of a JCA adapter in the
context of a managed environment
- are you going to provide also a JCA adapter that could use any JDBC
driver ?
- how come that there is such a time interval between the GA dates of SE
and EE ?
do you have a reseller in France ? If not, are you looking for one ?Thanks in advance.
At 22:14 11/08/2001 -0400, you wrote:
Hi Patrice and all,
We are planning on releasing Kodo JDO Standard Edition in late August or
early September. We have not determined a release date for the
Enterprise
Edition (likely towards the end of the year).
Thanks,
Neelan Choksi
Kodo JDO Product Team
-----Original Message-----
From: White, Abe [ mailto:[email protected]
<mailto:[email protected]> ]
Sent: Friday, August 10, 2001 10:30 AM
To: JDO-ListServ
Subject: RE: Load of query results
Could you please clarify exactly what you mean by an 'automatic load' of
query results? And in what way is the 'resource manager' (db?) accessed
for each query object returned?
When Kodo issues a query it selects all fields of the expected result
class that lie in the primary table used by that type (with the
exception of LOB fields). Thus the objects returned by the query
already have all of their data filled in that is accessible with a
single SELECT. Additional queries are made only if you access fields of
an object that do not lie in its primary table, such as Collections,
arrays, Maps, and relations to other persistent objects.
Is that what you meant?
Whatever you mean, our goal is to implement the entire JDO
specification, including as much optional behavior as is useful to our
customers.
I'll have someone from marketing get back to you with the GA schedule.
-----Original Message-----
From: Patrice Thiebaud
To: [email protected]
Sent: 8/10/01 5:08 AM
Subject: Load of query results
Hi,
The final JDO specification is likely to support the need for having an
automatic load of query results, probably through a property (thus
answering a performance optimization need, as it is better to avoid
futher
access to the resource manager for each object used).
Will the GA version provide this feature ?
By the way, is it possible to know the scheduled date for GA ?
Thanks in advance.
BEA Systems : How Business Becomes E-Business
Patrice Thiebaud - Presales Senior Consultant
BEA Systems - France
Tour Manhattan
6 place de l'Iris
92095 PARIS La D__fense C__dex
Tel: 33 1 41 45 70 27 Mobile: 06 08 05 95 95
BEA Systems : How Business Becomes E-Business
Patrice Thiebaud - Presales Senior Consultant
BEA Systems - France
Tour Manhattan
6 place de l'Iris
92095 PARIS La D__fense C__dex
Tel: 33 1 41 45 70 27 Mobile: 06 08 05 95 95I have tested Oracle only. Teradata has a "sample" command and I would hope that Web Intelligence would use that. The Oracle method involves the dbms_random package to assign each row a random number, then the query is sorted by that number and a limit is placed for the sample size.
I have not written about this on my blog yet, but it could be an interesting topic. Thanks for the suggestion. -
Hi,
The final JDO specification is likely to support the need for having an
automatic load of query results, probably through a property (thus
answering a performance optimization need, as it is better to avoid futher
access to the resource manager for each object used).
Will the GA version provide this feature ?
By the way, is it possible to know the scheduled date for GA ?
Thanks in advance.
BEA Systems : How Business Becomes E-Business
Patrice Thiebaud - Presales Senior Consultant
BEA Systems - France
Tour Manhattan
6 place de l'Iris
92095 PARIS La D__fense C__dex
Tel: 33 1 41 45 70 27 Mobile: 06 08 05 95 95Hi,
According to your description, my understanding is that when you use Angularjs to delete item then it throws the 412 error.
for the IF-MATCH in the delete method, it needs to contain in the headers like below:
'delete': { method: 'DELETE', headers: { 'Accept': 'application/json;odata=verbose', 'content-type': 'application/json;odata=verbose', 'X-RequestDigest': $("#__REQUESTDIGEST").val(), 'IF-MATCH': '*' } }
Here is a similiar thread for your reference:
SharePoint/Angular can't delete item - Error 412
Thanks
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
QA: Designer's operation to Add one more Field to display in Query Result Web Part
QUESTION ABOUT Query Result Web Part presentation +1 Field
I'd be looking at a property of Web Part to look up Discussion Board through Query Result Web Part. Currently it displays 'Title' column of Discussion Board, and my caring requirement is presentation customization to hold double
columns of 'Title'+'Updated Date'. How could I add one more field 'Updated Date' to display in addition to that preexisting 'Title' field?
Any procedural steps to realize how to add Filed to display in Query Result Web Part?Hi Yoshihiro,
As I understand, you want to add the field to display in Query Result Web Part in SharePoint 2013.
Which web part does you use? Content query web part or search results web part?
If you use search results web part, you could edit the discussion board result template and add the updated field in the template.
You could go to Design Manager: Edit Display Templates (site setting-> look and feel->design manager->edit display template), download the Discussion Item.htm file, and edit the file.
After editing, upload the file.
The articles below are about how to modify an existing Display Template in SharePoint 2013.
http://www.learningsharepoint.com/2012/09/17/sharepoint-2013-the-new-display-templates-for-styling-your-content/
http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/08/01/sharepoint-2013-customize-display-template-for-content-by-search-web-part-cswp-part-1.aspx
If you use content query web part, you could edit the content query web part, in the Property Mappings section select the “Change the mapping of managed”, and add the “modifiedOWSDATE” (it means the last modified date) in the line, after
that you could see the update date under the title.
Best regards,
Sara Fan
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Howto handle persistence API query result list
Hello.
I need some advice on how to handle a persistence API query result List since the Object variable returned by the "list.get(i)" method cannot be cast to an EntityClass declared by the EntityClassManager.
The piece of code below might help you understand my exact problem.
EntityManagerFactory emf = Persistence.createEntityManagerFactory("SporTakipPU");
EntityManager em = (EntityManager) emf.createEntityManager();
Query q1 = em.createQuery( "SELECT d.id, d.date, c.name, c.sirname FROM Log d, Kisi c WHERE d.id = :id AND c.id = :id" );
q1.setParameter( "id", argument );
List logList = q1.getResultList();
Log log = (Log) logList.get(1);
In this code i cannot cast Object to Log in the last line. Apparently this has something to do with the query.
Trying to solve this problem i declared two private string variables name and sirname and their set and get methods but this didn't help.
Thanks...Entity Class : ReportView
===================
@Entity
@Table(name = "dummy")
public class ReportView implements Serializable {
@Id
@Column(name = "id", nullable = false)
private Integer id;
// getter , setter
SessionBean : ReportSessionBean
==========================
public List<ReportView> getReports() {
Query q = em.createNativeQuery("SELECT ID FROM REPORT", ReportView.class);
List<ReportView> r=(List<ReportView>)q.getResultList();
return r;
JSF / Back Bean : ReportBackBean
==========================
public class ReportBackBean {
@EJB
private ReportSessionRemote reportSessionBean;
/** Creates a new instance of ReportBackBean */
public ReportBackBean() {
public List<ReportView> getReports() {
return reportSessionBean.getReports();
JSF
===
<f:view>
<h:dataTable value="#{ReportBackBean.reports}" var="report" border="1">
<h:column>
<h:outputText value="#{report.id}"/>
</h:column>
</h:dataTable>
</f:view>
Regards,
Telman
.. -
Desktop apps: Report Builder 3.0 (x86) that does not let me allow query result which I created Customers Report. Here is the error message returns as following.
Database query from: AdventureWorks2014
System.Web.Services.Protocols.SoapException: The permissions granted to user 'SQLServer2014\Mubs' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to
user 'mujb-HP\mujb' are insufficient for performing this operation.
at Microsoft.ReportingServices.Library.ReportingService2010Impl.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings)
at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings)
The permissions granted to user 'mujb-HP\mujb' are insufficient for performing this operation.
Is there anybody help me out, pl
My MSSQL Server express 2014 edition x64 and My desktop "Report Builder (RB) 3.0' is 32bit (x86).
Does Report Builder x64 exist? I didn't see anywhere so I downloaded x86 RBHi mujb,
Per my understanding you are using the report builder 3.0 to design the report and when you click the query designer button to execute the query you got the error message above, right?
I have tested on my local envornment and your issue can be caused by the user "SQLServer2014\Mubs" and "mujb-HP\mujb" haven't grant permission to the report server or the shared dataeource/dataset if you have used this.
I would like to confirm if you have assigned both the Item-Level and System-Level role of the user above to sucessfully access the report server, If you haven't grant any access to the above user and when you connect to the report server in the report builder,
you may got the error message:
More details information below for your reference:
Please execute the query in the microsoft SQL Server Management Studio to see if you have permission to execute the query.
If the query works fine in step1, please run the report builder as Administrator and if you are using the shared datasource/dataset the issue can be cause by the you haven't grant access the share datasource, Double click to open the Datasource
and click the "Test Connection" as below to test if it can connect successfully:
If the "Test Connection" failed, please click the shared datasource/dataset on Report Server to check if you have grant correct permission.
Related information about the grant permission to report server for your reference:
https://msdn.microsoft.com/en-us/library/ms156034.aspx
http://www.allenkinsel.com/archive/2013/01/adventures-in-ssrs/
If your issue still exists, please try to provide more details information.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support
Maybe you are looking for
-
IPod Nano Update to 1.3 causes corruption
My nano was originally formatted with my old mac laptop. Now I have a PC laptop at home. A PC has never had a problem reading the ipod. Tonight, iTunes said there was an update, 1.3, for the ipod. So I updated. Once it was done running the update, iT
-
Hai Guys, What is the procedure to create my own Purchase group? Kindly let me know the Steps.. Regards Jino.
-
Will the iPhone 5S and C be compatible with Wind mobile
i saw the us and canadian tech specs for the 5s and c and they are the same. since tmobile is selling the new iphones i am assuming they will work on wind mobile network in canada. can someone confirm
-
My iMac has the No sign at the grey screen and won't boot up.
It's been acting strange lately-- I tried to run DiskWarrior 3 yesterday and it wouldn't boot up from the CD-- I did the hold down the C key as well as going in and clicking off the 'ignore' box. I thought that it was because I needed a newer versio
-
I want to open ERP Opportunity by ITS
Hi, all I want to realize the following. I register an ERP QUOTATION by a follow-up from an Opportunity in CRM7.0. When I opened from a transaction history of Opportunity, I want to show an ERP Opportunity via ITS of the ERP. Therefore I carried out