interesting SQL and plsql problem.
The web application has a function to generate reports based on what the user selects, which includes this as the fields to display in the report, what order to display those selected fields, etc.Now, one of the field called suffix field is need removed the drop-down lists SELECT and ORDER BY. Please advise on how to solve the problem when the suffix record is removed from the database, and how we can increase the index [#] of these later OrderByField?
reportId reportField reportValue
====================
1 orderByField fname [0]
1 orderByField [1] MI
1 lname orderBytField [2]
1 orderByField [3] suffix
lname orderBytField 2 [0]
suffix of orderByField 2 [1]
2 orderByField fname [2]
2 orderByField [3] MI
In the example above, delete suffix will not affect reportId 1, but for reportId 2, if we remove the suffix, how do we record like the following?
lname orderBytField 2 [0]
2 orderByField fname [1]
2 orderByField [2] MI
I am open to any suggestion, using sql and plsql. The database is 9i.
THX.
Hello
You're wright, you need to replace in the order by clause:
with d as(
select 1 as reportId, 'orderByField[0]' as reportField, 'fname ' as reportValue from dual union all
select 1 as reportId, 'orderByField[1]' as reportField, 'MI ' as reportValue from dual union all
select 1 as reportId, 'orderByField[2]'as reportField, 'lname ' as reportValue from dual union all
select 1 as reportId, 'orderByField[3]' as reportField, 'suffix' as reportValue from dual union all
select 2 as reportId, 'orderByField[1]' as reportField, 'suffix' as reportValue from dual union all
select 2 as reportId, 'orderByField[2]' as reportField, 'fname2' as reportValue from dual union all
select 2 as reportId, 'orderByField[0]'as reportField, 'lname0' as reportValue from dual union all
select 2 as reportId, 'orderByField[6]'as reportField, 'lname6' as reportValue from dual union all
select 2 as reportId, 'orderByField[12]'as reportField, 'lname12' as reportValue from dual union all
select 2 as reportId, 'orderByField[4]'as reportField, 'lname4' as reportValue from dual union all
select 2 as reportId, 'orderByField[5]'as reportField, 'lname5' as reportValue from dual union all
select 2 as reportId, 'orderByField[8]'as reportField, 'lname8' as reportValue from dual union all
select 2 as reportId, 'orderByField[10]'as reportField, 'lname10' as reportValue from dual union all
select 2 as reportId, 'orderByField[11]'as reportField, 'lname11' as reportValue from dual union all
select 2 as reportId, 'orderByField[9]'as reportField, 'lname9' as reportValue from dual union all
select 2 as reportId, 'orderByField[7]'as reportField, 'lname7' as reportValue from dual union all
select 2 as reportId, 'orderByField[3]' as reportField, 'MI ' as reportValue from dual)
SELECT a.reportId, 'reportField[' || to_char(DECODE(ROWNUM-min_sno,0,1,rownum+1-min_sno)-1)|| ']' as newReportField, reportValue FROM
(SELECT * FROM d where d.reportValue != 'suffix' ORDER BY reportId, to_number(substr(reportField, instr(reportField, '[')+1, instr(reportField,']')-instr(reportField, '[')-1)) ) a,
(
SELECT reportId,MIN(rownum) min_sno FROM
(
SELECT * FROM d where d.reportValue != 'suffix' ORDER BY reportId, to_number(substr(reportField, instr(reportField, '[')+1, instr(reportField,']')-instr(reportField, '[')-1))
)
GROUP BY reportId
) b
WHERE a.reportId = b.reportId;
Kind regards
Published by: Walter Fernández on January 6, 2009 16:51 - sorry I forgot the version of your database in the first post, I replaced the regular expression...
Tags: Database
Similar Questions
-
I want to improve my skills in sql and plsql
Hello friends,
I finished the course SQL and PLSQL a few weeks back. Since then I've been hunting for a relevant work for SQL / PLSQL developer.
However I really want to improve my writing of the subprogrammes, build effective SQL queries to become a skilled oracle developer.
My current work is not linked to this use so all my free time to improve my knowledge in this area.
I know the basics of SQL and PLSQL concepts and can write queries simple, subprogrammes, but to become employable, according to me, that I need to learn a lot more.
Please suggest me some good sources be it no books / sites Web, etc. anything that would really help me become a good developer.
I'm desperate to make a career out of Oracle SQL / PLSQL!
Thanks in advance.
Do what most of the experts do... start at the bottom.
Find a job in a junior role (and yes it will be low wages initially) where the company may see your potential and enthusiasm to learn and will give training and let you learn on the job. If you have the skills to do it, then you will learn quickly and prove you are competent and deserve to be promoted to better roles.
When I started (in the same after having a university degree in it), I always had to start at the bottom, in a junior role, on a 3 month temporary contract. Who got so extended that they identified some new work roles that were needed, and then I had to get one of these new jobs, where I got a permanent role. Within 18 months, they had sent me on the training, and I was promoted to a role of DBA/programmer, working alongside other programmers and hardware team to manage database servers... everything just because I had shown the ability, willingness to learn and the professional approach to my work.
Don't think you can just get some training or the qualities of the review, but have no experience and just get into some senior roles or an expert, as most of the companies are wise to such things... they want to know what you have for the roles of the experience.
-
need to get sql and plsql certifications
Dear Sir
I did the track developer oracle 9i in 2008 and not not taken any which certificate online, but right now I want to get this certificate to provide to my new employer which depends on, could you pls tell me who exact route because I saw the site of oracle certification, but some are for those who already made in the past as a dimming etc but no accreditation for those who have not "taken previously.
All Certifications | Certifications | Oracle
Please advice.
Thank you.
As a general rule, I recommend that candidates continue 1Z0-144: Oracle Database 11g: program PL/SQL rather than the exam 1Z0-147. They are equivalent regarding certification obtained the passage, but 144 is newest and best essay in general. Discuss the two in this article here:
Oracle PL/SQL Developer Certification: 1Z0-147 or 1Z0-144?
Studying the materials, I have compiled links to documents of study of certification secure for a number of reviews of Oracle on my site. Links for 1Z0-047 and 1Z0-144 are:
Oracle Certification Preparation: Details of the examination and preparation for 1Z0 - 047 resources
Oracle Certification Preparation: Details of the examination and preparation for 1Z0 - 144 resources
-
SQL and PLSQL solution for when Bishop subordinated direct - result of date range
Someone there SQL lying around and reduced which can merge a table of dates in a set of data which represents a mixture of dates? See below.
DROP TABLE dummydates_tbl;
CREATE TABLE dummydates_tbl
(NUMBER, NUMBER OF MANAGERID EMPID, DATE STARTDATE, ENDDATE DATE);
INSERT INTO dummydates_tbl values (9769,1234,to_date('01-JAN-2012','DD-MON-YYYY'),to_date('30-JAN-2012','DD-MON-YYYY'));
INSERT INTO dummydates_tbl values (5512,1234,to_date('25-JAN-2012','DD-MON-YYYY'),to_date('25-FEB-2012','DD-MON-YYYY'));
INSERT INTO dummydates_tbl values (9769,1234,to_date('10-MAR-2012','DD-MON-YYYY'),to_date('30-JUN-2012','DD-MON-YYYY'));
INSERT INTO dummydates_tbl values (8853,1234,to_date('10-MAR-2012','DD-MON-YYYY'),to_date('30-JUN-2012','DD-MON-YYYY'));
COMMIT;
-Script fixed. I'm sorry.
/*
Need to SQL which produces a result that shows the dates that a manager had employed was
MANAGERID STARTDATE ENDDATE
--------- --------- -------
1234 1 JANUARY 2012 FEBRUARY 25, 2012
1234 10 MARCH 2012 JUNE 30, 2012
Picture data:
|--------------| |-------------|
|---------|
|-------------|
*/
Published by: bsc7080oec on November 12, 2012 11:34
Published by: bsc7080oec on November 12, 2012 12:37
-
MATH HEAVY - SQL and PLSQL - PROCEDURE/FUNCTION
Hello
I have a chart with lines more million. In this table, I have a lot of members associated with 60-70 facility_names.
Unique index is on CMPNY, FNAME, M_ID MONTHS.
Below, I have some EXAMPLES OF 3 facilities, ADIOS DAOMATO, NADA CAPETOWN and NADA NEW DIAMONDS.
These companies have two different contract.
For example, NADA CAPETOWN & NADA NEW DIAMOND
-As soon as total Amount_1 CDA for a member associated with above facilities will more $2,000 and total Amount_2 passes over $4000, installation gets insurance protection for 90% of the sum, he surpassed in each categories.
In example below, M0001 of NADA CAPETOWN, CDA AMOUNT_1 total more than $2,000 to 1 October 2009 (total $2160), installation gets recoveries of $144 ((2160-2000) * 90%).
Similarly, in November 1, 2009, total of CDA is $2180 and installation gets recoveries of $18 ((2180-2160) * 90%). I subtracted $2160 because installation has already received $144 for having exceeded $160, more than 2000 back on October 1, 2009.
Very similar, total if Amount_2 CDA exceeds 4000, TI $ receives 90% of the amount after $4000. (the calculations are the same as above)
The column of recoveries should summarize recoveries exceed amount_1 and amount_2 per month.
During this time,.
ADIOS DAOMATO has a different contract. When single member of this facility (CDA AMOUNT_1 + AMOUNT_2 CDA) is greater than 5000, the plant recovers 90%.
In the case of sum CDA Member Unique of ADIOS DAOMATO of AMOUNT_1 & AMOUNT_2 (combined) will more than $5,000, then installation gets insurance protection for 90% of the amount it exceeded.
In the example below, total ADIOS DAOMATO CDA exceeds $5,000 in October 1, 2009 by $540 ($11080 total YTD), so installation retrieves ((11080-10000$) * 90%) = $972. After months of November 1, 2009, $40 ($20 + $20) added more than $5,000, so installation recoveres (($5580-5540 $) * 90%) = $36...
* I don't mind saw these two distinct processes. Please note that the calculation of recoveries ($) are by a single member of the installation by month/year, but the result should be to ease a month. So far I have annually. But I really need every month for financials.*
Purpose: I need to know what level of insurance protection the installation receives monthly.
For the duration of the contract 1 the Reisurance Total must be entered in the column "RECOVERIES" (COLLECTIONS of REINSURANCE OF AMOUNT_1 + the RECOVERIES of REINSURANCE OF AMOUNT_2).
For the duration of the contract 2, there is only 1 recovery mode.
As the I mentioned, that's a CALCULATION for a YEAR when the year changes, everything resets all members. *
_ I would greatly appreciate your help. _
Using oracle 10g
DROP TABLE PAYMENT_1; create table PAYMENT_1 (CMPNY VARCHAR2(4), F_NAME VARCHAR2(100), M_ID VARCHAR2(8), MONTH DATE, AMOUNT1 FLOAT(126), AMOUNT2 FLOAT(126) ); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0002','01-JAN-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0002','01-JAN-2009','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-JAN-2009','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-FEB-2009','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-FEB-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-JUL-2009','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-AUG-2009','500','2000'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0002','01-AUG-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0002','01-OCT-2009','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-OCT-2009','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-NOV-2009','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-DEC-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-DEC-2009','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-DEC-2009','500','2000'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0001','01-JAN-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0001','01-JAN-2009','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-JAN-2009','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-FEB-2009','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-FEB-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-JUL-2009','1200','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-AUG-2009','500','2200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0001','01-AUG-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0001','01-OCT-2009','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-OCT-2009','100','220'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-NOV-2009','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-DEC-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-DEC-2009','1100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-DEC-2009','500','2200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2009','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2009','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-FEB-2009','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-FEB-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-JUL-2009','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-AUG-2009','500','2000'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-AUG-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-OCT-2009','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-OCT-2009','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-NOV-2009','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2009','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2009','500','2000'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN','M0004','01-JAN-2010','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN','M0004','01-JAN-2010','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-JAN-2010','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-FEB-2010','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-FEB-2010','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-JUL-2010','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-AUG-2010','500','2000'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN','M0004','01-AUG-2010','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN','M0004','01-OCT-2010','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-OCT-2010','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-NOV-2010','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-DEC-2010','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-DEC-2010','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-DEC-2010','500','2000'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2010','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2010','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2010','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-FEB-2010','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-FEB-2010','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-JUL-2010','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-AUG-2010','500','2000'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-AUG-2010','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-OCT-2010','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-OCT-2010','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-NOV-2010','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2010','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2010','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2010','500','2000'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','ADIOS DAOMATO','M0010','01-JAN-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','ADIOS DAOMATO','M0010','01-JAN-2009','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-JAN-2009','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-FEB-2009','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-FEB-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-JUL-2009','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-AUG-2009','500','2000'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','ADIOS DAOMATO','M0010','01-AUG-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','ADIOS DAOMATO','M0010','01-OCT-2009','90','180'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-OCT-2009','100','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-NOV-2009','20','20'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-DEC-2009','20','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-DEC-2009','1000','200'); INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-DEC-2009','500','2000'); commit; --RESULTS SHOULD BE SOMETHING LIKE THE FOLLOWING DROP TABLE PAYMENT_2; create table PAYMENT_2 (CMPNY VARCHAR2(4), F_NAME VARCHAR2(100), RECOVERIES FLOAT(126), MONTH DATE ); INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','ADIOS DAOMATO','486','01-OCT-2009'); INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','ADIOS DAOMATO','36','01-NOV-2009'); INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','ADIOS DAOMATO','3528','01-DEC-2009'); INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA CAPETOWN','144','01-OCT-2009'); INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA CAPETOWN','18','01-NOV-2009'); INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA CAPETOWN','6786','01-DEC-2009'); INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA CAPETOWN','3150','01-DEC-2010'); INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA NEW DIAMOND','2150','01-DEC-2009'); INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA NEW DIAMOND','3150','01-DEC-2010'); commit;
I think this can do:
SELECT cmpny , f_name , month , SUM(recoveries) FROM ( SELECT cmpny , f_name , m_id , month , ytd_amount1 , ytd_amount2 , ytd_amount , CASE WHEN f_name IN ('NADA CAPETOWN','NADA NEW DIAMOND') THEN CASE WHEN ytd_amount1 > 2000 THEN .9*(ytd_amount1 - GREATEST(2000,LAG(ytd_amount1) OVER (PARTITION BY cmpny, f_name, m_id ORDER BY month))) ELSE 0 END + CASE WHEN ytd_amount2 > 4000 THEN .9*(ytd_amount2 - GREATEST(4000,LAG(ytd_amount2) OVER (PARTITION BY cmpny, f_name, m_id ORDER BY month))) ELSE 0 END WHEN f_name IN ('ADIOS DAOMATO') THEN CASE WHEN ytd_amount > 5000 THEN .9*(ytd_amount - GREATEST(5000,LAG(ytd_amount) OVER (PARTITION BY cmpny, f_name, m_id ORDER BY month))) ELSE 0 END END AS recoveries FROM ( SELECT cmpny , f_name , m_id , month , SUM(amount1_per_month) OVER (PARTITION BY cmpny, f_name, TRUNC(month,'YEAR'), m_id ORDER BY month) AS ytd_amount1 , SUM(amount2_per_month) OVER (PARTITION BY cmpny, f_name, TRUNC(month,'YEAR'), m_id ORDER BY month) AS ytd_amount2 , SUM(amount_per_month) OVER (PARTITION BY cmpny, f_name, TRUNC(month,'YEAR'), m_id ORDER BY month) AS ytd_amount FROM ( SELECT cmpny , f_name , m_id , month , SUM(amount1) amount1_per_month , SUM(amount2) amount2_per_month , SUM(amount1 + amount2) amount_per_month FROM payment_1 GROUP BY cmpny , f_name , m_id , month ) ) ) WHERE recoveries > 0 GROUP BY cmpny , f_name , month ORDER BY 1,2,3 ;
Which generates the following results:
CMPN F_NAME MONTH SUM(RECOVERIES) ---- ---------------- ----------- -------------------- C001 ADIOS DAOMATO 01-OCT-2009 486 C001 ADIOS DAOMATO 01-NOV-2009 36 C001 ADIOS DAOMATO 01-DEC-2009 3528 C001 NADA CAPETOWN 01-OCT-2009 144 C001 NADA CAPETOWN 01-NOV-2009 18 C001 NADA CAPETOWN 01-DEC-2009 6786 C001 NADA CAPETOWN 01-DEC-2010 3150 C001 NADA NEW DIAMOND 01-DEC-2009 3150 -- This does not match your sample output C001 NADA NEW DIAMOND 01-DEC-2010 3150
I think he might have an error in your example output. I think 3150 is the correct value. The sample data for 2009 and 2010 are the same.
-
Hello Experts;
I used some tools like Microstrategy bi, however it is still not comparable to a coding in SQL, PL/SQL, which gives a lot of flexibility, transparency, etc. So, how is it I always get customers pushing to have all of the BI process done on BI tools. Why SQL and PL/SQL, not at the forefront instead. I know that the graphical side of things put it at a disadvantage, but beside that I'm still why a little distraught.
SQL and PLSQL can scare companies, many see a black magic (which, in some respects, can be), and it is not something that many customers feel able to learn or even tend to. On the face of things, this may seem complicated and used wrongly, can cause MAJOR problems with buinesses (poor performance, use excessive resources that affect other sessions). Many have invested time in getting to know point and click graphical tools that can get results without feeling lost and confused by SQL, they prefer.
However, as you rightly remember, nothing can replace SQL or PL/SQL.
I suppose that the element of fear is a bit like why a lot of people using MS Paint to edit an image, many feel uncomfortable with it, he can do the basics, but not much, and they'll settle for that, but you could do much more with Photoshop - it's simply too scary to learn properly for most of the people so that they avoid it - they stick to what is simple and familiar.
-
learning SQL and pssql, xml, forms and report
I learned sql and plsql I donot Xml and forms and reports learn by own by easy method
by sql and psql we learned basic on the rise, things of time ranging from online book (another way to practice and understand the concepts)
repo, xml, sql, forms and pssql of learning javascript:; rt learning SQL and pssql, xml, forms and reportfor beginners
-
Problem with WSUS after upgrade of SQL and SCCM
A few years ago, we implemented SCCM 2012 R2 on a virtual machine running Server 2008 R2 (Enterprise), using 2012 SQL for databases. We use it for software deployment, updates/patches via WSUS and imagery of the network. Everything is smooth enough for most, even if we hit a few snags Windows 10 points when that came out. After you install the patches and updates to our Server 2008 box to make it compatible with Windows 10 content, everything was good again. A few weeks ago, I decided to update our version of SCCM 1511 and SQL for 2014. After the two updates, I tested imaging and software deployment, and everything seemed good. I forgot WSUS, however... and later visited account it was not working properly for these updates. Unfortunately, I realized after I deleted the VM snapshot, I got to thinking that everything was good (stupid, I know). After researching and discovering some of the errors were permissions associated with - why would have changed the permissions on folders of SQL and SCCM upgrade I have no idea - those who have since been smoothed. Now, my mistakes seem to be related SQL more and I hit a dead end with research. When I opened WSUS and go look at the clocks, he tries to load the history of synchronization, and after a few minutes-error with the following information:
The WSUS administration console failed to connect to the WSUS server database.
Verify that SQL server is running on the WSUS server. If the problem persists, try restarting SQL.
System.Data.SqlClient.SqlException - Timeout expired. The delay before the end of the operation or the server is not responding.
WARNING: The join order has been applied because a local join hint is used.
Source .Net SqlClient data provider
Stack trace:to Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow (SoapException-soapException)
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPGetSummariesPerUpdate (String computerTargetScopeXml, String preferredCulture, String updateScopeXml, ExtendedPublicationState publicationState)
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetSummariesPerUpdate (UpdateScope updatesToInclude, ComputerTargetScope computersToInclude)
at Microsoft.UpdateServices.UI.AdminApiAccess.BulkUpdatePropertiesCache.GetUpdateSummaries (UpdateScope updateScope, ComputerTargetScope computerTargetScope)
at Microsoft.UpdateServices.UI.AdminApiAccess.BulkUpdatePropertiesCache.GetAndCacheUpdates (ExtendedUpdateScope updateScope, ComputerTargetScope computerTargetScope)at Microsoft.UpdateServices.UI.SnapIn.Pages.UpdatesListPage.GetListRows)
I found a few forums that suggest to uninstall WSUS and delete the database, and then reinstall WSUS. Unfortunately, when I try install fails... giving only an error code and no other explanation of why. The error is 0 x 80070643, which is supposed to be due to the current user not having the "sysadmin" in SQL. However, I have tried with several accounts I checked to make you have the sysadmin role in SQL (and are also part of the Administrators group on the server itself)-always get the same error message.
I would really like to try to find that rather than wasting his time with the construction of a new server and redo our whole SCCM environment... get the client reinstalled on all our machines to synchronize with a new server appears as a huge headache. Is there anyone else out there who know what would cause this? Any help would be greatly appreciated!
Hello
This community is for users.
Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.
http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer
SQL Server TechNet forums.
https://social.technet.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer
See you soon.
-
SQL VS PLSQL privileges and subsidies
Hi all
Is there a difference in the privileges of how are handled in SQL a PLSQL? I have a user who can choose a SQL table, but in plsql, the same query reports "table or view does not exist. Later, the same thing happened with another user who was DBA. The user can query the view v$ session, but cannot do PLSQL procedure.
Why is this?
DB is 10.2.0.2It seems that you access through ROLES and not run like auser. If access to objects of a procedure you need direct rights. You can check if you have rights through roles as follows
SQL > role the value none;
SQL > "you want to test to see if it'll work in a declaration procedure.
If you select in SQL more with none of the roles you can do it in a procedure. If you can't, you must have the privilege to a role, you must have this privilege granted directly to you.
Thank you
-
I use the following SQL and it works very well for retrun me 5 random recordings of the entire database.
SELECT penpals.*, Round (((acos (sin ((-74.1192 * pi () / 180)) * sin ((lon * pi () / 180)) + cos ((-74.1192 * pi () / 180)) * cos ((lon * pi () / 180)) * cos (((40.9353-lat)*pi()/180)))*180/pi())*60*1.1515)) distance)))))
CORRESPONDENTS
LEFT JOIN geozip ON penpals.zip = geozip.zip
WHERE geozip.zip IS NOT NULL
ORDER BY RAND() LIMIT 5
The round function is used to calculate the miles between 2 zip codes in the United States, based on longitide and latitude set as a named column distance.
This works very well and gives me what I need. However if I add the following
AND distance < 26 after WHERE geozip.zip IS NOT NULL
I get the error
Unknown column 'distance' in ' where clause'
But if I try to ORDER OF the distance, it works for sorting.
Anyone have any ideas? Thank you.oO (VernMan)
> I use following SQL and it works very well for retrun me 5 files randomly
> of the entire database.
>
> SELECT penpals.*, Round (((acos (sin ((-74.1192 * pi () / 180)) * sin ((lon * pi () / 180))))))
> + cos ((-74.1192 * pi () / 180)) * cos ((lon * pi () / 180)) * cos (((40.9353 -
((> lat)*pi()/180)))*180/pi())*60*1.1515)) distance
> CORRESPONDENTS
> Geozip LEFT JOIN ON penpals.zip = geozip.zip
> Geozip.zip WHERE IS NOT NULL
> ORDER BY RAND() LIMIT 5
>
> The rounding function is used to calculate the miles between 2 postcodes in
> in the United States, based on longitide and latitude, defined as a named column distance.
>
> This works very well and gives me what I need. However if I add the following
> AND distance< 26="" after="" where="" geozip.zip="" is="" not="">
> I get error
> Unknown column 'distance' in ' where clause'
>
> but if I try to ORDER OF distance he works to sort.
>
> Anyone have any ideas? Thank youTry
SELECT...
Of...
WHERE THE...
HAVING distance<>
ORDER IN...Micha
-
Master-detail functionality between the regions of PL/SQL and IR possible?
4.2.1
THM 2
Hi all
We have two regions in a page. The upper region is a region of PL/SQL that lists the 5 best wages by Dept. This was not done using traditional reports because management wanted a "dashboard" as the look and feel that is already existing and what is happening in that it is a pl/sql block that has the sliders and the necessary HTML, CSS in there.
Below that is an IR when the user clicks on the dept of region of PL/SQL, it will refresh the IR below to display all employees in this Department
Top of the page shows region of PL/SQL
EMP name Dept wage
Emp1 10 10000
EMP2 10 950
Emp3 20 800
The Dept field is a hyperlink.
When we click on Dept on this region of PL/SQL
The lower IR should be updated (without submit page)
Output
Emp1 10 10000
EMP2 10 950
It is a kind of master-detail relationship between PL/SQL and Report (Detail) (Master) area Interactive
We can hyperlink in the SQL in pl/sql area, but you wonder how trap line and pass the dept id to the IR and get this region to refresh account?
All suggestions from the experts?
Thank you
Ryan
It is a way to pass the info in connection
Perform the dynamic Action of the link column report
The dynamic action can submit the session state value, and then refresh the IR.
On either by the way, you must create dynamic PL/SQL region to solve this problem, see this
APEX reports: layout custom with a column named (model line)
-
PL/SQL and APEX_JSON
Hello
I'm doing some tests with PL/SQL and JSON, this test case is how do I map the JSON data to the tables in a relational model. For this test, I have a 3 line, what wise format json seems good. I would like to extrace dsipaly through the output of the server and data from it. No idea what the problem with this logic here?
DECLARE
j apex_json.t_values;
l_paths apex_t_varchar2;
BEGIN
apex_json. Parse (j,
"[{"jsonrpc":"2.0","weather": [{'event': {'id': '27576810', 'name': 'London', 'postal code':"GB","time zone":" Europe/London', 'status': "Sunny", "openDate": "2015-10 - 22 T 16: 25:00.000Z"}, 'Count': 24},]}]. "
{'event': {'id': '27576811', 'name': "York", "PostalCode": "GB", "time zone": "Europe/London', 'status': 'Cloudy',' openDate": "2015-10 - 22 T 13: 00:00.000Z"}, 'Count': 18},
([{[{'event': {'id': '27575114', 'name': 'Liverpool', 'postal code': "GB", "time zone": "Europe/London',"openDate":" 2015-10 - 25 T 15: 30:00.000Z "" "}, 'Count': 1}], 'id': 1}]');
If apex_json.does_exist (p_path = > 'time', p_values = > j) then
dbms_output.put_line (apex_json.get_varchar2 (p_values = > j, p_path = > 'event.id'));
dbms_output.put_line (apex_json.get_varchar2 (p_values = > j, p_path = > 'event.name'));
dbms_output.put_line (apex_json.get_varchar2 (p_values = > j, p_path = > 'event.countryCode'));
dbms_output.put_line (apex_json.get_varchar2 (p_values = > j, p_path = > 'event.timezone'));
dbms_output.put_line (apex_json.get_varchar2 (p_values = > j, p_path = > 'event.status'));
dbms_output.put_line (apex_json.get_varchar2 (p_values = > j, p_path = > 'event.openDate'));
dbms_output.put_line (apex_json.get_number (p_values = > j, p_path = > 'Count'));
dbms_output.put_line ('Am in ');
end if;
l_paths: = apex_json.find_paths_like)
p_values = >, p_return_path = > 'event [%] '.
);
because me in 1... loop l_paths. Count
dbms_output.put_line (' no. Looping :'|| i);
dbms_output.put_line (apex_json.get_varchar2 (p_values = > j, p_path = > l_paths (i): '.)) ID'));
dbms_output.put_line (apex_json.get_varchar2 (p_values = > j, p_path = > l_paths (i) |'. name '));
end loop;
END;
Hi 1247164,
1247164 wrote:
Please change your login username of "1247164" to something meaningful. Reference: Video tutorial how to change username available
I'm doing some tests with PL/SQL and JSON, this test case is how do I map the JSON data to the tables in a relational model. For this test, I have a 3 line, what wise format json seems good. I would like to extrace dsipaly through the output of the server and data from it. No idea what the problem with this logic here?
See the code examples given here: Re: Re: Re: access to the Web Service API
Kind regards
Kiran
-
Recent activity of SQL and PL/SQL space
SQL and PL/SQL used to have sections of recent content and recent activity. However, given that the last mess has been set, the recent activity section is gone.
Is it possible it could be brought back, please?
No problem. I added it to the bottom.
-
Username and password problem in DB Oracle 11g
Dear Sir/Madam
I installed Oracle Database 11 g to my system under operating system 32 bit win xp.
I open the exe SQL and type the user name of its fine, but I can't type the password.
Please help solve this problem.
Thanks in advance.Hello
You must first identify you as a system or sysdba priv.
Follow the steps below:
Conn system /.
alter user scott account unlock;
Connect scott/tiger;It will connect.
otherwise, if you do not know the password you can try:
Conn / as sysdba
alter user scott account unlock;
Connect scott/tigerAlso, note that you can change the password also by the following command:
ALTER user scott identified by
; Good luck.
HTH
Concerning
KK -
PL/SQL and Case <; href >; statement
I have just a bit of code in Pl/SQL, and since I had to put this Case statement with javascript I can't get the correct syntax. Can someone please help with the ' and ' in this statement?
Thank you
{code}
v_query: = "SELECT";
v_query: =.
v_query | Case when sd.sd_id = 1 then ' < a href = "javascript:fnc_tabAddUser (v1); ' > '
|| "< img src =" #WORKSPACE_IMAGES #sd.png ">"
|| "< /a >."
end as open_sd | "category", | ' s1.sub_cat_1,'| '. S2.sub_cat_2,' | "program", | "sd.sd_name," | "sd.sd_date," | "s2.synopsis," | "sd.sd_id,";
{code}
Basically, most of the v_query is her go and where clauses but here is simply the select clause. I can post the whole code if it helps. Everything works fine until I entered the Case statement and I believe that my syntax is off. Also, I tried to read and find similar code and some mentioned using Htp.p but I don't know if necessary.
Published by: Res Ipsa on June 22, 2011 11:49
Published by: Res Ipsa on June 22, 2011 11:49
Published by: Res Ipsa on June 22, 2011 11:50There was also a problem with your order of. There was no space for text is released which looks like this:
'', 1) > 0ORDER BY 1 DESC
This gives a shot. I don't bother to do the tables, so it may not always work.
DECLARE v_query VARCHAR2 (4000); v_search_string VARCHAR2(4000); BEGIN v_search_string := '
'||:p1_search_string||' transform((TOKENS, "{", "}", " ")) transform((TOKENS, "{", "}", " ; ")) transform((TOKENS, "{", "}", "AND")) transform((TOKENS, "{", "}", "ACCUM")) See you soon,.
Janet Tyson
Maybe you are looking for
-
How to keep the new icon of the tab to the right of the open tab
I use FireFox 26.0 on Win7. I keep is no longer the new icon tab open on the right side of the tab open current at the top of the page. When I remove and then replace the new icon of the tab at the top of the page, it takes by default not being to th
-
import music from cd to itunes
I have a 2014 Macbook Pro, which does not have a CD slot. I have a CD with the music on it I want to put it in iTunes and then on my iPhone. Is this possible? I had it on my iTunes using my Macbook Pro 2009 account which has the slot, but this com
-
Verizon is telling me to do this because I have weird battery problems. They say it's maybe because I'm updating my iphone in wifi instead of using itunes plugged into a computer. Thank you!
-
Hi all Short version: Does anyone know how to remove a single key on the keyboard without breaking? (or if it is still possible) I tried some things, but have failed. Long version: Unfortunately, I spilled lemonade on my keyboard last week. I cleaned
-
external monitor for HP Omni 10
What can I use as an external monitor to the HP Omni 10? I have a HP W7072a, going to work?