Google's preference "Query Suggestions"
I've got two machines, one running 10.4.11 and the current version of Safari
one running 10.5.5 and the current version of Safari
with the 10.4 machine and Safari: i can go to Google home page, then "preferences" when logged in, and i have a category "Query Suggestions"...
on the 10.5 machine and safari, that category is completely missing? it is logged in to exactly the same google account. and Safari is exactly the same version..???
any ideas?
JonK.. wrote:
that means there is something wrong with my system if you can see it??? or something wrong with a setting...
That's why caching came to mind as the most likely culprit.
The only other thing I can think to suggest is deleting any Google cookies and seeing if that makes a difference. I don't think that's like to be the answer, but it can't hurt to try.
Similar Messages
-
My Google search autocomplete me in Firefox does not work anymore. However, it still works with Internet Explorer. How can I fix this so Google gives me search suggestions again?
Solution update: Disabled XULRunner 1.9.1 extension from Add-ons > Extensions. Problem solved.
-
Hello everybody.
I am currently working with Sharepoint Online search and am trying to find information about managing Query suggestions (CRUD operations).
Would anybody have any information as to how I could do this in CSOM or PowerShell ? I truely am having a hard time on this.Hi,
Please check below. This should help you. You can REST APIs
Retrieving query suggestions using the Search REST service
https://msdn.microsoft.com/en-us/library/office/dn194079.aspx
Please remember to click 'Mark as Answer' on the answer if it helps you -
How to enable query suggestions
How can the query suggestions be enabled in the Firefox address bar?
Go to the Privacy tab (i.e. \Firefox\Options\Options) and for the Location Bar, choose "History and Bookmarks" (using the drop-down arrow).
Next, go to the Advanced tab and under the General sub-tab, check the box that reads "Search for text when I start typing". Save and restart your browser.
Hope that works. -
Improve Query Suggestions Load time
How can I improve load time for Pre Query Suggestions on search home page when user start typing ??
I notice it was slow in loading when I hit first time in the morning so I try to warm up by adding
""http://SiteName/_api/search/suggest?querytext='sharepoint' ""
in to warm up script but even during the day time after hitting few times it is slower some times . Any reason ?
Do you think moving Query Component to WFE will do any help here?
Pleas let me know - Thanks .Hi,
Query Suggestions should work at a high level overview is:
• You issue a query within a Search Center site and get results..
• When you hover over or click a result.. this gets stored as a “RecordPageClick” method and will be stored in the Web Applications W3WP process…
• Every five minutes ( I believe ) this W3WP will flush these Recorded Page Clicks and pass them over to the Search Proxy…
• This will then store them in a table in the SSA ( Search Service Application ) Admin DB
• By default, once a day, there is a timer job, Prepare Query Suggestions, that will run
• It does a check to see if the same term has been queried for and clicked at least 6 times and then will move them to another table in the same DB..
• If there are successful queries\clicks > 6 times for a term, and they move to the appropriate table, then when you start to type a word, like “share”
• This will fire a “method” over to the Search proxy servers called “GetQuerySuggestions” and will check that Admin DB to see if they have any matches..
• If so, then it will show up in your Search Box as like “SharePoint” for a suggestion…
Other components involved with the Query Suggestions:
Timer Jobs
Prepare query suggestions Daily
Query Classification Dictionary Update for Search Application Search Service Application Minutes
Query Logging Minutes
Database
MSSQLogQuerySuggestion (SearchDB) This gets cleaned up when we run the timer job
MSSQLogQueryString (SearchDB) Info on the Query String
MSSQLogSearchCounts (SearchDB) Info on the click counts
MSSQLogQuerySuggestion Looks like this may be where the hits for suggestions are stored
So the issue might related to timer job, database, connection between SharePoint server and SQL server. There is a similar case caused by DistributedCache.
If you move query component on to another sever, this may improve the process related to Search service, however, it may affect the performance due to networking.
Please collect verbose ULS log per steps below:
Enable Verbose logging via Central Admin> Monitoring> Reporting>Configure diagnostic logging(You can simply set all the categories with Verbose level and I can filter myself).
Reproduce the issue(Try to remove SSRS).
Record the time and get a capture of the error message(including the correlation ID if there is). Collect the log file which is by default located in the folder: <C:\Program files\common files\Microsoft Shared\web server extensions\15\LOGS>.
Stop verbose logging.
Regards,
Rebecca Tu
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]. -
With firefox 4, google toobar seach box suggestions no longer appear in the search box itself
After installing Firefox 4:
When I start typing in the Google toolbar search box an item, like NYT and the search suggestions appear -- like NY Times -- I used to be able to click on "NY Times" and this would appear filled out in the Google search box. This no longer happens. Instead, what I have typed in is the only thing showing: NYT.I think this may not be a browser problem but rather a Google problem.
I am getting the same problem with the Google Chrome browser. -
Hi,
I have written the following query, its taking long time to get records,
SELECT VBCAR.MONTH_END_DATE,
VBCAR.SOURCE_SYSTEM,
RF1.PILLAR3_EXPOSURE_CLASS_CODE,
VBCAR.EXPOSURE_CODE,
VBCAR.EXPOSURE_CLASS_CODE,
CASE
WHEN VBCAR.SOURCE_SYSTEM = 'ML' THEN 'Margin_Lending'
WHEN VBCAR.SOURCE_SYSTEM = 'ICBS' THEN 'Amicus'||VBCAR.CCIS_PRODUCT_GROUP
WHEN VBCAR.SOURCE_SYSTEM IN ('ACBS','ASNEMP') THEN 'Other'
WHEN VBCAR.SOURCE_SYSTEM = 'CLSORG' THEN 'CBNF_Excalibur'
WHEN VBCAR.SOURCE_SYSTEM = 'TARGET' AND VBCAR.EXPOSURE_CODE = 'UNDRAW' AND
VBCAR.ACC_RK = -1 THEN 'CBNF_Target'
WHEN VBCAR.SOURCE_SYSTEM = 'PCL' AND VBCAR.EXPOSURE_CLASS_CODE = 'REVOLV' AND
VBCAR.EXPOSURE_CODE = 'UNDRAW' THEN 'PLC_Unsecured'
ELSE VBCAR.CCIS_PRODUCT_GROUP
END AS LINE_OF_BUSINESS,
VBCAR.CCIS_PRODUCT,
VBCAR.PD_VALUE,
VBCAR.LGD_RATE,
RF2.PD_BAND,
RF2.PD_BAND_DESCRIPTION,
RF3.RESIDUAL_MATURITY_TERM,
SUM(VBCAR.PRE_SEC_EAD_AMT) AS EAD_PRE_SEC_PRE_CRM,
SUM(VBCAR.POST_SEC_EAD_AMT) AS EAD_POST_SEC_PRE_CRM,
SUM(CASE
WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.EXPOSURE_CODE = 'DRAWN'
AND (VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') OR VBCAR.ACC_SECURITIZED_IND = 'E') THEN 0
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_EAD_AMT
ELSE VBCAR.POST_SEC_EAD_AMT
END) AS EAD_POST_SEC_POST_CRM,
CASE
WHEN VBCAR.EXPOSURE_CLASS_CODE ='REMORT' AND
VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY INSURED'
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
AND VBCAR.POST_GOV_EAD_AMT = 0 THEN 'FULLY INSURED'
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
AND VBCAR.POST_GOV_EAD_AMT > 0 THEN 'PARTIALLY INSURED'
ELSE 'NOT INSURED'
END AS INSURED_IND,
CASE
WHEN VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY SECURITIZED'
WHEN VBCAR.SOURCE_SYSTEM ='TSYS'
AND VBCAR.PRE_SEC_EAD_AMT > VBCAR.POST_SEC_EAD_AMT
THEN 'PARTIALLY SECURITIZED'
ELSE 'NOT SECURITIZED'
END AS SECURITIZED_IND,
VBCAR.NOTIONAL_PRINCIPAL_AMT,
SUM(CASE
WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') THEN 0
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_RWA_AMT
ELSE VBCAR.POST_SEC_RWA_AMT
END) AS RWA,
SUM(CASE
WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT' AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI') THEN 0
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans' THEN VBCAR.POST_GOV_EL_AMT
ELSE VBCAR.POST_SEC_EL_AMT
END) AS EL,
VBCAR.POST_SEC_RWA_AMT * .08 AS CAPITAL,
RF4.GEO_SECTION,
COUNT(1),
VBCAR.PD_MODEL_ID,
SYSDATE,
SYSDATE,
'PILLAR3'
FROM RCDWSTG.V_BCAR_DETAIL_ADJ VBCAR,
REFERENCE.REF_P3_BCAR_EXPOSURE_CLASS_CD RF1,
REFERENCE.REF_PD_BAND RF2,
REFERENCE.REF_MATURITY_TERM RF3,
REFERENCE.REF_GEO_SECTION RF4,
(SELECT VBC.ACC_RK FROM RCDWSTG.V_BCAR_DETAIL_ADJ VBC, RCDWSTG.STG_FIN_ACC STFC,
(SELECT MAX(SRC.PARTY_SRC_RK), ACC_RK
FROM RCDWSTG.STG_FIN_ACC_PARTY_SRC SRC,
RCDWSTG.STG_PARTY_SRC PRTY
WHERE SRC.PARTY_SRC_RK = PRTY.PARTY_SRC_RK
AND SRC.PARTY_ROLE_CD = 'BOR'
GROUP BY ACC_RK) INV1
WHERE VBC.ACC_RK = STFC.ACC_RK
AND STFC.ACC_RK = INV1.ACC_RK
) INV1
WHERE VBCAR.EXPOSURE_CLASS_CODE = RF1.BCAR_EXPOSURE_CLASS_CODE
AND VBCAR.PD_BAND = RF2.PD_BAND
AND VBCAR.ACC_RK = INV1.ACC_RK
GROUP BY VBCAR.MONTH_END_DATE,
VBCAR.SOURCE_SYSTEM,
RF1.PILLAR3_EXPOSURE_CLASS_CODE,
VBCAR.EXPOSURE_CODE,
VBCAR.EXPOSURE_CLASS_CODE,
CASE
WHEN VBCAR.SOURCE_SYSTEM = 'ML' THEN 'Margin_Lending'
WHEN VBCAR.SOURCE_SYSTEM = 'ICBS' THEN 'Amicus'||VBCAR.CCIS_PRODUCT_GROUP
WHEN VBCAR.SOURCE_SYSTEM IN ('ACBS','ASNEMP') THEN 'Other'
WHEN VBCAR.SOURCE_SYSTEM = 'CLSORG' THEN 'CBNF_Excalibur'
WHEN VBCAR.SOURCE_SYSTEM = 'TARGET' AND VBCAR.EXPOSURE_CODE = 'UNDRAW' AND
VBCAR.ACC_RK = -1 THEN 'CBNF_Target'
WHEN VBCAR.SOURCE_SYSTEM = 'PCL' AND VBCAR.EXPOSURE_CLASS_CODE = 'REVOLV' AND
VBCAR.EXPOSURE_CODE = 'UNDRAW' THEN 'PLC_Unsecured'
ELSE VBCAR.CCIS_PRODUCT_GROUP
END,
VBCAR.CCIS_PRODUCT,
VBCAR.PD_VALUE,
VBCAR.LGD_RATE,
RF2.PD_BAND,
RF2.PD_BAND_DESCRIPTION,
RF3.RESIDUAL_MATURITY_TERM,
CASE
WHEN VBCAR.EXPOSURE_CLASS_CODE ='REMORT' AND
VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY INSURED'
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
AND VBCAR.POST_GOV_EAD_AMT = 0 THEN 'FULLY INSURED'
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
AND VBCAR.POST_GOV_EAD_AMT > 0 THEN 'PARTIALLY INSURED'
ELSE 'NOT INSURED'
END,
CASE
WHEN VBCAR.ACC_SECURITIZED_IND = 'E' THEN 'FULLY SECURITIZED'
WHEN VBCAR.SOURCE_SYSTEM ='TSYS'
AND VBCAR.PRE_SEC_EAD_AMT > VBCAR.POST_SEC_EAD_AMT
THEN 'PARTIALLY SECURITIZED'
ELSE 'NOT SECURITIZED'
END,
VBCAR.NOTIONAL_PRINCIPAL_AMT,
(VBCAR.POST_SEC_RWA_AMT * .08),
RF4.GEO_SECTION,
VBCAR.PD_MODEL_ID
I have included a inline view in the from clause and checked the values in the where clause. Can anybody give some tips or suggestions to improve this query performance or to rewrite the query.
Thanks
Radha KDoes something (the execution plan) change if you make it a two step process: prepare data as the first and summing as the next step
select month_end_date,source_system,pillar3_exposure_class_code,exposure_code,
exposure_class_code, line_of_business,ccis_product,pd_value,lgd_rate,pd_band,
pd_band_description, residual_maturity_term,
sum(pre_sec_ead_amt) as ead_pre_sec_pre_crm,
sum(vbcar.post_sec_ead_amt) as ead_post_sec_pre_crm,
sum(post_sec_post_crm) as ead_post_sec_post_crm,
insured_ind,securitized_ind,notional_principal_amt,
sum(rwa) as rwa,
sum(el) as el,
capital,count_1,pd_model_id,
sysdate,
sysdate,
'PILLAR3'
from (SELECT VBCAR.MONTH_END_DATE,
VBCAR.SOURCE_SYSTEM,
RF1.PILLAR3_EXPOSURE_CLASS_CODE,
VBCAR.EXPOSURE_CODE,
VBCAR.EXPOSURE_CLASS_CODE,
CASE WHEN VBCAR.SOURCE_SYSTEM = 'ML'
THEN 'Margin_Lending'
WHEN VBCAR.SOURCE_SYSTEM = 'ICBS'
THEN 'Amicus'||VBCAR.CCIS_PRODUCT_GROUP
WHEN VBCAR.SOURCE_SYSTEM IN ('ACBS','ASNEMP')
THEN 'Other'
WHEN VBCAR.SOURCE_SYSTEM = 'CLSORG'
THEN 'CBNF_Excalibur'
WHEN VBCAR.SOURCE_SYSTEM = 'TARGET'
AND VBCAR.EXPOSURE_CODE = 'UNDRAW'
AND VBCAR.ACC_RK = -1
THEN 'CBNF_Target'
WHEN VBCAR.SOURCE_SYSTEM = 'PCL'
AND VBCAR.EXPOSURE_CLASS_CODE = 'REVOLV'
AND VBCAR.EXPOSURE_CODE = 'UNDRAW'
THEN 'PLC_Unsecured'
ELSE VBCAR.CCIS_PRODUCT_GROUP
END AS LINE_OF_BUSINESS,
VBCAR.CCIS_PRODUCT,
VBCAR.PD_VALUE,
VBCAR.LGD_RATE,
RF2.PD_BAND,
RF2.PD_BAND_DESCRIPTION,
RF3.RESIDUAL_MATURITY_TERM,
VBCAR.PRE_SEC_EAD_AMT,
VBCAR.POST_SEC_EAD_AMT,
CASE WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT'
AND VBCAR.EXPOSURE_CODE = 'DRAWN'
AND (VBCAR.INSURER_TYPE_CD IN ('GVN','PRI')
OR VBCAR.ACC_SECURITIZED_IND = 'E'
THEN 0
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
THEN VBCAR.POST_GOV_EAD_AMT
ELSE VBCAR.POST_SEC_EAD_AMT
END_POST_SEC_POST_CRM,
CASE WHEN VBCAR.EXPOSURE_CLASS_CODE ='REMORT'
AND VBCAR.ACC_SECURITIZED_IND = 'E'
THEN 'FULLY INSURED'
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
AND VBCAR.POST_GOV_EAD_AMT = 0
THEN 'FULLY INSURED'
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
AND VBCAR.POST_GOV_EAD_AMT > 0
THEN 'PARTIALLY INSURED'
ELSE 'NOT INSURED'
END AS INSURED_IND,
CASE WHEN VBCAR.ACC_SECURITIZED_IND = 'E'
THEN 'FULLY SECURITIZED'
WHEN VBCAR.SOURCE_SYSTEM ='TSYS'
AND VBCAR.PRE_SEC_EAD_AMT > VBCAR.POST_SEC_EAD_AMT
THEN 'PARTIALLY SECURITIZED'
ELSE 'NOT SECURITIZED'
END AS SECURITIZED_IND,
VBCAR.NOTIONAL_PRINCIPAL_AMT,
CASE WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT'
AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI')
THEN 0
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
THEN VBCAR.POST_GOV_RWA_AMT
ELSE VBCAR.POST_SEC_RWA_AMT
END AS RWA,
CASE WHEN VBCAR.EXPOSURE_CLASS_CODE = 'REMORT'
AND VBCAR.INSURER_TYPE_CD IN ('GVN','PRI')
THEN 0
WHEN VBCAR.CCIS_PRODUCT_GROUP = 'Student_Loans'
THEN VBCAR.POST_GOV_EL_AMT
ELSE VBCAR.POST_SEC_EL_AMT
END AS EL,
VBCAR.POST_SEC_RWA_AMT * .08 AS CAPITAL,
RF4.GEO_SECTION,
COUNT(1) AS COUNT_1,
VBCAR.PD_MODEL_ID
FROM RCDWSTG.V_BCAR_DETAIL_ADJ VBCAR,
REFERENCE.REF_P3_BCAR_EXPOSURE_CLASS_CD RF1,
REFERENCE.REF_PD_BAND RF2,
REFERENCE.REF_MATURITY_TERM RF3,
REFERENCE.REF_GEO_SECTION RF4,
(SELECT VBC.ACC_RK
FROM RCDWSTG.V_BCAR_DETAIL_ADJ VBC,
RCDWSTG.STG_FIN_ACC STFC,
(SELECT MAX(SRC.PARTY_SRC_RK), ACC_RK
FROM RCDWSTG.STG_FIN_ACC_PARTY_SRC SRC,
RCDWSTG.STG_PARTY_SRC PRTY
WHERE SRC.PARTY_SRC_RK = PRTY.PARTY_SRC_RK
AND SRC.PARTY_ROLE_CD = 'BOR'
GROUP BY ACC_RK
) INV1
WHERE VBC.ACC_RK = STFC.ACC_RK
AND STFC.ACC_RK = INV1.ACC_RK
) INV1
WHERE VBCAR.EXPOSURE_CLASS_CODE = RF1.BCAR_EXPOSURE_CLASS_CODE
AND VBCAR.PD_BAND = RF2.PD_BAND
AND VBCAR.ACC_RK = INV1.ACC_RK
group by month_end_date,
source_system,
pillar3_exposure_class_code,
exposure_code,
exposure_class_code,
line_of_business,
ccis_product,
pd_value,
lgd_rate,
pd_band,
pd_band_description,
residual_maturity_term,
insured_ind,
securitized_ind,
notional_principal_amt,
capital,
geo_section,
pd_model_idRegards
Etbin -
Query Suggestions with -Level SPSite or SPWeb, how to retreive results?
I can see the results on powershell window if I pass -Level with Owner object in below command, but how can i see same results with _api suggest query?
Get-SPEnterpriseSearchQuerySuggestionCandidates -SearchApplication $searchapp -Owner $ownerHi Ramana,
Based on the list of parameters for the search rest api in the following article, there is no similar/same function as cmdlet used available for rest service endpoint _api/search/suggest, so, we are unable to use it
via _api suggest query currently.
https://msdn.microsoft.com/EN-US/library/office/dn194079.aspx
http://blogs.msdn.com/b/nadeemis/archive/2012/08/24/sharepoint-2013-search-rest-api.aspx
Thanks
Daniel Yang
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] -
On 3.6 if I start typing in the Google search box & get a drop-down list of suggestions & click on one of them that item appears in the box. With the 4.0 beta when I click on it the list goes away leaving whatever I typed in the box. Why?
Any more on this? I've downloaded the latest version & still have the same problem with it. Is this a glitch on Firefox or something between Google & of Firefox. Just to check I reloaded 3.6 & checked. Google search works fine just like it used to. Why does Mozilla seem to be ignoring this? I don't think I'm alone on this, at least not according to this forum.
-
JSP & Google - submitting a query & getting results
Hi I am completely new to jsp and I have to develop an application which can submit a query to Google and retrieve the result which I will then modify dynamically before displaying.
I've looked at the AJAX library but you results are limited to 10 and I need more than that.
Can some one tell me how I would submit a query to Google and get the results back please? I'm totally lost.
Any and all help is greatly appreciated.
Thanks.Add a parameter "num" with an integer value to the query. This sets the number of results.
-
Hi All,
I need to apply condition where column should not be null and also must not be an empty string.
I wrote like:
WHERE (TRIM(ITEM_BAR_CODE)!='' AND ITEM_BAR_CODE IS NOT NULL) OR (TRIM(ITEM_COLOR)!='' AND ITEM_COLOR IS NOT NULL) But I am not getting the accurate results.
I know its a very silly question, but somehow I am not getting the solution. :-(
Please suggest.
Thanks to all
BhupinderHere Oracle converts an empty string to NULL after
trim. Don't you read what people write you?
Rob wrote:
Empty strings are considered nulls too.
Oracle processes an empty string in a SQL statement as a null value. -
Google browser preference being usurped by trovi; need to eradicate.
Browsers: Google and Safari were usurped by Ask, both resolved by Apple Support. However, Apple unable to resolve similar issue with Firefox being usurped by trovi. On opening Firefox browser 1st page shows google but on opening further tabs, trovi has taken over.
Please assist to resolve.
ThansHi babnan,
It sounds like you have a third party program that has taken over your search engine, home page, and/or the default new tab page. Fortunately, this can be remedied easily:
# Click the menu button [[Image:New Fx Menu]] and choose Add-ons.
# In the Add-ons Manager tab, select the Extensions panel.
# Select the toolbar you wish to remove.
# Click the Remove button.
# Click "Restart now" if it pops up. Your tabs will be saved and restored after the restart.
After Firefox restarts, install the [https://addons.mozilla.org/en-US/firefox/addon/searchreset/ Search Reset Tool]. This will remove the rest of the traces of this program from your Firefox.
For further information, please read [[Remove a toolbar that has taken over your Firefox search or home page]].
Did this fix the problem? Please let us know! -
Hi Experts
I am using the following query, my input as 'ZSO' only, but now the query is not working properly. what could be the reason. pls help me on this.
SELECT a~aufnr
a~plnbez
a~dispo
b~kdauf
b~kdpos
c~budat
c~werks
INTO CORRESPONDING FIELDS OF TABLE i_FINAL
FROM afko AS a
INNER JOIN afpo AS b ON aaufnr = baufnr
INNER JOIN afru AS c ON aaufnr = caufnr AND arueck = crueck AND armzhl = crmzhl
WHERE b~kdauf IN zso
AND b~kdpos IN zli
AND a~aufnr IN zauf
AND c~budat IN zdat
AND c~werks IN zpl
AND a~plnbez IN zmat.
Thanks in advance.
regards
Rajaramyea, i have done 3 queries for 3 tables separately, but when execute for input for date, it takes long time.
bcoz,
SELECT AUFNR
POSNR
KDAUF
DAUAT
KDPOS FROM AFPO
INTO CORRESPONDING FIELDS OF TABLE i_afpo
FOR all entries in i_afko
where aufnr EQ i_afko-aufnr And
KDAUF IN ZSO AND
KDPOS IN ZLI.
SELECT AUFNR
BUDAT
ISDD
WERKS
SMENG
ARBID
RUECK
RMZHL
VORNR
LTXA1
GRUND
STOKZ
STZHL
AENAM
AUERU
EXNAM
LMNGA FROM AFRU
INTO CORRESPONDING FIELDS OF TABLE i_AFRU
FOR ALL ENTRIES IN i_afpo
WHERE aufnr EQ i_afpo-aufnr AND
BUDAT IN ZDAT AND
WERKS IN ZPL.
input as 01.01.2007 to 01.03.2007
if the i_afpo has 5000 records, it takes too much time.
how can we solve this. -
We have a need for an update query, but we're starting with a SELECT statment to make sure that the update will only change the required number of records. We started with:
select t1.act_num, t1.text || ' ' || (select text
from BAC t2
where comtype = 'Request'
and type = 'A'
and t1.act_num = t2.act_num) as appended_text
from BAC t1
where comtype = 'Result'
and type = 'A'This query takes quite awhile to run, bringing back about 500 records every 30 seconds. The query plan isn't that complex. Full scan on "t1", which makes sense because 1/3 of the type 'A' records have a comtype of 'Result'. Then, there's an index-based retrieval for the "t2" records.
I can write the query another way, which runs in under 20 seconds, but it's format won't fit into an update query:
select t1.act_num, t1.text || ' ' || t2.text as appended_text
from BAC t1, BAC t2
where t1.act_num = t2.act_num
and t1.comtype = 'Result'
and t1.type = 'A'
and t2.comtype = 'Request'
and t2.type = 'A'I tried already and got a "No key-preserved table" error:
update (select t1.text as t1_text, t2.text as t2_text
from BAC t1, BAC t2
where t1.act_num = t2.act_num
and t1.comtype = 'Result'
and t1.type = 'A'
and t2.comtype = 'Request'
and t2.type = 'A')
set t1_text = t1_text ||' '||t2_text;So does this mean it's just an update that is destined to be slow? The reason why I'm a bit confused as to the lethargy of the SELECT is that there are only about 350,000 records in this table, about 108,000 of which are actually being updated. It's just not that much data.
Thanks,
--=ChuckHere's a new one for me ...
That act_num column was the 5th column in a 6-column primary key index. While the logic would have correctly updated the records like we wanted, Oracle would rather have more information. The following ran in a very acceptable time:
select t1.act_num, t1.text || ' ' || (select text
from BAC t2
where comtype = 'Request'
and type = 'A'
and t1.act_num = t2.act_num
and t1.pk1 = t2.pk1
and t1.pk2 = t2.pk2
and t1.pk3 = t2.pk3
and t1.pk4 = t2.pk4
) as appended_text
from BAC t1
where comtype = 'Result'
and type = 'A'This is in Oracle 11gR1.
--=Chuck -
FF4 - Mouse no longer works in Google Toolbar list. Suggestions ?
I have upgraded to FF4
The google toolbar works in the sense that the drop down list displays correctly, but you cannot use the mouse to point to an item. You have to press the down arrow key to navigate to the item and then press enter.
Is this a FF or a Google problem ?That problem is listed as a known issue with the Google Toolbar.
See
* http://www.google.com/support/toolbar/bin/static.py?page=known_issues.cs
Maybe you are looking for
-
I have several apps that opted out of Family Sharing. I understand that, but what makes no sense is that a family member can't purchase the app because I downloaded it in the past. Is there a fix? Thanks.
-
Process order release reject.
Hi Experts, Question related to Make to order (MTO) I was created one sales order successfully. Then I run MRP and i got Planned sales order. After that I converted that planned sales order sa process order. When i click on release icon, my proble ar
-
My PowerBook G3 gives me a gray screen with a flashing ?. It was returned to me from an eBay sale in this condition. I have tried the reset, etc., etc. Nothing is working! Help!
-
Hi All, I have a strange problem. I have made a workbook with multiple sheets. Some of these sheets report on the same field from the database. I now have the strange issue that sometimes in one of the sheets the field is filled while in another shee
-
Hi! how can i update or upgrade my mac 10.5.8
how to update or update my mac 10.5.8 ?please