How to use the clause type conditionally create new lines
This question is just for learning - no object other than to start real world to create versions of some queries known to learn how to measure the performance of the MODEL clause clause of the MODEL versions.
The question is: How can you write a STANDARD clause that pivots (updates) ONLY the lines that actually need to rotate and do NOT change the lines that have no value and cannot be rotated.
I found a good site that has about two dozen example articles on different pieces. This first link is the beginning of the series.
SQL features tutorials - Clause TYPE
http://www.sqlsnippets.com/en/topic-11663.html
This link is to a clause of FAQ of BluShadow MODEL version "how to convert rows to columns."
Line - MODEL method string
http://www.sqlsnippets.com/en/topic-11987.html
The solution to this link uses this line of source:
POSITION KEY VAL
--- ---------- ----------
R08 0 v1, v2, v3,.
and this result set:
POSITION KEY VAL
--- ---------- ----------
R08 1 v1
R08 2 v2
R08 3 v3
The reason why it produces that result set is this clause of the statement of MODEL
RETURN THE UPDATED LINES
If you comment on this article, you will see that the original lines are all in position 0. This means that the solution reproduced EACH SOURCE LINE even if there is only one item in the list of values.
Thus, even a line source with a single value (for example, the r01 'a') will be updated and updated this line is returned.
For a large number of data sources with only a few lines that actually need to rotate it would be a great performance of infringement.
This is the sample data source
with t as (button 1, 'a' value 'abc' col2, col3 'def' of the double
Select Union all 2, 'b', 'ghi', 'jkl' from dual
Union all select 3, 'c, d, e, 'mno', 'pqr' from dual.
Union all select 4, 'f', 'stu', 'vwx' from dual
)
Select the key, value, col2, col3
tKEY, VALUE, COL2, COL3
1, a, abc, def
2, b, GHI, jkl
3, "c, d, e, mno, pqr.
4, f, stu, vwx
Lines 1, 2 and 4 only have a value of (a, b, c respectively.
Only line 3 must rotate. It contains "c, d, e" and which must become 3 lines in the result set
Value of the key, col2 col3
1 an abc def
2B ghi jkl
3 c mno, pqr
3 d mno, pqr
3 e mno, pqr
4 f stu vwx
The nut of the problem is that if the clause 'RETURN UPDATED ROWS' is used, then the lines 1, 2 and 4 must be updated in order to be returned in the result set. And if this clause is NOT used, then line 3 must be updated by 'c', d, e 'c' and two new product lines: one line for a ' and one for 'e '.
How can you do this with the TYPE clause without the help of the clause "Return LINES UPDATE"? I don't have a solution to sample showing what I tried because I can't understand what it takes to even try.
I have a solution that uses "RETURN UPDATED ROWS" but I want to compare this performance to the exercise, when this clause is NOT used.
We ask BluShadow to add the solution of MODEL clause to this FAQ with other similar solutions.
Like this?
SQL > with t as
() 2
3 select the 1 key, 'a' val, 'abc' col2, col3 'def' of the double
Select 4 Union all 2, 'b', 'ghi', 'jkl' from dual
5 union all select 3, 'c, d, e, 'mno', 'pqr' from dual.
Select 6 Union all the 4 'f', 'stu', 'vwx' from dual
7)
8. Select the key
9, key_1
10, val
11, regexp_substr (val, ' [^,] +', 1, key_1) val_new
12, col2
13, col3
14 t
model 15
16 partition by (key)
dimension (1 key_1) 17
18 measures (val, col2, col3, (length (val) - length (replace (val, ",")) + 1) as len)
19 rules
(20)
21 val [for 1 to increment of len key_1 [1] 1] = val [1]
22, col2 [for 1 to increment of len key_1 [1] 1] = col2 [1]
23, col3 [for 1 to increment of len key_1 [1] 1] = col3 [1]
24)
25 order
26 by key
27, key_1;
KEY KEY_1 VAL VAL_N NECK NECK
---------- ---------- ----- ----- --- ---
1 1 has an abc def
2 b 1 b ghi jkl
3 1 c, d, e c mno pqr
3 2 c, d, e d mno pqr
3 3 c, d, e e mno pqr
4 1 f f stu vwx
6 selected lines.
Tags: Database
Similar Questions
-
How to use the clause type without hard-coding the values inside?
Query
Select acct_no,
gl_code,
CASE
WHEN entry_type_label ("earned INCOME") THEN
"Recipes".
ON THE OTHER
"Deferred income of credit."
END as entry_type_label,
CASE
WHEN entry_type_label IN ("opening balance") THEN
"Opening balance".
WHEN entry_type_label ("deferred revenue CREDIT") THEN
"The amount of the invoice.
WHEN entry_type_label ("earned INCOME") THEN
"Recipes".
WHEN entry_type_label IN ('closing balance") THEN
"Closing balance.
ON THE OTHER
"Deferred income of credit."
END tag as,
entry_type_no,
orig_chg_start_date,
period_no,
-amt as amt
of revrec_test
WHERE acct_no = 1788562
AND IN (2, 4) entry_type_no (acct_no model dimension,
gl_code,
entry_type_label,
entry_type_no,
orig_chg_start_date,
period_no) measures (amt) rules upsert
all (amt 1788562,
' NON-10011561',
"Opening balance"
2,
2 OCTOBER 17 08.30.00 AM'.
190 = 0,
AMT 1788562,
' NON-10011561',
"Closing balance."
2,
2 OCTOBER 17 08.30.00 AM'.
190 = amt 1788562,
' NON-10011561',
"Deferred income of credit."
2,
2 OCTOBER 17 08.30.00 AM'.
190 - amt 1788562,
"WON-10011561',
"Revenue."
4,
2 OCTOBER 17 08.30.00 AM'.
190,
AMT 1788562,
' NON-10011561',
"Opening balance"
2,
2 OCTOBER 17 08.30.00 AM'.
191 = amt 1788562,
' NON-10011561',
"Closing balance."
2,
2 OCTOBER 17 08.30.00 AM'.
190,
AMT 1788562,
' NON-10011561',
"Deferred income of credit."
2,
2 OCTOBER 17 08.30.00 AM'.
191 = 0,
AMT 1788562,
' NON-10011561',
"Closing balance."
2,
2 OCTOBER 17 08.30.00 AM'.
191 =.
(amt 1788562, "UNEARNED-10011561',"Opening balance", 2,")
2 October 17 08.30.00 AM', 191 + amt 1788562, "UNEARNED-10011561',
("'Revenue deferred credit', 2, 08.30.00 October 2, 17 h", 191)-amt
1788562,
"WON-10011561',
"Revenue."
4,
2 OCTOBER 17 08.30.00 AM'.
191,
AMT 1788562,
' NON-10011561',
"Opening balance"
2,
2 OCTOBER 17 08.30.00 AM'.
192 = amt 1788562,
' NON-10011561',
"Closing balance."
2,
2 OCTOBER 17 08.30.00 AM'.
191,
AMT 1788562,
' NON-10011561',
"Deferred income of credit."
2,
2 OCTOBER 17 08.30.00 AM'.
192 = 0,
AMT 1788562,
' NON-10011561',
"Closing balance."
2,
2 OCTOBER 17 08.30.00 AM'.
192 =.
(amt 1788562, "UNEARNED-10011561',"Opening balance", 2,")
2 October 17 08.30.00 AM', 192 + amt 1788562, "UNEARNED-10011561',
"Revenue deferred credit", 2, 08.30.00 2 October 17: "(, 192)-amt"
1788562,
"WON-10011561',
"Revenue."
4,
2 OCTOBER 17 08.30.00 AM'.
192,
AMT 1788562,
' NON-10011561',
"Opening balance"
2,
2 OCTOBER 17 08.30.00 AM'.
193 = amt 1788562,
' NON-10011561',
"Closing balance."
2,
2 OCTOBER 17 08.30.00 AM'.
192,
AMT 1788562,
' NON-10011561',
"Deferred income of credit."
2,
2 OCTOBER 17 08.30.00 AM'.
193 = 0,
AMT 1788562,
' NON-10011561',
"Closing balance."
2,
2 OCTOBER 17 08.30.00 AM'.
193 =.
(amt 1788562, "UNEARNED-10011561',"Opening balance", 2,")
2 October 17 08.30.00 AM', 193 + amt 1788562, "UNEARNED-10011561',
("Revenue deferred credit", 2, 08.30.00 2 October 17: ', 193)-amt
1788562,
"WON-10011561',
"Revenue."
4,
2 OCTOBER 17 08.30.00 AM'.
193)
ORDER BY period_no, entry_type_no;
The query above works fine. But I hardcoded the values. I want to do the same operation for the other account number which will have different non periodical. How can I reach it?
Thanks in advance.
And why do you need a model for that? If I understand the reqs OK:
with t as)
Select acct_no,
"U-11561' gl_code,
"Deferred income credit ' entry_type_label,.
2 entry_type_no,
orig_chg_start_date,
period_no,
Max)
case entry_type_no
When 2 then - amt
0 otherwise
end
) amt,.
Description of the "invoice."
2 weight
from table_one
Acct_no group,
orig_chg_start_date,
period_no
Union of all the
Select acct_no,
gl_code,
entry_type_label,
entry_type_no,
orig_chg_start_date,
period_no,
-amt,
Description "paid the Bill."
3 weight
from table_one
where entry_type_no = 4
Union of all the
Select acct_no,
"U-11561' gl_code,
"Deferred income credit ' entry_type_label,.
2 entry_type_no,
orig_chg_start_date,
period_no,
AMT 0,.
case lvl
When 1 then 'account opening. "
of other "close account."
description of the end,
case lvl
When 1 then 1
another 99
end weight
from table_one,.
(select level lvl from dual connect by level<=>=>
Acct_no group,
orig_chg_start_date,
period_no,
LVL
)
Select acct_no,
gl_code,
entry_type_label,
entry_type_no,
orig_chg_start_date,
period_no,
case
what weight (sum) (1.99) can
case weight
When 2 then amt
When 3 then - amt
0 otherwise
end
)
During)
acct_no partition
order of period_no,
weight
)
AMT else
AMT of end,
Description
t
order of acct_no,
period_no,
weight
/
ACCT_NO GL_CODE ENTRY_TYPE_LABEL ENTRY_TYPE_NO ORIG_CHG_START_DATE PERIOD_NO AMT DESCRIPTION
------- ---------------------------- ----------------------- ------------- --------------------- --------- ---------- ---------------
1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 100 0 opening account
1001 U-11561 deferred revenue credit 2 Bill October 2, 17 08.30.00 AM 100 44
E-11561 1001 recipes 4 08.30.00 2 October 17: 100 13.87 paid invoice1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 100 30.13 closing account
1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 101 30.13 opening account
1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 101 0 Bill
E-11561 1001 recipes 4 08.30.00 2 October 17: 101 14,35 paid invoice1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 101 15.78 closing account
1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 102 15.78 opening account
1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 102 Bill 0
E-11561 1001 recipes 4 08.30.00 2 October 17: 102 14.83 invoice paid1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 102.95 close account
1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 103.95 opening account
1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 103 Bill 0
E-11561 1001 recipes 4 08.30.00 2 October 17: 103.95 invoice paid1001 U-11561 deferred revenue credit 2 2 October 17 08.30.00 AM 103 0 closing account
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 104 0 opening account
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 60 104 Bill
1002 fixed costs recurring revenue COA Code 4 09.30.00 November 17, 13 h 104 9.13 invoice paid1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 104 50.87 closing account
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 105 50.87 opening account
1002 U-11561 deferred revenue credit 2 December 20, 13 09.30.00 AM 105 50.87 opening account
1002 U-11561 deferred revenue credit 2 09.30.00 December 20, 13 h 105 19.24 invoice
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 105 0 Bill
1002 fixed costs recurring revenue COA Code 4 09.30.00 November 17, 13 h 105 44,91 paid invoice1002 fixed costs recurring revenue COA Code 4 December 20, 13 09.30.00 AM 105 - 7.82 Bill paid
1002 fixed costs recurring revenue COA Code 4 09.30.00 December 20, 13 h 105 3.93 invoice paid
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 105 29.09 closing account
1002 U-11561 deferred revenue credit 2 December 20, 13 09.30.00 AM 105 29.09 closing account
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 106 29.09 opening account
1002 U-11561 deferred revenue credit 2 December 20, 13 09.30.00 AM 106 29.09 opening account
1002 U-11561 deferred revenue credit 2 December 20, 13 09.30.00 AM 106 0 Bill
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 106 0 Bill
1002 fixed costs recurring revenue COA Code 4 09.30.00 November 17, 13 h 106 44,91 paid invoice1002 fixed costs recurring revenue COA Code 4 09.30.00 December 20, 13 h 106 11.75 invoice paid
1002 fixed costs recurring revenue COA Code 4 December 20, 13 09.30.00 AM - 23.47 106 paid
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 106-4.1 closing account
1002 U-11561 deferred revenue credit 2 December 20, 13 09.30.00 AM 106-4.1 closing account
1002 U-11561 deferred revenue credit 2 December 20, 13 09.30.00 AM 107 - 4.1 opening account
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 107 - 4.1 opening account
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 107 Bill 0
1002 U-11561 deferred revenue credit 2 December 20, 13 09.30.00 AM 107 Bill 0
1002 fixed costs recurring revenue COA Code 4 December 20, 13 09.30.00 AM - 13.69 107 paid invoice1002 fixed costs recurring revenue COA Code 4 November 17, 13 09.30.00 AM 107 35.91 invoice paid
1002 fixed costs recurring revenue COA Code 4 09.30.00 20 December 13 AM 107 6,86 invoice paid
1002 U-11561 deferred revenue credit 2 17 November 13 09.30.00 AM 107 - 33.18 closing account
1002 U-11561 deferred revenue credit 2 December 20, 13 09.30.00 AM 107 - 33.18 closing account47 selected lines.
SQL >
SY.
-
How to use the search otherwise condition as
Oracle 9i
Hi all
I work in the management of control here, we have a table named as OE_ORDER_LINES_ALL and the name of the column called UPI, and its length is 16 tank.
Now the customer has the UPI with 13 tank and now, I need to check if all the IPUS are in the table.
I have almost 600 of the UPI and I can't able to use as an operator. Y at - it one option other than as an operator.
For example
Resemble UPI this 050 009714373007G, but the customer gave this G 009714373007.
Is there a UPI then I would use like this
"Select upi in oe_order_lines_all where the upi as ' 009714373007 G %.
If there is more than 2 UPIs how to use the search condition
Any help is highly appricatable
Thanks and greetings
Srikkanth.MIf you know that you will benefit from a number of values of UPI 13 characters and you should look for if there are rows in the table that match the 13 first characters
select upi from oe_order_lines_all where substr(upi,1,13) IN( '009714373007G', <
> ) Justin
-
How to use the record type as a parameter IN PL/SQL procedure or package
Hi people,
I need help on the record as the OUT parameter type. I am able to get out a single line as a parameter, but not getting do not idea how to get a multi ranks as output parameter.
I have the code that works very well for a single line. Please see CODE1.
But when I try to get several lines, I'm failing to do. Please see the CODE2. I get the error of compilation as
Error report:
ORA-06550: line 11, column 35:
PLS-00487: Invalid reference to the variable "P_NAME.
ORA-06550: line 11, column 1:
PL/SQL: Statement ignored
06550 00000 - "line %s, column % s:\n%s".
* Cause: Usually a PL/SQL compilation error.
Any help or a sample execution of script would be really useful.
Thanks in advance.
YZ
--------------------------CODE1------------------------------------------
-------------------------Package Spec-------------------------------
CREATE OR REPLACE
PACKAGE xx_sample_pkg as
--
Xx_sample_table_rectype RECORD TYPE IS
(p_name varchar2 (40))
number of p_emp_id
);
PROCEDURE xx_sample_prc (xx_sample_rec1, OUT xx_sample_table_rectype);
END xx_sample_pkg;
------------------------------Package Body------------------------
create or replace
PACKAGE xx_sample_pkg AS BODY
--
PROCEDURE xx_sample_prc (xx_sample_rec1 OUT xx_sample_table_rectype) IS
BEGIN
SELECT ename, empno
IN xx_sample_rec1
FROM scott.emp
WHERE ename = 'SMITH ';.
END xx_sample_prc;
END xx_sample_pkg;
-------------------------------------------Execute----------------------
DECLARE
l_rec_type xx_sample_pkg.xx_sample_table_rectype;
BEGIN
dbms_output.put_line ('xx_sample_prc appeal');
xx_sample_pkg.xx_sample_prc (l_rec_type);
dbms_output.put_line ('YZ' | l_rec_type.p_name |') '|| l_rec_type.p_emp_id);
END;
---------------------------------------------------------------
-------------------------CODE2-------------------------------------------
-------------------------Package Spec-------------------------------
CREATE OR REPLACE
PACKAGE xx_sample_pkg as
--
Xx_sample_table_rectype RECORD TYPE IS
(p_name varchar2 (40))
number of p_emp_id
);
PROCEDURE xx_sample_prc (xx_sample_rec1, OUT xx_sample_table_rectype);
END xx_sample_pkg;
------------------------------Package Body------------------------
create or replace
PACKAGE xx_sample_pkg AS BODY
--
PROCEDURE xx_sample_prc (xx_sample_rec1 OUT xx_sample_table_rectype) IS
BEGIN
SELECT ename, empno
IN xx_sample_rec1
FROM scott.emp;
END xx_sample_prc;
END xx_sample_pkg;
-------------------------------------------Execute----------------------
DECLARE
l_rec_type xx_sample_pkg.xx_sample_table_rectype;
BEGIN
dbms_output.put_line ('xx_sample_prc appeal');
xx_sample_pkg.xx_sample_prc (l_rec_type);
for l_rec in 1.l_rec_type.p_name.count
loop
dbms_output.put_line ('YZ' | l_rec_type.p_name (l_rec) |) » '|| l_rec_type.p_emp_id (l_rec));
end loop;
end;
---------------------------------------------------------------
bb8c573a-6ca3-4d7c-90ed-e55c2df67201 wrote:
But now, my question would be why the record type could not be used? My understanding is missing some concept between use of type type array collection record vs. Please specify.
Do not confuse the folder with the collection.
SY.
-
How to use the control host for creating folders
I want to create a folder called abc in my C drive using forms 6i.
How can I do this by using the Host command?Host('MD C:\ABC');
François
-
How to force the data type in create table field?
Hi all
I need to force my table to create as follows
Create table XYZ
(Test varchar2 (10 CHAR)
...
);
When I run my Interface the script is
Create table XYZ
(Test varchar2 (10))
...
);
and the DBMS translated into
Create table XYZ
(Test varchar2 (10 BYTE),
...
);
I have the same problem with I$, C$, and so on.
Best regards
Marco
Hi all
I fix my problem:
In Phisical Tecnology, under ORACLE Tecnology, data TYPE, I modified the definition of VARCHAR2 in VARCHAR2(%L CHAR).
(Before it was VARCHAR2 (%)).
Thank you all.
Marco
-
How to use the photos saved on a new hard drive after a hard drive failure?
My external hard disk drive is crushed when I imported and saved my photos to Lightroom. The Lightroom catalog was not on this disc. I had saved pictures. I copied the photos and the structure of accurate records on my new hard drive. Just use the 'Find all my files' option in Lightroom?
Thanks for any help.
Thank you!
It worked, but my structure is as follows:
Photos from Lightroom
2004
Jan
Feb
2015
Jan
Feb
Softball Sting
In Lightroom, only individual folders appear. I have nearly 100. Is it possible to change the display, so I only to recreate a link to the folder Lightroom Photos instead of each individual file?
-
I need to know how to use the efax on my Photosmart new.
Let me know hoe to get it going
Glad to hear that you guessed it work! To answer your question, not only the station supports eFax. Let me know if I can provide any further assistance!
-
How to use the Type of Oracle Table values in the Select statement.
Hello
I get the initial set of values in the Table of Type Records of the Oracle and want to use the list of values in the Select statement.
For example, try something like the following:
TYPE t_record () IS RENDERING
ID TABLEA.ID%type,
NO TABLEA.NO%type
);
v_record t_record;
T_table TYPE IS the v_record TABLE % TYPE;
v_table t_table;
-Code to fill the values of v_table here.
SELECT ID, NO, COLLECT in BULK IN < some other table variabes here > FROM TABLEA
WHERE ID IN (i) v_table USER.USER;
I want to know how to use the Type of Oracle Table values in the Select statement.Something like this:
create or replace type t_record as object ( id number, no number ) / CREATE or replace type t_table AS TABLE OF t_record; / set serveroutput on declare v_table t_table := t_table(); v_t1 t_table := t_table(); begin v_table.extend(1); v_table(1).ID := 1; v_table(1).No := 10; v_table.extend(1); v_table(2).ID := 2; v_table(2).ID := 20; SELEC t_record (ID,NO) BULK COLLECT INTO v_t1 from TableA FROM TABLEA WHERE ID IN (select t.ID from table(v_Table) t); for i in 1..v_t1.count loop dbms_output.put_line(v_t1(i).ID); dbms_output.put_line(v_t1(i).No); end loop; end; /
No test!
P;
Published by: bluefrog on March 5, 2010 17:08
-
How to use the Page number in the IF condition
Hello
I have an obligation to change the output based on Page numbers. Can you please help me how to use the Page number in IF condition.
Thank youCan u send me a sample xml and RTF file to my email in my profile identification, so that I can have a look.
-
How to use the Group condition in the ODI mappings
Hi Experts,
I have a requirement in the customization of BI applications. Can you please someone explain how to use the LISTAGG function in odi mapping.
I applied the LISTAGGR function at the level of mapping odi, but I get error below.
Mapping of ODI: ColumnName: ENAME Expression: LISTAGG (EMP. ENAME, ",") THE GROUP (RANKING BY EMP. ENAME)
Error:
ODI-1240: Flow LIST_AGG_FUN_USAGE fails during an operation of integration. This flow of charge table target EMP_BI.
ODI-1228: task failed LIST_AGG_FUN_USAGE (integration) on the scott_db of ORACLE target connection.
Caused by: java.sql.SQLSyntaxErrorException: ORA-00937: not a function of simple-group
Oracle query:
If I used this sql query in the database the correct result is.
SELECT DEPTNO, LISTAGG (ENAME, ',') WITHIN THE EMP EMP (ENAME CONTROL) GROUP. DEPTNO;
Output:
10 CLARK, KING, MILLER 20 ADAMS, FORD, JONES, SCOTT, SMITH 30 ALLEN, JAMES, MARTIN, BLAKE, TURNER, WARD Please give your valid solutions, thanks in advance.
Kind regards
REDA
If you try in #ODI12C then in the set of properties, you can select the column which should be used to group by.
If it's 11g so its bit complicated. Simply replace the mapping with below codes.
LISTAGG (EMP. ENAME, ",") WITHIN GROUP (ORDER BY ENAME) / * sum() * /.
Magic!
Thank you
Chantal
-
Hello
After a lot of work, I finally could restore my OS using Windows backup disks that I created a few years back. (The OS has been corrupted when the power has been accidentally deleted from the system and the battery was dead)
Restoring backup widows put everything on 444 GB C drive. Nothing I put on the SSD drive d:-20 GB and there is nothing in the tools of HP E: drive - 4 GB
How can I make use of the SSD drive to help speed up the system? I see the system starts and runs more slowly now. I'm ready to blow the current operating system and re-run the Windows backup utility. But I need to know how to use the SSD during the restoration.
Any help is appreciated.
Thank you
Bob
Hey @llebrez,
Welcome to the Forums of HP Support! This is a great place to find solutions and help our community!I understand that you have some information about using the SSD in your HP Pavilion dm4 Beats Edition Entertainment Notebook. I'd be happy to help you with that.
The SSD in your laptop is used for a technology called Intel Smart Response. Intel Smart Response uses the SSD as a type of Cache smart to help load the items faster. The reason why that is not used currently is because the restoration of the system is not designed to use the SSD for intelligent caching and is not able to establish that on its own.
If you want to configure Intelligent caching on your laptop, you can follow this guide provided by overclock.net: how: implement the Intel Smart Response Technology (SSD caching)
I hope this helps. If you have more questions that I'm able to answer for you, please do not hesitate to ask.
Please hold me.
By pressing the Thumbs Up button below, you can always say thank you!
See you soon. -
How to determine the image type in IMAQdx
You can use the property IMAQ node to determine the image type when creating images. However, when I try with IMAQdx I get 0 bits per pixel and I do not see a type as for IMAQ image. I am creating 8-bit images when my camera is color. How can I determine the image type of the camera file?
Hi rammer,.
IMAQdx exposes an attribute called "TypeOfImageInUse" that will give you the image type expected for the current settings of the camera. However, none of the functions that return an image IMAQdx will automatically convert the image to the format automatically, so you don't normally have to worry about this.
I do not believe that the attribute is now directly exposed as his own property node, but you can use the CameraAttributes-> ActiveAttribute/ValueU32 those for questioning as any other attribute of dynamic camera.
Eric
-
Selection of the list of clients using the clause "EXISTS".
Dear all,
I have 3 tables, say,
TABLE1:
CUST_CODE
(PRIMARY KEY)
CUST_NAME
CUST_COUNTRY_CODE
CUST_CITY_CODE
CUST_AREA_CODE
A
CUST1
COU1
CIT1
A1
B
CUST2
COU2
CIT2
A2
C
CUST3
COU2
CIT2
A3
D
CUST4
COU3
CIT4
A4
E
CUST5
COU3
CIT5
A5
TABLE2
STOCK_SYS_ID
(PRIMARY KEY)
STOCK_CUSTOMER_CODE
STOCK_CUSTOMER_
COU_CODE
STOCK_
CUSTOMER_
CIT_CODE
STOCK_
CUSTOMER_
ARE_CODE
STOCK_DOC_
CREATED
1
A
[Leaving empty as we have reference only to the customers and the date here...]
10/15/2015
2
B
15/09/2015
3
A
16/08/2015
4
C
18/08/2015
5
E
22/07/2015
6
C
31/01/2015
7
A
15/10/2014
TABLE 3
AREA_CODE
AREA_COUNTRY_CODE
AREA_CITY_CODE
A1
COU1
CIT1
A2
COU2
CIT2
A3
COU3
CIT2
A4
COU3
CIT3
A5
COU4
CIT5
How can I find the list of clients of TABLE1, which are present in TABLE2 by 2015 and have country-city-zone, both correct mapping as specified in section TABLE3 using the clause "EXISTS".
Is that my output will be like,
CUST_CODE
(ONLY CORRECT CUSTOMER CODES)
CUST_NAME
A
CUST1
B
CUST2
Thanks in advance,
Séverine Suresh
Hello
So, you want to see 3 columns in table1 correspond to 3 columns in t3. It is not enough for only 1 column equal:
Area_Code must be equal
country_code and must be equal
city_code and must be equal.
Here's a way to encode that, by using the EXISTS operator in a WHERE clause:
SELECT cust_no, cust_name
FROM table1 t1
WHEN THERE IS)
SELECT 0
Table 3 T3
WHERE t3.area_code = t1.cust_area_code
AND t3.area_country_code = t1.cust_country_code
AND t3.area_city_code = t1.cust_city_code
)
;
I hope that answers your question.
If not, please post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and the results you want to start from these data (otherwise what you've posted already).
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: Re: 2. How can I ask a question on the forums?
-
How to use the concepts Advanced PL/SQL in oracle reports and forms
Hi all
Can anyone suggest me how to use the Concepts(nested tables,PAA,Varrays,Objects...) Advanced PL/SQL in Oracle forms.
In fact, I created a Table whose column of type Varray. now, I want to create an element in oracle forms on this field. can anyone suggest me how to proceed.
Thank you
KumarHello
Take a look at this one:
http://SheikYerbouti.developpez.com/tutoforms10g/tutoforms10g.htm
especially the chapter on the block that contains a collection of (2.3.3). The sample is built around a nested table, but you get the idea to adapt to work with a varray.Kind regards
AlexIf someone useful or appropriate please mark accordingly.
Maybe you are looking for
-
Here's the whole thing: An unknown service (port 266877) starts on your Mac. If you do not change the settings of the firewall, the firewall blocks the connection to other computers to this service on your Mac. Then, there are these choices Allow all
-
I clicked ok for a "you have won" pop - up of my safari on my Iphone...
I clicked ok for a "you have won" pop - up of my safari. Immediately, I realized my mistake and closed the page. I woke the next morning to find an email from my yahoo email user name but a different domain address. I then found my Facebook applica
-
Why not remove files from a SD card?
Why did I get this message when I try to delete the files from my card SD of GoPro? I'm going on a trip and I need to erase this SD card. Any help please?
-
Satellite M70-164 PSM71: after the installation of Vista the display flashes
Hello I have a M70 - 164 witch has an ATI mobility Radeon x 700 with 128 MB dedicated. I installed Windows Vista Business on it, but sometimes, when the LCD resolution changes (IE, when I start a game, when I close the LCD screen and open when I conn
-
Portege R700-17Z bios not recognizing USB devices
Hello I'm after some advice on a problem I'm having with my R700, I can't get the laptop to recognize USB hard drives start-up stage. I am trying to use Acronis to create an image that I have 40 of these laptops. The CD-ROM USB CD drive is recognized