Query re permissions result!
Hi all, hope you can help! On verifiying permissions on my MP i go the followig result:
Verify permissions for “Disc 3”
Permissions differ on "private/var/log/secure.log", should be -rw------- , they are -rw-r----- .
Warning: SUID file "System/Library/CoreServices/RemoteManagement/
ARDAgent.app/Contents/MacOS/ARDAgent" has been modified and will not be repaired.
Should I be concerned about any of these results as they seem to be referring to security. i'm still a relative newbie to the Mac platform so please excuse me if I have misunderstood this data. I'm not so worried about the ARDAgent issue (although it would be nice to know what it mean't) as other members have got this warning, but the first issue might be of concern (I don't like seeing references to security that iI don't understand!
Hope you can advise, Denis.
Thank you Niel' That's the answer i'd hoped for! I expect these minor issues will be resolved in the first few updates and by Ver 10.5.3 everything will be as it should be.
Thanks again
Denis.
Similar Messages
-
Unable to access Query Rules and Result Sources in SSA
I have access to our Search Service Application (SSA) within Central Administration. I am able to get to all of the options within Search Administration except for Query Rules and Result Sources. Does this require farm admin access or is there
something special that needs to be done for access to these two areas? I can get to all of the Diagnostics, Crawling, and the other Queries and Results options without issue. Our farm admin has been looking at it, but we have not been able to determine
why my access is not allowing me to get to those options. Any info you may have about this will be much appreciated.
Thanks!
BrianHi scalawagd,
This issue seems to be about permissions. Please add the user into the search service administrator group and give him full control, compare the result. You can try to give the user permission like the screenshot:
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
Same query giving different results
Hi
I m surprised to see the behaviour of oracle. I have two different sessions for same scheema on same server. In both sessions same query returns different results. The query involves some calculations like sum and divisions on number field.
I have imported this data from another server using export / import utility available with 9i server. Before export every thing was going fine. Is there some problem with this utility.
I m using Developer 6i as the front end for my client server application. The behaviour of my application is very surprizing as once it shows the correct data and if I close the screen and reopen, it shows wrong data.
I m really stucked with the abnormal behaviour. Please tell me the possiblities and corrective action for these conditions.
Regards
Asad.There is nothing uncommitted in both the sessions. But still different results are returned.
I m sending u the exact query and result returned in both sessions.
Session 1:
SQL> rollback;
Rollback complete.
SQL> SELECT CC.CREDIT_HRS,GP.GRADE_PTS
2 FROM GRADE G, COURSE_CODE CC, GRADE_POLICY GP
3 WHERE G.COURSE_CDE=CC.COURSE_CDE
4 AND G.SELECTION_ID=45 AND G.GRADE_TYP=GP.GRADE_TYP
5 AND G.TERM_PROG_ID=17 AND GP.TERM_ID=14
6 /
CREDIT_HRS GRADE_PTS
3 4
4 3.33
4 3.33
3 4
3 4
3 4
3 4
7 rows selected.
SQL>
SESSION 2:
SQL> rollback;
Rollback complete.
SQL> SELECT CC.CREDIT_HRS,GP.GRADE_PTS
2 FROM GRADE G, COURSE_CODE CC, GRADE_POLICY GP
3 WHERE G.COURSE_CDE=CC.COURSE_CDE
4 AND G.SELECTION_ID=45 AND G.GRADE_TYP=GP.GRADE_TYP
5 AND G.TERM_PROG_ID=17 AND GP.TERM_ID=14
6 /
CREDIT_HRS GRADE_PTS
3 4
4 3.33
3 4
3 4
3 4
3 4
6 rows selected.
SQL>
U can see in session 1, seven rows are returned while in session 2 six rows are returned. I have issued a rollback before query to be sure that data in both sessions is same. -
Passing Parameters to SQL Query and Displaying Result
The user enters a serial number in a text box and then pushes a button to get info about the serial number. I do this with two regions. The first region has the text box and the button. The second region is a Report type region and contains the following SQL:
select case
when "WARRANTYSTATUS"."OUTOFWARRANTYDATE" >= sysdate then
'Serial Number '||"WARRANTYSTATUS"."SERIALNUMBER"||' is in warranty.'
else
'Serial Number '||"WARRANTYSTATUS"."SERIALNUMBER"||' is out of warranty.'
end as "The result is:"
from "WARRANTYSTATUS"
where "WARRANTYSTATUS"."SERIALNUMBER" in (:P1_SERIALNUMBER)
For a single serial number of the form CU5-0799 every thing works. I am a little suprised this works because the SERIALNUMBER in the WARRANTYSTATUS table is of type varchar2 which means the serial number in the where clause must be surrounded by single quoties. Not sure where the single quoties are being added.
However, what I like to do is to enter more that one serial number, seperated by commas, in the same text box, and then the query return a result for each serial number. What I would like to enter is:
CU5-0799, CU5-07132, CU5-89345
The problem is this string of three serial numbers will needs to be have single quotes around each serial number at the level of the sql statement. So the question is how do I make this work?? Thanks for the help in advance.Bob,
If you would change your OTN handle to something more mnemonically friendly, that would help us. Thanks.
This topic is addressed fully, with various techniques described, here: Re: Search on a typed in list of values .
I am a little suprised this works because the SERIALNUMBER in the WARRANTYSTATUS table is of type varchar2 which means the serial number in the where clause must be surrounded by single quoties.
Not true. Quotes are used for literals, not bind variables.
Scott -
Hello,
Is it possible to submit a list item and at same time query/search the results if parameters are matched.
Example - user logon to site enter search parameters and hit submit button. Once done parameters gets saved in list and shows search results on page. I have been asked to do this with
SP designer and InfoPath doesn’t work due items limits.
Please suggest.
Thanks,
Manish
ManishHi Manish,
may i ask if you need,
when user account click the login button, it will be authenticate the user and then it will show search result page?
may i know how the keyword of words to be put? is it together with the user account box, password and keyword?
or it will be like, after user authenticate, it will redirect to search page, so that user may use the search page to input the keyword?
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Same Query returning different result (Different execution plan)
Hi all,
To day i have discovered a strange thing: a query that return a different result when using a different execution plan.
The query :
SELECT *
FROM schema.table@database a
WHERE column1 IN ('3')
AND column2 = '101'
AND EXISTS
(SELECT null
FROM schema.table2 c
WHERE a.column3 = SUBSTR (c.column1, 2, 12));where schema.table@database is a remote table.
when executed with the hint /*+ ordered use_nl(a c) */ these query return no result and its execution plan is :
Rows Row Source Operation
0 NESTED LOOPS (cr=31 r=0 w=0 time=4894659 us)
4323 SORT UNIQUE (cr=31 r=0 w=0 time=50835 us)
4336 TABLE ACCESS FULL TABLE2 (cr=31 r=0 w=0 time=7607 us)
0 REMOTE (cr=0 r=0 w=0 time=130536 us)When i changed the execution plan with the hint /*+ use_hash(c a) */
Rows Row Source Operation
3702 HASH JOIN SEMI (cr=35 r=0 w=0 time=497839 us)
22556 REMOTE (cr=0 r=0 w=0 time=401176 us)
4336 TABLE ACCESS FULL TABLE2 (cr=35 r=0 w=0 time=7709 us)It seem that when the execution plan have changed the remote query return no result.
It'is a bug or i have missed somthing ?
PS: The two table are no subject to insert or update statement.
Oracle version : 9.2.0.2.0
System version : HP-UX v1
Thanks.H.Mahmoud wrote:
Oracle version : 9.2.0.2.0
System version : HP-UX v1Hard to say. You're using a very old and deprecated version of the database, and one that was known to contain bugs.
9.2.0.7 was really the lowest version of 9i that was considered to be 'stable', but even so, it's old and lacking in many ways.
Consider upgrading to the latest database version at your earliest opportunity. (or at least apply patches up to the latest 9i version before querying if there is bugs in your really low buggy version) -
Problem of running the jump query from the result line
Dear expert,
I have a problem when running a jump query from the result line. Apparently, the values of the caracteristics haven't been sent to the jump target. However, the configuration in RSBBS seems to be good as the jump works well from the other lines.
Does anyone have some ideas on that?
Thanks in advance!Hi,
If you are supposed to bring across characteristic values to your target, then you will not be able to jump from the result line. The configuration expects that the values of the characteristic marked as being used in the jump are filled with unique values. When you use the result line as a source for your jump, the values in the result line will most likely be based on the sum of multiple characteristic values.
Hth,
-Jacob -
How To Make Search Query Showing the Result As List of Buttons.
Can some one give me an idea how to start to make a Search Query showing the results as list of buttons.. i have already have my buttons with names. i just dont know how to make a search query.
this is my on screen keyboard i made..
im making a system that the result were a list of buttons.. showing like this
This was supposed to be the output of the query that i need to do..
Please help me.. i just need a idea or tips how to make this one.Here is code I posted recently for another question
Public Class Form1
Const BUTTON_SIZE As Integer = 20
Const SPACE As Integer = 5
Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Dim buttons As New List(Of List(Of MyRadioButton))
For row = 1 To 6
Dim newRow As New List(Of MyRadioButton)
buttons.Add(newRow)
For col = 1 To 6
Dim button As New MyRadioButton()
button.row = row
button.col = col
button.Height = BUTTON_SIZE
button.Width = BUTTON_SIZE
button.Left = col * (BUTTON_SIZE + SPACE)
button.Top = row * (BUTTON_SIZE + SPACE)
button.Name = String.Format("radGr1{0}_{1}", row.ToString(), col.ToString())
Me.Controls.Add(button)
newRow.Add(button)
AddHandler button.CheckedChanged, AddressOf Radio_Change
Next col
Next row
End Sub
Private Sub Radio_Change(ByVal sender As Object, ByVal e As System.EventArgs)
Dim button As MyRadioButton = CType(sender, MyRadioButton)
Dim row As Integer = button.row
Dim col As Integer = button.col
End Sub
End Class
Public Class MyRadioButton
Inherits RadioButton
Public row As Integer
Public col As Integer
End Class
jdweng -
Can i query from a results which got from another query?
if i query a container and i get a results,then if i want to query in the results,can i?and how to do it?
thanks a lot!Hi Turingcat,
In the dbxml shell you can use contextQuery. Here is an example on a test container holding the following documents:
dbxml> getDocuments
4 documents found
dbxml> print
<doc><node><aa>1</aa><bb>2</bb></node><node><aa>3</aa><bb>4</bb></node><node><aa>5</aa><bb>6</bb></node></doc>
<doc><node><aa>1</aa><bb>2</bb></node><node><aa>3</aa><bb>4</bb></node></doc>
<doc><node><aa>1</aa><bb>2</bb></node><node><aa>3</aa><bb>4</bb></node><node><aa>5</aa><bb>6</bb></node><node><aa>7</aa>
<bb>8</bb></node></doc>
<doc><node><aa>1</aa><bb>2</bb></node></doc>, that first retrieve all the documents that have a <bb>6</bb> node:
dbxml> query "for $i in collection('mnodes.dbxml')/doc where $i/node/bb=6 return $i"
2 objects returned for eager expression 'for $i in collection('mnodes.dbxml')/doc where $i/node/bb=6 return $i'
dbxml> print
<doc><node><aa>1</aa><bb>2</bb></node><node><aa>3</aa><bb>4</bb></node><node><aa>5</aa><bb>6</bb></node></doc>
<doc><node><aa>1</aa><bb>2</bb></node><node><aa>3</aa><bb>4</bb></node><node><aa>5</aa><bb>6</bb></node><node><aa>7</aa>
<bb>8</bb></node></doc>and afterwards, queries the result set and retrieves the document(s) that has a <aa>7</aa> node:
dbxml> contextQuery "let $s:= . where $s/node[aa=7] return $s"
1 objects returned for expression 'let $s:= . where $s/node[aa=7] return $s'
dbxml> print
<doc><node><aa>1</aa><bb>2</bb></node><node><aa>3</aa><bb>4</bb></node><node><aa>5</aa><bb>6</bb></node><node><aa>7</aa>
<bb>8</bb></node></doc>Now, using the APIs, C++ or Java, you can achieve this functionality by obtaining a result set (either through an XmlQueryExpression.execute() call or an XmlManager.query() call), and than constructing an XmlQueryExpression which will be used while iterating the result set to query against each XmlValue context item (the XmlQueryExpression.execute() forms of the method with an XmlValue &contextItem parameter).
Regards,
Andrei -
LIMIT IN QUERY TO LIMIT RESULTS
I was reading the article here:
http://www.inquiry.com/techtips/oracle_pro/10min/10min1200/10min1200-3.asp
I am working from an oracle 8i database with a few thousand records in it.
Can you help me out here? I tried the example method, and it appears to me that it is only returning sets of data
that are below the ROWNUM I request. For example, if I use .... WHERE ROWNUM<100 ... It looks like it only gets data from the first 100 rows of the table instead of a count of the query's result row numbers.
When I put a very loose term into the search, it should return the max, 100 lines, but only returns 87. I know one query produces 156 results, but this limit cuts off at 60.
I really would like to be able to show 30 results per page and have users click 'next page' to view the next 30. It seems absurd to me that with Postgress, or MySQL I can do this very easily with ... LIMIT 100,30 .... Oracle DB does not have the capability? I don't know.
Please, if you know you can help. (PLEASE!)Perhaps a less offensive way to put it might have been simply to ask, "does anyone know how to do this in Oracle as I am relatively inexperienced in this environment" instead of "It seems absurd to me that with Postgress, or MySQL I can do this very easily with ... LIMIT 100,30 .... Oracle DB does not have the capability?". The implication is clearly that these other environments are superior, which is offensive, especially when avowed by someone who has demonstrated his limited knowledge of Oracle.
-
Hi All,
We are using SQL Server 2012. We have Table1 like below.
Table1:
SecurityKey
Description
PID
110
qqq
1
111
ddd
1
112
fff
1
113
vvvv
1
114
bbb
1
115
ggg
1
116
hhhh
1
One of the third party system adds records into the following table like this.
Table2
ID
MasterID
Type
Amount
SecurityKey
Date
TransNum
1
110
Buy
600
0
01/13/2014
2178
2
111
Buy
100
110
01/13/2014
2179
3
112
Buy
200
110
01/13/2014
2180
4
113
Buy
300
110
01/13/2014
2181
5
114
Sell
100
110
01/14/2014
6
115
Sell
200
110
01/14/2014
7
116
Sell
300
110
01/14/2014
In above table, primary key is combination of ID, MasterID and Type. All ‘Buy’ type transactions are entered into Table2 by Vendor system by running scheduled job. SecurityKey 110 has child records. So, in Table2, 111, 112, 113 belong to 110. Next day, another
system creates exact matching ‘Sell’ transactions to all buy transactions except for parent (here record with MasterID 110). When ‘Sell’ transactions are created, TransNum is not populated.
I need to write a select query in such a way that I need to get all ‘Buy’ Transactions for a particular date and get corresponding ‘Sell’ Transactions with TransNum populated.
The result set should look like this.
2
111
Buy
100
110
01/13/2014
2179
3
112
Buy
200
110
01/13/2014
2180
4
113
Buy
300
110
01/13/2014
2181
5
114
Sell
100
110
01/14/2014
2179
6
115
Sell
200
110
01/14/2014
2180
7
116
Sell
300
110
01/14/2014
2181
How can I write select query to get result set above by applying ‘Buy’ transaction TransNum to
corresponding ‘Sell’Transaction. I see only amount and SecurityKey as joining columns.
Thanks,
Spunny;With CTE
AS
SELECT ROW_NUMBER() OVER (PARTITION BY SecurityKey,Type ORDER BY MasterID) AS Seq,*
FROM Table2
WHERE SecurityKey > 0
SELECT t1.ID,
t1.MasterID,
t1.Type,
t1.Amount,
t1.SecurityKey,
t1.[Date],
COALESCE(t1.TransNum,t2.TransNum) AS TransNum
FROM CTE t1
INNER JOIN CTE t2
ON t1.SecurityKey = t2.SecurityKey
AND t1.Seq = t2.Seq
AND t2.Type = 'Buy'
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Content Query Web Part results blank for users
I have constructed a customized CQWP on a site accessed by all staff. The web part queries a separate site that the staff does not have permissions to as a whole. They do however have permissions on the list that is contained within the queried
site. The content query works when I am logged in as admin, but not when I am logged in as a staff member. I can browse directly to the queried list as a staff member without issue, so the permissions are working. I started with read access
on the list for staff but bumped it up all the way to full control in troubleshooting with no change in result.
The CQWP uses a custom xsl style sheet and property modifications in the .webpart file. I am using Sharepoint Online.Hi,
When you access directly to this list, could you see the items or files inside ?
Regards.
Gilles Martinez
Twitter
Blog
Please mark as helpful/answer if this resolved your post -
Simple Query returns no result
We have a problem with a simple query on a "old" Table in our Database. The Table has following Structure:
CREATE TABLE <table_name>
ROLE_ID INTEGER NOT NULL,
ROLE_NAME VARCHAR (99) ascii NOT NULL,
OBJECTDATA LONG BYTE,
UNIQUE (ROLE_NAME)
The table containts two rows and following querys get these results:
select role_id, role_name from <schema>.<table_name>
--> 2 rows
select role_id, role_name from <schema>.<table_name>
order by role_id
--> 2 rows
select role_id, role_name from <schema>.<table_name>
order by role_name
--> 0 rows ?? confusion
When we create a "new" table with the same structure, and insert the same content to this new table, the queries are working correctly.
What happened with our "old" table, so that these simple queries don't function anymore?
(Database Kernel 7.6.05 Build 009-123-191-997)
thx
gerri
Edited by: Gerfried on Jul 17, 2009 11:42 AMOk, Gerfried send me the dump file and this is what was in it:
INV ROOT/LEAF 15857 perm entries : 0 [block 0]
bottom : 81 filevers: dummy convvers: 9
writecnt: 1
00001 nodepage.pno: 15857 nodepage.pt : data
00006 nodepage.pt2: inv nodepage.chk: checksumData
00008 nodepage.mde: empty
08181 nd_checksum : 61937 nodepge2.pno: 15857
08189 nodepge2.pt : data nodepge2.pt2: inv
08191 nodepge2.chk: checksumData
08192 nodepge2.mde: empty
00009 nd_bottom : 81 nd_rec_cnt : 0
00017 nd_level : 0
00019 nd_filestate: empty
00020 nd_sorted : false nd_root : 15857/F13D0000
00025 nd_right : nil_pno nd_left : nil_pno
00033 nd_last : nil_pno nd_conv_vers: 9
00045 nd_str_vers : nil_pno nd_file_vers: dummy
00052 ndPageVersio: 0 nd_inv_usage: 0
00057 nd_leaf_cnt : 1 nd_treeleavs: nil
00065 nd_trans_id : nil ndInvRoot : nil_pno
00077 nd_write_cnt: 1
END OF FILE
Obviously the reason for not delivering any data for the query is: this index is empty.
See "nd_filestate: empty" !
For some reasons (that I really don't know - sorry about that) this index had not been maintained anymore, since a very long time.
"nd_conv_vers: 9" tells us that it was the 9th savepoint that wrote down this page to the disks and that it had not been touched since then.
To view the current converter version you may just use the db_restartinfo command in dbmcli.
If you were a SAP customer the next thing I'd check would be with which database version these indexes had been created, what the internal file state is etc. - just to figure out the root cause.
As such an analysis is basically not possible via this forum all I can propose is to look for those indexes (containing 0 entries although the table has more rows) and rebuild them.
This statement should do the trick:
select i.owner, i.indexname, i.tablename, if.*
from files if join files tf on if.primaryfileid=tf.fileid
join indexes i on if.fileid=i.fileid
where if.entrycount =0
and if.type ='INDEX'
and tf.entrycount >0
best regards,
Lars -
Oracle function and query return different results
Hi, I am using oracle 10g database.
Function is :
create or replace FUNCTION FUNC_FAAL(myCode number,firstDate date
*, secondDate date)*
RETURN INTEGER as
rtr integer;
BEGIN
select count() into rtr*
from myschema.my_table tbl where tbl.myDateColumn between firstDate and
secondDate and tbl.kkct is null and tbl.myNumberColumn = myCode ;
return (rtr);
END FUNC_FAAL;
This function returns 117177 as result.
But if I run same query in the function seperately ;
select count()*
from myschema.my_table tbl
where tbl.myDateColumn between firstDate and secondDate
and tbl.kkct is null and tbl.myNumberColumn = myCode ;
I get different result 11344 (which is the right one).
Table and function are in the same schema.
What can be the problem ?
Thanks.1. i think ur parameter name and Column names are same Firstdate and seconddate try to choose different name
2. try using Trunc function around your dates
where trunc(tbl.myDateColumn) between trunc(firstDate) and trunc(secondDate)then compare the result....sometimes time elements comes into play.
Baig
[My Oracle Blog|http://baigsorcl.blogspot.com/] -
Hi Experts,
I got one problem with my query information. when Im executing my report and drill my info in my navigation panel, Instead of a table with values the message "Result set is too large; data retrieval restricted by configuration" appears. I already applied "Note 1127156 - Safety belt: Result set is too large". I imported Support Package 13 for SAP NetWeaver 7. 0 BI Java (BIIBC13_0.SCA / BIBASES13_0.SCA / BIWEBAPP13_0.SCA) and executed the program SAP_RSADMIN_MAINTAIN (in transaction SE38), with the object and the value like Note 1127156 says... but the problem still appears....
what Should I be missing ?????? How can I fix this issue ????
Thank you very much for helping me out..... (Any help would be rewarded)
David CortéYou may ask your basis guy to increase ESM buffer (rsdb/esm/buffersize_kb). Did you check the systems memory?
Did you try to check the error dump using ST22 - Runtime error analysis?
Edited by: ashok saha on Feb 27, 2008 10:27 PM
Maybe you are looking for
-
For some reason just my iPod5 front camera doesn't work.
My back camera does work and everytime I select my front camera, it doesn't open. I haven't dropped my ipod and I have reset my settings and turned the power off my Ipod. Is there an obvious way to fix this problem or should I get my iPod repaired?
-
Hi, I have a requirement where there would be upto 10000 requests coming simultaneously to SAP XI and the reciever (SAP ECC) has a capacity to take only 1000 requests simultaneously. Is there a possiblity that i can queue the messages in SAP XI and s
-
I just downloaded iTunes to my Thinkpad, as part of the installation of my new Nano. The iTunes screen is in this horrible purple and I can't figure out how to change the color screen to the classic grey. When you look at the songs listed it is dark
-
Validation result of a compound linestring with Oracle 10.2.0.4
Hello, I have a question. I was told that: "in 10.2.0.4, Oracle no longer allows compound linestrings or compound polygons with one sub-element. For compound elements, there must be at least 2 sub-elements (at least one arcstring and one straight lin
-
SAPScript form an rogram for "Invoice for Payment"
Hi Friends, Please tell me the Program Name and SAPScript form name for following condition - <b> Customer service receives the order from the customer and place the order (document "Invoce for payment"). </b> Thanks & Regards Kishor