oracle11g

Getting error in console : Failed to load resource: net::ERR_CONNECTION_RESET

安稳与你 提交于 2019-12-17 06:13:26
问题 I have refresh my application page and getting this error in console Failed to load resource: net::ERR_CONNECTION_RESET . I have tried to re-install the XAMPP version but this doesnt work for me. 回答1: I think you are using chrome. The problem is the certificate mismatch or the expiration of the certificate.Check your certificate properly. Just visit here for more information. 回答2: I'm using chrome too and facing same problem on my localhost. I did a lot of things like clear using CCleaner and

Oracle Joins - Comparison between conventional syntax VS ANSI Syntax

試著忘記壹切 提交于 2019-12-17 04:28:48
问题 Preamble Of late, I see too many geeks commenting on Oracle questions saying that "Do not use (+) operator, rather use JOIN syntax". Question I do see that both work well. But what is the real difference between using them and what makes you feel using them? I would welcome answers, more from experience. 1. Is there anything to do with limitations in application, performance, etc. while using them? 2. What would you suggest for me? I did read something on Oracle documentation but not good

Left Outer Join using + sign in Oracle 11g

醉酒当歌 提交于 2019-12-17 03:23:21
问题 Can any one tell me whether below 2 queries are an example of Left Outer Join or Right Outer Join?? Table Part: Name Null? Type PART_ID NOT NULL VARCHAR2(4) SUPPLIER_ID VARCHAR2(4) PART_ID SUPPLIER_ID P1 S1 P2 S2 P3 P4 Table Supplier: Name Null? Type SUPPLIER_ID NOT NULL VARCHAR2(4) SUPPLIER_NAME NOT NULL VARCHAR2(20) SUPPLIER_ID SUPPLIER_NAME S1 Supplier#1 S2 Supplier#2 S3 Supplier#3 Display all the parts irrespective of whether any supplier supplies them or not: SELECT P.Part_Id, S.Supplier

all row values in one column

守給你的承諾、 提交于 2019-12-14 04:27:23
问题 I would like to display all values in one column. How may I do so? Data looks like this: ----------------------------------------------- | user_id | degree_fi | degree_en | degree_sv | ----------------------------------------------- | 3601464 | 3700 | 1600 | 2200 | | 1020 | 100 | 0 | 0 | | 3600520 | 100 | 1300 | 1400 | | 3600882 | 0 | 100 | 200 | | 3600520 | 3200 | 800 | 600 | | 3600520 | 400 | 3000 | 1500 | ----------------------------------------------- What I would like to have is this: --

Solution of this easy trigger

本秂侑毒 提交于 2019-12-14 04:26:31
问题 I have a problem with my trigger(Im new with oracle) With this trigger I want when insert a new contract and this contracts have a start_date which is before that end_date of the other contract of this user, the trigger have to change the old end_date to the start_date of the new contract. Here is my code: CREATE OR REPLACE TRIGGER Date_contracts BEFORE INSERT OR UPDATE OF START_DATE ON CONTRACTS FOR EACH ROW BEGIN IF :NEW.START_DATE < (SELECT DISTINCT END_DATE FROM CONTRACTS WHERE SSN = NEW

duplicating entries in listagg function

戏子无情 提交于 2019-12-14 03:56:43
问题 i have a table in which two fields are id, controlflag.It looks like Id CntrlFlag 121 SSSSSRNNNSSRSSNNR 122 SSSNNRRSSNNRSSSSS 123 RRSSSNNSSSSSSSSSSSSSSS I have to get output in the following form( the occurences of R) Id Flag 121 6,12,17 122 6,7,12 123 1,2 I tried oracle query( as i obtained from this forum): select mtr_id,listagg(str,',') within group (order by lvl) as flags from ( select mtr_id, instr(mtr_ctrl_flags,'R', 1, level) as str, level as lvl from mer_trans_reject connect by level

Oracle SQL: Receiving 'no matching unique or primary key' error and don't know why

别来无恙 提交于 2019-12-14 03:54:46
问题 I'm receiving this error when trying to create a table and I don't know why: [2016-07-05 14:08:02] [42000][2270] ORA-02270: no matching unique or primary key for this column-list This question seems different (to me) from a similar question, because in that question the OP is referencing a table with a composite PK, while I am not. And while this other question has the same error code, it is because the OP is incorrectly references the primary key, which I don't think I did. May someone more

OBIEE exported csv and when importing to Access I get an error

不羁岁月 提交于 2019-12-14 03:25:06
问题 I have a report on OBIEE, the date field I made it Custom format to MM-DD-YYYY I have also try [FMT:dateShort] . Once I exported to .csv I am Linking the file with MS Access 2007 and the date field I get an error #NUM! why is that ? 回答1: Either one of these could be the problem/solution: The #Num! in Access is telling you the cell contains a mix of data; some digitit, some text, for example: 34G (or your '-') would throw a #Num! You need to go back to the Excel and change the format of any

missing numbers script wont work? [duplicate]

亡梦爱人 提交于 2019-12-14 03:23:35
问题 This question already has an answer here : finding missing numbers from sequence after getting sequenuce from a string? (1 answer) Closed 5 years ago . This script will get the sequence,year,month and day from the following string... then find the missing number from the sequence part like (1111,1112,115,.. etc) the problem is that the output of this script are not correct does not DBMS the missing numbers emp-1111_14_01_01_2141_G1 emp-1112_14_01_01_1612_G1 emp-1115_14_01_01_1109_G1 emp-1116

primary key update vs primary key deletion + insertion

匆匆过客 提交于 2019-12-14 03:13:50
问题 I have heard some rumours that when value in primary key column is changed, then row should be deleted then inserted with new value rather then column just updated. Are there any performance implications when primary key is updated and not deleted/inserted? 回答1: When you update the primary key: the supporting index is updated. if it is a foreign key will be checked for childs. But if you do a delete and an insert, for delete both points are performed and for insert the index is updated. So no