Why isn't my query executed?
Hey!
I have been trying to execute different queries in the test area, but get all the time "No data was selected" text. I have made the selection criteria and defined the output option, and everything should be fine. The only thing I haven't been able to do is to define the layout on the last page, because I cannot do the selections. I hope someone would be able to tell me what's wrong, since I have tried almost everything but haven't found any solution.
Thank you,
Maria
Hi,
Thank you for your reply. I'm trying to join the tables VBKD, VBAK, AFKO, AFVV, S261, LIKP and QMEL. When I'm checking the link condition the system claims that the defined join conditions are correct. Am I just trying to join too many tables? Could that be the reason, despite the join conditions should be correct?
I've also changed the selection criteria and used fields that come from standard tables, but it doesn't help. For instance, I have used the PO-number from table VBKD and field BSTDK as a selection criteria.
Maria
Similar Messages
-
Why isn't my query using the index?
I have a query that inserts values for engines in a grid; it uses a static date table to determine the day in week, or
week in year (depending on different standards, the DBA can configure this table to their business's likings). I have
two indexes on this table:
create table d_date (
date_key number(5) not null,
sql_calendar_date timestamp(3) null,
year_id number(5) null,
month_id number(3) null,
day_id number(3) null,
year_end_biz_date timestamp(3) null,
qtr_end_biz_date timestamp(3) null,
month_end_biz_date timestamp(3) null,
week_end_biz_date timestamp(3) null,
quarter_id number(3) null,
week_id number(3) null,
day_in_year number(5) null,
day_in_month number(3) null,
day_in_week number(3) null,
month_name char(3) null,
day_in_week_name char(3) null,
month_type_code char(1) null,
week_type_code char(1) null,
date_type_code char(1) null,
weekend_flag char(1) null,
holiday_flag char(1) null,
from_datetime timestamp(3) null,
to_datetime timestamp(3) null,
current_flag char(1) null,
constraint d_date_pkey primary key (date_key)
) tablespace dim;
create index d_date_dy on d_date(year_id, day_in_year) tablespace_dim_idx;
create index d_date_ww on d_date(year_id, week_id) tablespace_dim_idx;Now, when I run a query to insert the week id into a table based on two values, the year_key and day_in_year_key,
it should use the d_date_dy index correct?
Here is what the query looks like:
INSERT INTO F_ENGINE (YEAR_KEY,MONTH_KEY,WEEK_IN_YEAR_KEY,DAY_IN_YEAR_KEY,DAY_IN_MONTH_KEY,HOUR_IN_DAY_KEY, Q_HOUR_IN_DAY_KEY,
GRID_KEY,ENGINE_KEY,TIME_STAMP,ENGINE_CPU_UTIL,ENGINE_CPU_GRID_UTIL,MEMORY_TOTAL_BYTE, MEMORY_FREE_BYTE,DISK_FREE_MEGABYTE,
PROCESS_COUNT,ENGINE_ID,GRID_ID,GRID_NAME,BATCH_ID,RECORD_VIEWABLE_F)
SELECT EXTRACT(YEAR FROM START_DATETIME),EXTRACT(MONTH FROM START_DATETIME), DD.WEEK_ID,
TO_NUMBER(TO_CHAR(START_DATETIME, 'DDD')), EXTRACT(DAY FROM START_DATETIME),EXTRACT(HOUR FROM START_DATETIME),
FLOOR(EXTRACT(MINUTE FROM START_DATETIME)/15)*15,DG.GRID_KEY,DE.ENGINE_KEY, START_DATETIME,CPU_UTIL,DS_CPU,MEMORY,
FREE_MEMORY,FREE_DISK,PROCESSES,ID,PE.GRID,DG.GRID_NAME,:B1 ,1
FROM P_ENGINE PE, D_GRID DG, D_ENGINE DE, D_DATE DD
WHERE PE.GRID = DG.GRID_ID AND DG.CURRENT_FLAG = 'Y' AND PE.ID = DE.ENGINE_ID AND DE.GRID_KEY = DG.GRID_KEY AND
DE.CURRENT_FLAG = 'Y' AND PE.BATCH_ID = :B1 AND DD.YEAR_ID = EXTRACT(YEAR FROM START_DATETIME) AND
DD.DAY_IN_YEAR = TO_NUMBER(TO_CHAR(START_DATETIME,'DDD'))
ORDER BY EXTRACT(YEAR FROM START_DATETIME),EXTRACT(MONTH FROM START_DATETIME),
EXTRACT(DAY FROM START_DATETIME),EXTRACT(HOUR FROM START_DATETIME),FLOOR(EXTRACT(MINUTE FROM START_DATETIME)/15)*15,
DG.GRID_KEY,DE.ENGINE_KEY
Here is the explain plan:
Operation Object Object Type Order Rows Size (KB) Cost Time (sec) CPU Cost I/O Cost
INSERT STATEMENT
SORT ORDER BY
HASH JOIN
HASH JOIN
HASH JOIN
TABLE ACCESS FULL D_GRID TABLE 1 2 0.316 3 1 36887 3
TABLE ACCESS FULL D_ENGINE TABLE 2 10 0.410 3 1 42607 3
PARTITION LIST SINGLE 5 1434 344.496 9 1 2176890 9
TABLE ACCESS FULL P_ENGINE TABLE 4 1434 344.496 9 1 2176890 9
TABLE ACCESS FULL D_DATE TABLE 7 7445 283.550 19 1 3274515 18Now it is obviously not using the index for the d_date table since it is doing a full table access.
Does this have something to do with the fact that I am using extract(), to_number(), to_char() functions in my WHERE clause that it is not allowing the use of the index?
Any help would be greatly appreciated. Thanks.
-TimIt's difficult to tell just from this. For one thing, you didn't post your query using the forum format tags, so it's hard to read and you didn't post your Oracle version.
In the query, you don't always prefix columns with the table alias. That makes it impossible for us (and maintainers of this code) to know at a glance which table a column is in.
It's possible that performing functions on a column will disable the index. Do your other tables have indexes? Do you have updated statistics on all the tables?
The main reason the optimizer will not use an index is because it thinks it cheaper not to. -
Strange error in query executed via DBLink
Hi,
I am running below big query(existing code in my project) on a oracle database(DB1) schema which accesses data from tables located in a remote oracle database(DB2) schema.
But I am getting error:
ORA-00904: "CERMA"."EFFECTIVE_TO": invalid identifier
ORA-02063: preceding line from <DB_LINK_NAME>
The concerned table is present in remote database and simple "select * from" on the concerned table from DB1 is working properly but when used in below query it is giving the above error.
The system design is as follows:
DB2 - In this database ,Views are created in SCHEMA1 of this database which refer the underlying tables in SCHEMA2 of same database.
e.g. view name = clm_claims_basic_info_vw
DB1 - In this database , synonyms are created(with name same as underlying tables) to access the underlying table data via the views created in DB2.
e.g. synonym name = clm_claims_basic_info
DB1 - Query executed in this database which uses all the synonyms.
e.g.
select ..... from clm_claims_basic_info,clm_claim_scheme_dtl
Also this query was working fine few days back and now suddenly failing without any code-changes, but we don't know what else has changed.
Can you please suggest what could be the reason?
SELECT ccbi.claim_number claim_no, npm.policy_no policy_no,
cgm.group_no company_ref_no, cgm.NAME company_name
FROM clm_claims_basic_info ccbi,
nbs_policy_mst npm,
com_group_mst cgm,
com_product_mst cpm,
clm_member_dtl cmd,
clm_assessment ca,
clm_claim_scheme_dtl ccsd,
clm_plan_dtl cpd,
(SELECT mem_escal.member_escalation_type_vid,
mem_escal.member_max_escal_rate,
mem_escal.member_min_escal_rate,
mem_escal.member_escal_rate,
mem_escal.claim_basic_info_id,
mem_escal.member_esclation_basis_vid,
add_escal.additional_escalation_type_vid,
add_escal.additional_max_escal_rate,
add_escal.additional_min_escal_rate,
add_escal.additional_escal_rate,
add_escal.additional_esclation_basis_vid,
mem_escal.first_escal_dt, mem_escal.escal_dt
FROM (SELECT cerm.escalation_type_vid
member_escalation_type_vid,
cerm.max_escal_rate member_max_escal_rate,
cerm.min_escal_rate member_min_escal_rate,
cerm.escalation_rate member_escal_rate,
ccbi.claims_basic_info_id claim_basic_info_id,
cerm.escalation_basis_vid
member_esclation_basis_vid,
mi_claims_pkg.clm_get_escalation_date_fnc
(ccbi.claims_basic_info_id,
cpd.escal_applies_to_vid,
1,
cpd.escal_applies_to_day,
cpd.escal_applies_to_month_vid,
ccbi.event_dt,
ccbi.clm_acceptance_dt
) first_escal_dt,
NULL escal_dt
FROM clm_claims_basic_info ccbi,
clm_claim_scheme_dtl ccsd,
clm_plan_dtl cpd,
clm_escalation_dtl cede,
com_escalation_rate_mst cerm
WHERE ccbi.claims_basic_info_id =
ccsd.claim_basic_info_id
AND ccsd.plan_id = cpd.plan_id
AND cede.claim_basic_info_id(+) =
ccbi.claims_basic_info_id
AND cede.escal_dt IS NULL
AND cpd.is_escal_apply_id = 'Y'
AND ccbi.product_id = 4
AND cerm.product_id = ccbi.product_id
AND cerm.escalation_basis_vid =
cpd.escal_memben_rate_vid
AND ( ( ccbi.claim_status_vid = 2880
AND ccbi.event_dt
BETWEEN cerm.effective_from
AND NVL (cerm.effective_to,
TO_DATE ('31122999',
'DDMMYYYY'
OR ( ccbi.claim_status_vid != 2880
AND cede.first_escal_dt
BETWEEN cerm.effective_from
AND NVL (cerm.effective_to,
TO_DATE ('31122999',
'DDMMYYYY'
AND ( ( cpd.escal_memben_rate_vid = 2334
AND cpd.escal_memben_perc =
cerm.escalation_rate
OR ( cerm.escalation_type_vid IN
(3962, 3963, 4442)
AND cerm.escalation_value_by_vid = 4299
OR ( cpd.escal_memben_rate_vid != 2334
AND cerm.escalation_type_vid = 3961
OR (cerm.escalation_type_vid IS NULL)
AND ccbi.record_status = 'A'
AND cpd.record_status = 'A'
AND ccsd.record_status = 'A'
AND cede.record_status(+) = 'A'
AND cerm.record_status = 'A'
AND NOT EXISTS (
SELECT 'X'
FROM clm_escalation_dtl ced1
WHERE escal_dt IS NOT NULL
AND ccbi.claims_basic_info_id =
ced1.claim_basic_info_id
AND ced1.record_status = 'A')) mem_escal,
(SELECT cerma.escalation_type_vid
additional_escalation_type_vid,
cerma.max_escal_rate
additional_max_escal_rate,
cerma.min_escal_rate
additional_min_escal_rate,
cerma.escalation_rate additional_escal_rate,
ccbi.claims_basic_info_id claim_basic_info_id,
cerma.escalation_basis_vid
additional_esclation_basis_vid,
mi_claims_pkg.clm_get_escalation_date_fnc
(ccbi.claims_basic_info_id,
cpd.escal_applies_to_vid,
1,
cpd.escal_applies_to_day,
cpd.escal_applies_to_month_vid,
ccbi.event_dt,
ccbi.clm_acceptance_dt
) first_escal_dt,
NULL escal_dt
FROM clm_claims_basic_info ccbi,
clm_claim_scheme_dtl ccsd,
clm_plan_dtl cpd,
clm_escalation_dtl cede,
com_escalation_rate_mst cerma
WHERE ccbi.claims_basic_info_id =
ccsd.claim_basic_info_id
AND ccsd.plan_id = cpd.plan_id
AND cede.claim_basic_info_id(+) =
ccbi.claims_basic_info_id
AND cede.escal_dt IS NULL
AND cpd.is_escal_apply_id = 'Y'
AND ccbi.product_id = 4
AND cerma.product_id = ccbi.product_id
AND cerma.escalation_basis_vid =
cpd.escal_addben_rate_vid
AND ( ( ccbi.claim_status_vid = 2880
AND ccbi.event_dt
BETWEEN cerma.effective_from
AND NVL (cerma.effective_to,
TO_DATE ('31122999',
'DDMMYYYY'
OR ( ccbi.claim_status_vid != 2880
AND cede.first_escal_dt
BETWEEN cerma.effective_from
AND NVL (cerma.effective_to,
TO_DATE ('31122999',
'DDMMYYYY'
AND ( ( cpd.escal_addben_rate_vid = 2334
AND cpd.escal_addben_perc =
cerma.escalation_rate
OR ( cerma.escalation_type_vid IN
(3962, 3963, 4442)
AND cerma.escalation_value_by_vid = 4299
OR ( cpd.escal_addben_rate_vid != 2334
AND cerma.escalation_type_vid = 3961
OR (cerma.escalation_type_vid IS NULL)
AND ccbi.record_status = 'A'
AND cpd.record_status = 'A'
AND ccsd.record_status = 'A'
AND cede.record_status(+) = 'A'
AND cerma.record_status = 'A'
AND NOT EXISTS (
SELECT 'X'
FROM clm_escalation_dtl ced1
WHERE escal_dt IS NOT NULL
AND ccbi.claims_basic_info_id =
ced1.claim_basic_info_id
AND ced1.record_status = 'A')) add_escal
WHERE mem_escal.claim_basic_info_id = add_escal.claim_basic_info_id(+)
UNION ALL
SELECT cedo.member_escalation_type_vid
member_escalation_type_vid,
cedo.member_max_escal_rate member_max_escal_rate,
cedo.member_min_escal_rate member_min_escal_rate,
cedo.member_escal_rate member_escal_rate,
cedo.claim_basic_info_id claim_basic_info_id,
cedo.member_esclation_basis_vid
member_esclation_basis_vid,
cedo.additional_escalation_type_vid
additional_escalation_type_vid,
cedo.additional_max_escal_rate
additional_max_escal_rate,
cedo.additional_min_escal_rate
additional_min_escal_rate,
cedo.additional_escal_rate additional_escal_rate,
cedo.additional_esclation_basis_vid
additional_esclation_basis_vid,
cedo.first_escal_dt first_escal_dt,
cedo.escal_dt escal_dt
FROM clm_escalation_dtl cedo
WHERE (cedo.escal_dt, cedo.claim_basic_info_id) =
(SELECT MAX (cedi.escal_dt),
cedi.claim_basic_info_id
FROM clm_escalation_dtl cedi
WHERE cedi.escal_dt IS NOT NULL
AND cedi.escal_dt <= '24-OCT-2013'
AND cedi.claim_basic_info_id =
cedo.claim_basic_info_id
AND cedi.record_status =
'A'
GROUP BY cedi.claim_basic_info_id)
AND cedo.record_status = 'A') ced
WHERE ccbi.policy_id = npm.policy_id
AND ccbi.GROUP_ID = cgm.GROUP_ID
AND ccbi.product_id = cpm.product_id
AND ccbi.claims_basic_info_id = cmd.claims_basic_info_id(+)
AND ccbi.claims_basic_info_id = ca.claim_basic_info_id(+)
AND ccbi.claims_basic_info_id = ccsd.claim_basic_info_id(+)
AND ccsd.plan_id = cpd.plan_id(+)
AND ccbi.claims_basic_info_id = ced.claim_basic_info_id(+)
AND ccbi.record_status = 'A'
AND npm.record_status = 'A'
AND cgm.record_status = 'A'
AND cpm.record_status = 'A'
AND cmd.record_status(+) = 'A'
AND ca.record_status(+) = 'A'
AND cpd.record_status(+) = 'A'
And Ccsd.record_status(+) = 'A'
AND ccbi.claim_number = 'DAX001';I would assume this means that it can't find that column in that table.
Usually this is because the column isn't there, the table/view isn't there, or there's no select permissions to the table/view.
To try to narrow this down try:
SELECT CERMA.EFFECTIVE_TO FROM com_escalation_rate_mst cerma
SELECT CERMA.EFFECTIVE_TO FROM com_escalation_rate_mst@db2 cerma
If the synonym and view names are the same, try the first query in both databases or adjust as necessary.
It could also be a permissions issue, like maybe the schema the link uses to DB2 doesn't have select permissions to that view?
As far as to why it stopped working, I have no idea.
You can approach this from bottom up (start with the tables on DB2 and move up)
or top down (start with the synonyms on DB1 and move down)
That will give you an idea of where the issue lies. -
Apple: Why isn't 16:9 a supported format?
This has been bugging me for a couple of years now. And no - I'm not as stupid as the title suggests.
But seriously. When I capture a 16:9 anamorphic file using the correct settings, or having edited and exported a 16:9 sequence... Why is everything squished and squashed when playing it in QTplayer or importing it as a clip in FCP? Or for that matter - why does DVDSP or Compressor not recognize the FCP-exported 16:9 sequence as that?
If this metadata is such a big problem to pass on, I would at least reccomend 16:9 to be the default ratio while they embed a real flag for this! I mean. What format is most used by video-professionals these days? Is it 4:3? Or is it perhaps 16:9?
I know about both square and rectangular pixels, and I know a whole lot of workarounds to get the result as I want it. But they all require manual punch-in, they are all multiple step-processes that take time, and they all have pitfalls. And seriously - even if I get it - people around me don't... I'm kinda getting tired of telling everybody "You have to do this and this stupid thing..."
Aren't these things just supposed to "work"?
So... Why isn't 16:9 a supported format?I have to deal with this in my real job and to be honest, it gives me a huge headache; integrating SD, analog and HD material into one show whatever the flavor of the day is - is that video cropped, squished or stretched or letterboxed or pillarboxed....wait, I need that to be stretched from that show and that to be cropped from that show and and and and....
I can't provide a solution as I don't understand it all myself, however, to answer your query of what aspect ratio is predominantly used it is still 4:3 NTSC here in the U.S. Until all programming is HD and everyone has purchased an ATSC tv, I think we'll be stuck with this issue. -
Starting a Web Application out of WAD from menue "Query/Execute" ...
Dear colleagues,
starting a Web Application (let's say its the template "BTMP_001") out of the Web Application Designer from menu "Query/Execute" starts the Web Query Analyzer instead of the Template "BTMP_001".
The URL looks like: http://<xxxxx>.<yyyyyy>.<zzzzzz>.com:<Port>/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=BTMP_001&DUMMY=0
Does somebody have any hint? Why I allways get the Web Query Analyzer althoug the end of the URL shows the technical name of my web application?
Thanks for any help!
opProblem solved!
-
Why can't I grant execute on a directory?
Why can't I grant execute to a directory?
I have carried out the following:
Login as SYS
Prove that the oracle directory exists SELECT * FROM all_directories WHERE directory_name = 'dir_name';
GRANT EXECUTE ON DIRECTORY dir_name TO role_name;
The following documentation at the following address says that I can grant execute:
http://www.morganslibrary.org/reference/directories.html
And yet when I directed the dba to do it and when I query the database to see if He did it it shows me that he did:
GRANTOR GRANTEE TABLE_SCHEMA TABLE_NAME PRIVILEGE GRANTABLE HIERARCHY
SYSTEM role_name SYS dir_name EXECUTE NO NO
SYSTEM role_name SYS dir_name READ NO NO
SYSTEM role_name SYS dir_name WRITE NO NO
3 rows selectedWhen I try it in my xe environment it throws the error:
Error starting at line 1 in command:
GRANT EXECUTE ON DIRECTORY dir_name TO role_name
Error report:
SQL Error: ORA-22928: invalid privilege on directories
22928. 00000 - "invalid privilege on directories"
*Cause: An attempt was made to grant or revoke an invalid privilege on a
directory.
*Action: Only CREATE, DELETE, READ and WRITE privileges can be granted or
revoked on directories. Do not grant or revoke other privileges.What is going on?
BentonBenton wrote:
Why can't I grant execute to a directory?Because you can't, according to the 10g documentation...
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9013.htm#BGEJEBCJ
However in 11g, it can be done...
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_9013.htm#BGBCIIEG -
Why isn't the CBO using my indexes?
Why isn't Oracle using my indexes to join 2 big tables? I ran statistics last night before kicking off this job. I don't want to have to use hints.
STAGING_TXN_081 has Primary Key on VSYS_STAGE_ROW_ID
TRANSACTION has an index on STAGING_RECORD_ID
Record counts are as follows:
SQL> select count(*) from STAGING_TXN_081;
COUNT(*)
613071
1* select distinct count(staging_record_id) from transaction
SQL> /
COUNT(STAGING_RECORD_ID)
10,662,828
1* select distinct count(*) from transaction where staging_record_id is null
SQL> /
COUNT(*)
1,150,819
So 1,150,819 / 10,662,828 = approximately 10.8% of the rows are null.
This is the Query
select
st.*,
rlog.reject_code as rlogRejectCode
from
STAGING_TXN_081 st
join transaction t
on st.VSYS_STAGE_ROW_ID = t.STAGING_RECORD_ID
left outer join txn_reject_log rlog
on t.transaction_id = rlog.transaction_id
where
not exists
(select 1
from
rl_loyalty_txn_trans rl
join loyalty_txn lt
on lt.loyalty_txn_id=rl.loyalty_txn_id
where
rl.transaction_id=t.transaction_id)
order by st.VSYS_STAGE_ROW_ID, rlog.reject_code Here is the execution plan.
Execution Plan
Plan hash value: 447420266
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 223 | | 144K (6)| 00:29:00 |
| 1 | SORT ORDER BY | | 1 | 223 | | 144K (6)| 00:29:00 |
| 2 | NESTED LOOPS OUTER | | 1 | 223 | | 144K (6)| 00:29:00 |
|* 3 | HASH JOIN ANTI | | 1 | 203 | 121M| 144K (6)| 00:29:00 |
| 4 | VIEW | | 613K| 114M| | 84466 (7)| 00:16:54 |
|* 5 | HASH JOIN | | 613K| 71M| 72M| 84466 (7)| 00:16:54 |
| 6 | TABLE ACCESS FULL | STAGING_TXN_081 | 613K| 65M| | 3237 (5)| 00:00:39 |
|* 7 | TABLE ACCESS FULL | TRANSACTION | 10M| 111M| | 65229 (7)| 00:13:03 |
| 8 | VIEW | VW_SQ_1 | 10M| 69M| | 44389 (6)| 00:08:53 |
|* 9 | HASH JOIN | | 10M| 197M| 192M| 44389 (6)| 00:08:53 |
| 10 | INDEX FAST FULL SCAN | PK_LOYALTY_TXN | 10M| 71M| | 7314 (7)| 00:01:28 |
| 11 | INDEX FAST FULL SCAN | PK_RL_LOYALTY_TXN_TRANS | 10M| 128M| | 13947 (4)| 00:
| 12 | TABLE ACCESS BY INDEX ROWID| TXN_REJECT_LOG | 1 | 20 | | 3 (0)| 00:00:01 |
|* 13 | INDEX RANGE SCAN | VIDX_309 | 1 | | | 2 (0)| 00:00:01 |
Predicate Information (identified by operation id):
3 - access("TRANSACTION_ID"="from$_subquery$_003"."TRANSACTION_ID")
5 - access("ST"."VSYS_STAGE_ROW_ID"="T"."STAGING_RECORD_ID")
7 - filter("T"."STAGING_RECORD_ID" IS NOT NULL)
9 - access("RL"."LOYALTY_TXN_ID"="LT"."LOYALTY_TXN_ID")
13 - access("T"."TRANSACTION_ID"="RLOG"."TRANSACTION_ID"(+))
Statistics
467 recursive calls
0 db block gets
324842 consistent gets
249318 physical reads
0 redo size
955 bytes sent via SQL*Net to client
240 bytes received via SQL*Net from client
1 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
0 rows processedHi,
Take these points in consideration
- STAGING_TXN_081 has to be full table scanned as there is NO filter on that
- if all the matching 613071 rows from the TRANSACTION table are in different blocks, it might be equivallant to reading full TRANSACTION table (Oracle read blocks not rows)
- if we are reading all blocks from TRANSACTION table anyway, why waste resources in reading the index blocks
- How can we tell Oracle that, required TRANSACTION records are not located like 'each row in different block' ??? if that is really the case !!!
- Your 'not exists' clause, how may records from TRANSACTION table will be filtered out because of that
- If the 'not exists' will take out huge number of rows, I would suggest creating a in-line view of TRANSACTION table and the 'not exist' logic and then joining that with the STAGING*** table
- Try to minimise the number of rows taking part in these joins (I know, I am not telling anything new here !!!)
Cheers -
JDK 6u20, why isn't Java DB always an option
I'm perplexed. I went to use derbyclient.jar and couldn't find it on a Windows 7 system. After a bit of testing, I've observed the following behavior.
On Windows XP: The installer shows the Java DB option to install, and derbyclient.jar is installed in ProgramFiles\Sun
On Windows 7 (64 bit): the installer does not show the Java DB option in either the 32 or 64 bit installer. derbyclient.jar is not installed anywhere on the system.
So, what am I missing here?
Thanks!While the article you mentioned does a nice job of introducing JDBC, the only thing it mentions about installation is:
Java DB, which is available with most Java Development Kit download bundles, Java EE download bundles, or as a separate download, is a robust relational database based on Apache Derby.
I'd like to know why the same JDK installation executable lets you install Java DB on XP, but doesn't give you the option on Windows 7. This isn't about a jar in a classpath, or how to use JDBC, it is about the lack of installation options provided by the same installation executable. -
Why isn't my iPod 6th generation not being recognized by iTunes?
Why isn't my iPod 6th generation not being recognized by iTunes?
Did you alresady try these suggestions? iPod not recognized in iTunes and Mac desktop and iPod not appearing in iTunes
-
Hi,
Why isn't episode 5 of Rizzoli&Isles available on iTunes Store yet ? It's usually available the day after it's aired. Ep 5 was aired tuesday 23rd, but is still not possible to watch in iTunes..
Thanks,
RennussAsk the content provider.
-
Why isn't my iTunes store loading properly? It lists everything in text without images, and I can't seem to access the store when I try to search for music or movies etc.
1) The best way to relocate the iTunes library folder is to move the entire iTunes folder with all subfolders to the new path, then press and hold down shift as start iTunes and keep holding until prompted to choose a library, then browse to the relocated folder and open the file iTunes Library.itl inside it.
If you've done something different then provide some more details about what is where and I should be able to help.
2) Purchases on the device should automatically transfer to a Purchased on <DeviceName> playlist, but it my depend a bit on whether automatic iCloud downloads are enabled. If there is a cloudy link then the transfer might not happen. You can use File > Devices > Transfer Purchases. In iTunes you should also check out iTunes Store > Quick Links > Purchased > Music > Not on this computer.
3) Backup the device, then immediately restore it. In some cases you need to add a restore as new device into that equation. Obbviously not to be attempted until you're sure all your media is in your library. See Recover your iTunes library from your iPod or iOS device should it be needed.
4) I believe there is complimentary 1 incident 90-day support with hardware purchases, but no free software support for iTunes itself. AppleCare gets you a different level of support.
tt2 -
Got the dreaded no wifi on my wife's iPhone 4S. Wifi greyed out and no luck with the reset network instructions. Why isn't Apple addressing this issue? We are a family of Apple product users, 2 ipads, an ipad mini, 4 iPhones but one isn't working! Issue began whenwe upgraded the operating system.....
Come on Apple.....get this issue sorted out!Just out of warranty. This is a software issue. everything was ok until the software update. Apple just need to sort it out.
-
After I hit submit, why isn't it compressing?
I'm new to Compressor. I created "settings" and a "destination" for my project, then I hit submit. The file appears in the history window but it seems to be inactive. Why isn't it compressing?
I had the same problem, I'm using compressor without problems for a few years now, I re-installed the full Final Cut Studio set of discs and compressor is working ok again.
-
I have been trying for an hour to delete all of the photos from my iPhone 5. I have googled it several times and there doesn't seem to be a solution. Have tried deleting them from my PC. One at a time deleting is impractical - I have 1000 photos! Why isn't this easy and intuitive?
When you hooked up to your PC did they attempt to import? Had you imported them previously and not deleted when the import was complete?
If you have to delete them directly on your device, you need to press the select button and just keep selecting until you have all of them selected, then put them in the trash.
You do not need to select one then trash it, then select another then trash it. You can select as many as you like before clicking on the trash icon.
Cheers,
GB -
Why isn't my iPad 2 giving me alerts for my all-day events?
Why isn't my iPad 2 giving me alerts for my all-day events? I have alerts set-up for 2 days prior. My alerts work for other calendar entries where they are set-up for 15mins prior.
The laptop has a more powerful wifi radio then the iPad. Try getting closer to the location where iPad can connect.
Maybe you are looking for
-
I run windows 7/8 and lightroom 5.7 I am getting an error message and here it is " lightroom encountered an error when reading from its preview cache and needs t quit" How do I fix this.
-
Ipod not being recognized by comp or itunes.
its not being recognize and the prob is not the usb port itself(flashdrives, cameras,ect will work) the comp is a dell and when i do connect it just charges and stuff no actually activity with the comp
-
Flash crashes due to DEP (Data Execution Prevention)
Using latest flash (11.4.402), crashes each time it loads. Windows error says it is disabled by Windows' DEP. Running Win Vista sp2 Home Premium, Firefox 15.0.1. Thanks in advance for any help. Wayne
-
What are the benefits of converting my custom class into Data Control?
Hi, I have developed my own custom class which implements no of methods for execution of Business Logic. Now I have two ways to use the same - *1. Create and instance of the same (wherever required) and call those methods.* *2. Expose the class as Da
-
Can't Add To Address Book?
In no way what so ever am I able to edit/add any person to my address book. HELP!!! I have tried various methods listed on this site, and via friends, so help would be nice.