Sidebar Notes data lost for always closing?
Hello.
I have a problem with the function 'Sidebar' in Windows Vista Home Premium on my Acer Aspire 5530 G running.
I use the gadget 'Notes' that comes by default with the 'Sidebar' and have seized a good quantity of notes and information there.
However, I accidentally clicked on the 'X' and closed the gadget. When I tried to add the 'Notes' gadget, I realized that all my information has been lost.
I tried to close the 'Sidebar' and restart again, but it does not work.
How can I recover my lost data saved in the 'Notes' Gadget that has been accidentally closed?
Hi weishengg,
My best guess would be to navigate to the folder of sidebar\gadgets\notes.gadget\en-us of \program files\Windows in Windows Explorer and right click on the different files that you see and choose Properties. Click the previous versions and see if they are available from before you lost.
Please let us know if it works.
Brent
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think.
Tags: Windows
Similar Questions
-
Touch iPhone 5s does not not needing help for the data on it.
iPhone 5 s (iOS 9) I have blue and red lines on the screen and the touch does not work at all, but the phone still works as usual outside the lines and contactless (voice on don't work/Siri as other items said worked, I do not have wifi for Siri). What I want is the data on the phone, I have a macbook pro (OS X 10.11) a fix would be better, but all I need is the data. I have icloud activated, but it was defective on my phone so don't know if I had a full backup and would like to know how to check. I have a form of computer backup about 2 months ago, but wanted all the pictures and data since then.
At the back for up to my pc, I need is to unlock my phone, so any help will be appreciated.
Thank you
If connect to iTunes and perform a full backup
And also connect on iCloud & see you backup recently
-
Hi all
I use the model Match 4 IMAQ to detect the angle of rotation of an image of model. However, it displays the error: "error 1074395241: the model descriptor does not contain the data required for the corresponding rotation invariant." What exactly is the problem? How to solve this problem? The details are explained below.
My project is a bit complicated. Part of the block diagram containing the IMAQ Match model 4 is illustrated below:
The source image is a series of images of images read from an AVI video (I used a loop for to process the images frame by frame). The image of the model is an area of the first selected image. So, this means, the user selected the ineterst object in the first frame of the video, and each of the following images to find the object corresponding interest & determine its rotation angle. When I run the above diagram, there no error. However, it shows the angle of rotation zero no matter what it is 'really '. Therefore, I changed the schema by adding parameters, listed below:
But in this case, when I run it, it shows the error I mentioned in the subject line.
If you need more information about my project to identify the problem, please let me know.
Thanks in advance.
S ' Please example from model that comes with labview First
Go to labview Help > find examples and you can search for example.
-You create model with angle range and what kind of special criteria you want to use.
-To do this you must use IMAQ learn pattern before using IMAQ model Match 4
Reference:http://zone.ni.com/reference/en-XX/help/370281U-01/imaqvision/imaq_match_pattern_4/ -
Why I see Runtime Error R6016-not enough space for thread data?
All of a sudden when I try to launch Google Chrome, I get "error R6016-not enough space for thread data? ' like Chrome stops. Plenty of hard disk, disk defragmented, no viruses or malware. Never seen this message before.
I think you're on the right track to reinstall Chrome... but they have a method of choice for the best results and that the information is here:
http://support.Google.com/chrome/bin/answer.py?hl=en&answer=111899
Just FYI, running sfc/scannow won't help, but it will waste your time and you will not be able to determine which file is causing the problem because...
When sfc/scannow runs successfully, you will see a start and complete message in the Event Viewer log system.
It can take a long time to run and slow down your system. When it starts and stops correctly you can only see events like this in the case where the system log viewer:
Event type: Information
Event source: Windows File Protection
Event category: no
Event ID: 64016
Analysis of file File Protection Windows has been started.Event type: Information
Event source: Windows File Protection
Event category: no
Event ID: 64017
Windows File Protection file analysis completed successfully.There is no information about what he did or what he did not.
Even if sfc/scannow finds something to do, you will not know about it.
That's why try again more than a waste of time.
-
Windows Media Player will burn a data CD for us but not an audio CD.
Windows Media Player will burn a data CD for us but not an audio CD. We have Vista Home Premium with Service Pack 2. Tried another brand of CD, slower burning speed, etc., but still does not. And can not uninstall Windows Media Player and reinstall. Help!
Hi KathyDobrowolski,
1. were you able to burn an audio CD before?
2. what type of file you want to burn?
3. This only happens with a particular file type?
4. are you able to burn CDs with any other application?
5. you receive messages or error codes?
If the song file is protected by the rights of use, these rights may allow for playback of the song on the computer but prohibit burn them on a CD. If the Information button appears next to the song in the burn list, click the button to see more information on the issue.
For more information, see the following link:
Burn a CD or DVD in Windows Media Player: frequently asked questions
-
Samsung Galaxy Tab 2 prints only the data source for HP 6700 not complete document
I can get a printed message from my Samsung Galaxy Tab 2 to my HP 6700 tablet, but... If I try to print, for example a recipe from foodnetwork I can't get a message printed in the 6700 which gives me the source of the Web page, not the recipe for the competition. I can print from my iPhone just fine using the @hpeprint e-mail address. I downloaded the app store Eprint and it works, the problem is that I'm just this gibberish. Can you help me?
I think that the way android 'sharing' web pages is just giving the url to the Web site. If you had to share this link with a handles specifically, html app like google chrome, it would launch the site. This makes things much faster when you share only a link and not all the data on the page.
How works the ePrint application is it actually makes the Web page using HP servers in to a PDF and then send it to the printer. That's why it prints without any problems from there.
On the new phone from Samsung, the Galaxy S4, it built in the printing of some of the applications by default for HP printers, but it doesn't look like this is available on this unit.
-
Hello
I created a data file for contributor to the Site Studio (11.1.1.8.0) using my definition of the region RD_ONE_ELEMENT.
Here is the XML of the contributor data file (DATA_ONE_ELEMENT.xml)
<? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >
" < = xmlns:wcm wcm:root ' http://www.Stellent.com/WCM-data/NS/8.0.0 "version ="8.0.0.0"> "
< wcm:element name = "TITLE" > This is the title... Successful. < / wcm:element >
< / wcm:root >
It's the definition of the region (RD_ONE_ELEMENT)
<? XML version = "1.0" encoding = "UTF-8"? >
" < regionDefinition xmlns =" http://www.Oracle.com/SiteStudio/element/ "" "
" xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "
" xsi: schemaLocation =" http://www.Oracle.com/SiteStudio/element/ http://www.oracle.com/sitestudio/ss_element_definition.xsd' > .
elements <>
< elementReference name = "TITLE" location = "ED_PLAIN_TEST" >
< property name = "label" value = "TITLE" / >
< property name = value "description" = "" / > "
< / elementReference >
< / items >
< property name = value "description" = "" / > "
< name dataProperty = 'metadata' > < / dataProperty >
< name complexProperty = "switchregioncontent" >
< property name = "createnewxml" value = "true" / >
< property name = "createnewnative" value = "false" / >
< property name = "choosemanaged" value = "true" / >
< property name = "chooselocal" value = "false" / >
< property name = "choosenone" value = "false" / >
< valueList name = "createnewnativedoctypes" >
< / valueList >
< name complexProperty = "choosemanagedquerytext" >
< property name = "corecontentonly" value = "false" / >
< name dataProperty 'querytext' = > ((xWebsiteObjectType & lt; matches & gt;)) 'Data file') & lt; and & gt; (xRegionDefinition & lt; matches & gt; 'RD_ONE_ELEMENT')) & lt; or & gt; (xWebsiteObjectType & lt; matches & gt; 'Native 'Document') < / dataProperty >
< / complexProperty >
< name dataProperty = "defaultmetadata" > < / dataProperty >
< / complexProperty >
< / regionDefinition >
In my portal, I added a Presenter content workflow. On the content tab, I put DATA_ONE_ELEMENT (one piece of content). On the model tab, I chose my Presenter content model.
I had created a content model project Presenter DesignWebcenterSpaces (that I got from zip file - http://download.oracle.com/otndocs/tech/webcenter/files/DesignWebCenterSpaces_11.1.1.8.0.zip) here is the code:
Here's the code for the view model:
<? XML version = "1.0" encoding = "UTF - 8"? >
" < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "
" xmlns =" http://xmlns.Oracle.com/WebCenter/content/templates "" "
' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "> "
< var dt:contentTemplateDef = "node" >
< af:outputText value = "#{node.path}" id = "ot1" / > "
< af:outputText value = "#{node.propertyMap ['RD_ONE_ELEMENT:TITLE'] .asTextHtml} '"
ID = "ot2" / >
< / dt:contentTemplateDef >
< / jsp:root >
The output I see on the Web page is as follows:
/ EXTASC/DATA_ONE_ELEMENT. XML
I don't see any other texts. Which means, there is no output of:
< af:outputText value = "#{node.propertyMap ['RD_ONE_ELEMENT:TITLE'] .asTextHtml} '"
ID = "ot2" / >
Can someone help me in this? I would like to see the value of my Web page TITLE.
Hello.
I am currently weapons... This is not normal, as is a common task.
Sorry, but we do a general audit of the configuration before enabling the TRACE log levels because it should be a simple thing missing.
Can you confirm that WebCenter content are activated as a result of components (UCM Console-> Administration-> server-> Component Manager Admin)? :
- Studio site.
-Site of Studio for external Application.
-WebCenterConfigure
-LinkManager
-DBSearchContainsOpSupport
In the case of be activated all (don't forget to restart UCM if you turn any component). Make sure that you have done as following steps:
- Log in to Content Server and open the Administration page.
- Select the Studio Site Administration, and then set the default Project Document information.
- Accept the default settings, and then click Update.
- Select the Studio Site Administration, and then to set Document information by default Active Web.
- Accept the default values and click Update
Kind regards.
-
Hello gentlemen,
I can not only save this virtual machine with Backup Exec 2014 for a long time.
They are there was no snapshot in snapshot Manager.
Could you help me?
Hello
I found the solution.
I disabled the JOB BE general relativity.
and the host where the virtual machine belong was not the right time. No Ntp server has been configured.
I did and now there works.
I think that the problem can come from this.
-
entry not long enough for the date format value
Hi all
my table PF having IN_DATE is number format we save date number format as 20120101 (Jan 01, 2012)
and IN_DATE can have 0 (zeros) also.
When running under query, I get error "not long enough for the format of the value entry date.
Please, help me to sort it, why this error is coming?
Thanks in advance
Published by: user10736825 on May 20, 2013 15:30SELECT * FROM pf WHERE TO_DATE(IN_DATE,'YYYYMMDD') > TRUNC(SYSDATE)-100 and IN_DATE != 0;
Hello
When you store date information in a column NUMBER (or string), you just ask in trouble. The best way to avoid this problem is to use a DATE for date information column.
The next best thing is to avoid the conversion of the NUMBER into a DATE. DATEs (such as returned by SYSDATE) still can b converted without risking a mistake, so instead of
user10736825 wrote:
SELECT * FROM pf WHERE TO_DATE(IN_DATE,'YYYYMMDD') > TRUNC(SYSDATE)-100 and IN_DATE != 0;
use:
SELECT * FROM pf WHERE in_date > TO_NUMBER ( TO_CHAR ( TRUNC (SYSDATE) - 100 , 'YYYYMMDD' ) ) ;
-
11g - why is it not add processes for multiple roles in new data sources?
Anyone want to guess why Oracle chose to add roles both in the allocation of privileges to new data sources? If I have 40 different roles and add a new data source, I have to manually add this data source for each role, one at a time, 40 times. Horribly inefficient. Why?When you change the new data source (click on the data source), you have the option: "Move All" available to 'Authorized roles' roles under the security heading. Have you looked at this option? (Admin - Data Sources) and not passing is not by Admin-> roles and permissions...
or have I misunderstood your question?
Thank you
BIPuser -
How not to display no data found for two different elements
I wanted to view report by dept wise or wise provider
so when I'm not have associated deptno data
It should say no data found
for this I use if condition
Ditto for the provider too
instead of giving twice can I give it in the same condition if
If so, howUse logical operator 'or '.
as not found data
-
SQL error: ORA-01840: value not long enough for the format of the date of entry
It is a delete SQL in a driver of demand, which gives no error, but does remove all the lines either. I have converted the removal 'from' to ' Select * ' and may see the following error:
Select * FROM PS_GPDE_DV_TRIG40 WHERE EXISTS (SELECT FROM 'X'
PS_GPDE_DV_ELIG_MO ELG WHERE ELG. EMPLID = PS_GPDE_DV_TRIG40. EMPLID AND
ELG. EMPL_RCD = PS_GPDE_DV_TRIG40. EMPL_RCD AND TO_DATE (TO_CHAR (ELG. PRD_END_DT
"YYYY"). TO_CHAR (ELG. PRD_END_DT, "MM"). '01', "YYYY-MM-DD") =.
PS_GPDE_DV_TRIG40. GPDE_DV_EVT_EFFDT AND ELG. CAL_RUN_ID = "CAL_0812")
Error report:
SQL error: ORA-01840: value not long enough for the format of the date of entry
The interesting thing is that if I attach a condition of emplid, then the SQL above does not give an error and return lines:
Select * FROM PS_GPDE_DV_TRIG40 WHERE EXISTS (SELECT FROM 'X'
PS_GPDE_DV_ELIG_MO ELG WHERE ELG. EMPLID = PS_GPDE_DV_TRIG40. EMPLID AND
ELG. EMPL_RCD = PS_GPDE_DV_TRIG40. EMPL_RCD AND TO_DATE (TO_CHAR (ELG. PRD_END_DT
"YYYY"). TO_CHAR (ELG. PRD_END_DT, "MM"). '01', "YYYY-MM-DD") =.
PS_GPDE_DV_TRIG40. GPDE_DV_EVT_EFFDT AND ELG. CAL_RUN_ID = "FM_CG_0812")
and emplid = "1234"
now, if the number of lines is identified (by giving more number of emplids), it begins to give the error when the number of rows returned is greater than about 30. It is completely independent of what employee is used, so there is no question of data dependence.
Function optimizer cost is off and a subquery nest is off on the init.ora file
subquery UNNEST= false
optimizercost_based_transformation = off
I don't know if it has something to do with this problem.
Explanations would be welcome!
Thank you
VikasI think it is question of data combined with a not very sensible date format mask (it could fail when the null data, because of your concatenation with '01' and work when not null data).
Have you tried with a simple TRUNC?Your code:
...TO_DATE(TO_CHAR(ELG.PRD_END_DT, 'YYYY') || TO_CHAR(ELG.PRD_END_DT , 'MM') || '01' , 'YYYY-MM-DD') =PS_GPDE_DV_TRIG40.GPDE_DV_EVT_EFFDT...
After change:
...TRUNC(ELG.PRD_END_DT , 'MM') =PS_GPDE_DV_TRIG40.GPDE_DV_EVT_EFFDT...
Nicolas.
-
MCAFFE UPDATE LAUNCHER has been closed. To protect your computer Data Execution Prevention has closed McAfee update Launcher. A proglem caused this application to stop working correctly. What should I do? I'm not savvy in computer science. Thank you.
Hello
1. Once you get this error code or error message?
2 have you made changes on the computer before this problem?
3 - is the problem confined to the McAfee update Launcher?
I would suggest trying the following methods and check if it helps.
Method 1:
Put the computer in a clean boot state, and check if the problem persists.
How to troubleshoot a problem by performing a boot in Windows Vista or Windows 7:
http://support.Microsoft.com/kb/929135
Note: once you have completed troubleshooting, try the procedure described in step 7 to reset the computer to start as usual.
Method 2:
Try to uninstall McAfee using the removal tool, and then reinstall and check.
Consult this link for uninstall McAfee of McAfee:
http://service.McAfee.com/FAQDocument.aspx?ID=TS101331
Hope the information is useful.
-
Need Dinstinct values, not the values for pidm (id) of a cursor
Hello! I use 11g. I'm trying to get values distinct pidm in the crusor to ap_rec for inclusion in a couple of tables. However, I also need the set of values for insertion on another table and do not know how to do this.
Set serveroutput on;
game check
coil ap_credit.txt;
declare
The CNT number;
default varchar2 (6) sbgi_code 'Z00162 ';
user_id varchar2 (7) default 'BANWORX ';
number of trit_seq_no;
number of tram_seq_no;
number of trcr_seq_no;
number of trce_seq_no;
number of credit_hours;
term_desc varchar2 (12);
cursor test_scores
is
Select sortest_pidm,
sortest_tesc_code,
sortest_test_score,
Sortest_Test_Date,
(Select Max (A.Stvterm_Code) in Stvterm
where A.Stvterm_start_Date < = Sortest_Test_Date) STVTERM_CODE;
(Replace select (B.STVTERM_DESC,'Term ", null") Stvterm b)
where b.Stvterm_start_Date < = Sortest_Test_Date
AND B.STVTERM_CODE = (Select Max (A.Stvterm_Code) of Stvterm A
where A.Stvterm_start_Date < = Sortest_Test_Date)) STVTERM_desc;
-STVTERM_CODE,
-STVTERM_DESC,
-f_sgbstdn_fields(sortest.sortest_pidm,'201380','MAJOR_1')
SGBSTDN. SGBSTDN_MAJR_CODE_1,
SGBSTDN. SGBSTDN_MAJR_CODE_CONC_1
of sortest, SGBSTDN
where
sortest_pidm = SGBSTDN.sgbstdn_pidm
and SGBSTDN. SGBSTDN_TERM_CODE_EFF = (select max (b.SGBSTDN_TERM_CODE_EFF)
of SGBSTDN b
where b.SGBSTDN_PIDM = SGBSTDN. SGBSTDN_PIDM)
and sortest_tesc_code in (select distinct sxvapcred_tesc_code from ttubanr.sxvapcred)
- and A.STVTERM_CODE = (Select Max (b.Stvterm_Code) From Stvterm B
(- where b.Stvterm_start_Date < = Sortest_Test_Date)
and sortest_activity_date > sysdate - & & numdays;
cursor ap_rec (pidm_in sortest.sortest_pidm%TYPE, tesc_code_in sortest.sortest_tesc_code%TYPE,
test_score_in sortest.sortest_test_score%TYPE, major_in sgbstdn. SGBSTDN_MAJR_CODE_1% TYPE,
conc_in SGBSTDN. TYPE OF SGBSTDN_MAJR_CODE_CONC_1%, TERM_IN STVTERM. TYPE OF STVTERM_CODE %, TERM_DESC_IN STVTERM. STVTERM_DESC % TYPE)
is
Select pidm_in,
TERM_IN,
TERM_DESC_IN,
SXVAPCRED_TTU_SUBJ_CODE,
SXVAPCRED_TTU_CRSE_NUM,
A.SCBCRSE_TITLE,
When case A.SCBCRSE_CREDIT_HR_LOW > 0
then A.SCBCRSE_CREDIT_HR_LOW
of other A.SCBCRSE_CREDIT_HR_HIGH
end SCBCRSE_CREDIT_HR
--(select case quand A.SCBCRSE_CREDIT_HR_LOW > 0)
-then sum (A.SCBCRSE_CREDIT_HR_LOW)
-of another sum (A.SCBCRSE_CREDIT_HR_HIGH)
(- end of SCBCRSE A sum_hours) sum_hours
of ttubanr.sxvapcred, SCBCRSE A
where
SXVAPCRED_TTU_SUBJ_CODE = A.SCBCRSE_SUBJ_CODE
and SXVAPCRED_TTU_CRSE_NUM = A.SCBCRSE_CRSE_NUMB
and sxvapcred_tesc_code = tesc_code_in
and test_score_in > = sxvapcred_min_test_score
and test_score_in < = sxvapcred_max_test_score
and major_in = SXVAPCRED_MAJR
and conc_in = SXVAPCRED_CONC
and A.SCBCRSE_EFF_TERM = (SELECT MAX (B.SCBCRSE_EFF_TERM) FROM SCBCRSE B
WHERE A.SCBCRSE_CRSE_NUMB = B.SCBCRSE_CRSE_NUMB
AND A.SCBCRSE_SUBJ_CODE = B.SCBCRSE_SUBJ_CODE)
-Group of
-pidm_in,
-SXVAPCRED_TTU_SUBJ_CODE,
-SXVAPCRED_TTU_CRSE_NUM,
-A.SCBCRSE_TITLE,
-A.SCBCRSE_CREDIT_HR_LOW,
-A.SCBCRSE_CREDIT_HR_HIGH;
Union
Select pidm_in,
TERM_IN,
TERM_DESC_IN,
SXVAPCRED_TTU_SUBJ_CODE,
SXVAPCRED_TTU_CRSE_NUM,
A.SCBCRSE_TITLE,
When case A.SCBCRSE_CREDIT_HR_LOW > 0
then A.SCBCRSE_CREDIT_HR_LOW
of other A.SCBCRSE_CREDIT_HR_HIGH
end SCBCRSE_CREDIT_HR
of ttubanr.sxvapcred, SCBCRSE A
where
SXVAPCRED_TTU_SUBJ_CODE = A.SCBCRSE_SUBJ_CODE
and SXVAPCRED_TTU_CRSE_NUM = A.SCBCRSE_CRSE_NUMB
and sxvapcred_tesc_code = tesc_code_in
and test_score_in > = sxvapcred_min_test_score
and test_score_in < = sxvapcred_max_test_score
and major_in = SXVAPCRED_MAJR
and SXVAPCRED_CONC IS NULL
and SXVAPCRED_TTU_SUBJ_CODE = A.SCBCRSE_SUBJ_CODE
and SXVAPCRED_TTU_CRSE_NUM = A.SCBCRSE_CRSE_NUMB
and A.SCBCRSE_EFF_TERM = (SELECT MAX (B.SCBCRSE_EFF_TERM) FROM SCBCRSE B
WHERE A.SCBCRSE_CRSE_NUMB = B.SCBCRSE_CRSE_NUMB
AND A.SCBCRSE_SUBJ_CODE = B.SCBCRSE_SUBJ_CODE)
Union
Select pidm_in,
TERM_IN,
TERM_DESC_IN,
SXVAPCRED_TTU_SUBJ_CODE,
SXVAPCRED_TTU_CRSE_NUM,
A.SCBCRSE_TITLE,
When case A.SCBCRSE_CREDIT_HR_LOW > 0
then A.SCBCRSE_CREDIT_HR_LOW
of other A.SCBCRSE_CREDIT_HR_HIGH
end SCBCRSE_CREDIT_HR
of ttubanr.sxvapcred, SCBCRSE A
where
SXVAPCRED_TTU_SUBJ_CODE = A.SCBCRSE_SUBJ_CODE
and SXVAPCRED_TTU_CRSE_NUM = A.SCBCRSE_CRSE_NUMB
and sxvapcred_tesc_code = tesc_code_in
and test_score_in > = sxvapcred_min_test_score
and test_score_in < = sxvapcred_max_test_score
and SXVAPCRED_MAJR IS NULL
and SXVAPCRED_CONC IS NULL
and SXVAPCRED_TTU_SUBJ_CODE = A.SCBCRSE_SUBJ_CODE
and SXVAPCRED_TTU_CRSE_NUM = A.SCBCRSE_CRSE_NUMB
and A.SCBCRSE_EFF_TERM = (SELECT MAX (B.SCBCRSE_EFF_TERM) FROM SCBCRSE B
WHERE A.SCBCRSE_CRSE_NUMB = B.SCBCRSE_CRSE_NUMB
AND A.SCBCRSE_SUBJ_CODE = B.SCBCRSE_SUBJ_CODE);
Hello
Sorry, I can't say what you want.
Whenever you have any questions, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.
If you ask on a DML statement, such as UPDATE, the sample data will be the content of the or the tables before the DML, and the results will be the State of the or the tables changed when it's all over.
Explain, using specific examples, how you get these results from these data.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).
See the FAQ forum: https://forums.oracle.com/message/9362002
Is the problem you need to do some things for all lines and other things only once by pidm?
If so, maybe you should add ROW_NUMBER... PARTITON OF pidm in the query. What you have to do for the separate pidms, do it when ROW_NUMBER returns 1.
-
Hi, need help with folowing SQL
In this case, Sql return value
SELECT * FROM (select min(id) AS id, hin_id as hin_id,code as code, name as name, min(valid_date_to) as valid_date_to ,max(valid_date_from) as valid_date_from from subsidiaries where ID = 50335 GROUP BY hin_id, code, name order by code) ;
In this case is not
SELECT * FROM (select min(id) AS id, hin_id as hin_id,code as code, name as name, min(valid_date_to) as valid_date_to ,max(valid_date_from) as valid_date_from from subsidiaries GROUP BY hin_id, code, name order by code) QRSLT WHERE (( ID = 50335 ));
Why? And how I can fix this isue?
Thank you
ID.
Hello
1D10T wrote:
Hi, need help with folowing SQL
In this case, Sql return value
- SELECT * FROM (select
- min (ID) AS id, hin_id as hin_id, code as code, name, that
- min (valid_date_to) as valid_date_to
- max (valid_date_from) as valid_date_from
- subsidiaries
- WHERE ID = 50335
- GROUP BY hin_id, code, name
- order by code);
In this case is not
- SELECT * FROM (select
- min (ID) AS id, hin_id as hin_id, code as code, name, that
- min (valid_date_to) as valid_date_to
- max (valid_date_from) as valid_date_from
- subsidiaries
- GROUP BY hin_id, code, name
- order by code)
- QRSLT WHERE ((ID = 50335));
Why? And how I can fix this isue?
Thank you
ID.
The first query you're giving information on all lines that have IDs = 50335.
The second query you give information about groups where the lowest id in the group is 50335. If the group is selected (and none of them are with sample data that you use), then the information displayed will include the IDS above 50335, as well as the lines where id is NULL.
How to fix depends on your data, and what results you want that data.
Whenever you have a problem, please post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and the results desired from these data.
Explain, using specific examples, how you get these results from these data.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).
See the FAQ forum: https://forums.oracle.com/message/9362002#9362002
The first query you posted is a way to solve the problem. Replacement of the WHERE clause in the second query with a HAVING clause is another. There are hundreds of other ways.
Maybe you are looking for
-
Error activation product key has been used already on Windows Server 2012.
Original title: Activation error Two days ago, I installed windows server 2012 on my PC... It has been corrupted because of virus on my USB key that I reinstalled it twice but both times, it has been corrupted... when I installed it third time Activa
-
Tengo problema con Patrick, trabajos envio a print get solo manera intermittent en color rojo donde esta el icono triángulo, unos segundos pasa el Círculo icono despues y luz're verde. AHI is no hace nada. MI pregunta are so tengo than fornuis el o p
-
How to change the width of key column when you view files in the Explorer window?
Can someone help me with this one major annoyance I have with Vista? I opened an Explorer window and I want to resize the first column, so I can see the full file name. (First I accidentally spend whole column name because I can't seem to find my mo
-
Since the update of audio driver, no audio output
When I play a video through the VLC browser I hear no audio. Reconizes the sound device, but somewhere, it won't. I noticed today that some audio drivers updated automatically so maybe that is the problem? I'm stuck, and hoping you can help out me. T
-
Cannot restore the backup of the image to the new SSD, said player is not connected
Windows 7-64 bits, hardware upgrade of the HP DM1Z. I have a computer HP DM1Z. "Home Premium" Windows 7 64-bit (again, as in Feb) I decided to replace the current hard drive 320 GB WD with an Intel X 25 - M 80 GB SSD drive. Initially, I bought Acroni