"WARNING: compiled, but with compilation errors" when executing procedure.
Hi all, I am so new plsql. This code has been compiled, but there was a warning. I guess that I'm missing a small question as semicolon but since im new I couldn't see what is the problem.
CREATE or REPLACE procedure BAKIM.grantt_uguser as
cursor synn is
Select 'CREATE a PUBLIC SYNONYM' | object_name |' for '. owner: '. ' || object_name dba_objects TXT
where owner = 'DS' and object_type in ('INDEX', 'PROCEDURE', 'TABLE', 'FUNCTION', 'SEE', 'TRIGGER', 'SEQUENCE', 'PACKAGE')
and
object_name not in (select table_name from dba_synonyms where owner = "FCY");
Start
for li in synn
loop
immediately run li. TXT;
end loop;
end;
/
Right. When you use SQL, you privileges through roles are available. When PL/SQL is running, your own roles aren't usually in fact, if we were to be granted directly to the owner of the stored procedure privileges on objects (there are few exceptions to this, but do not worry for this discussion).
Tags: Database
Similar Questions
-
Date format error when executing procedure
Hello
Oracle9i
Table A TIME column with the data type date.
In the table a TIME column has values in the format mm/dd/yyyy hh: mm:
Trying to run the procedure (with the date of value as an input parameter) to retrieve the records from the table above A, but get the error below:
get_product_details (17012, TO_DATE (24/10/2020,' dd/mm/yyyy hh), TO_DATE (26/10/2020,' dd/mm/yyyy hh: mm :), v_cur);)
ORA-01810: put the code appears twice
ORA-06512: at "SYS." STANDARD line", 231
ORA-06512: at line 14
Concerning"mm/dd/yyyy hh: mm:
For month MM, for the minutes of use MI. And the literal must also be in quotes.
(also, your format mask has the component "hour", but the literal is not...?)
-
Windows Update lists an important update, but I get error when downloading it. I ran update readiness tool and two logs in Windows\logs appear no error at all and nothing fixed. The update that will not download is KB974332, which can solve some problems I encounter. What else can be done, or should I ignore this update?
Just upgraded to Win7 64-bit, Vista 64 - bit Edition Ultimate Home premium.Hello
Welcome to the Microsoft Vista answers Forum!
We would like to ask you some questions to help us focus on the right place.
(a) what is the error that you receive on the computer?
(b) since when you are facing this problem?
You can try the steps below and check if the problem is resolved.
Note: this problem may occur if some of the windows update components are corrupt, so we will try to reset the windows update components and look for the number.
You must follow the link provided below to run the fixit which will automatically fix the problem if you find problems with the fixit, then you can follow the procedure to manually reset Windows component update.
How to reset the Windows Update components?
http://support.Microsoft.com/default.aspx/KB/971058
Also, visit the following link for more reference on the particular update.
http://support.Microsoft.com/kb/974332
Hope this information is useful.
Thank you, and in what concerns:
Suresh Kumar-Microsoft Support.
Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think.
-
Deploy event handlers, but get an error when creating users
I have deployed the CreatePostProcess event handler and the UpdatePostProocess event handler, but I get error when I try to save the user below.
"An error occurred when generating the username. The null of policy for the production of user name does not exist. oracle.iam.platform.kernel.EventFailedException: IAM-3050105: an error occurred when generating the username. The null of policy for the production of user name does not exist. »
I checked the orchestration process that 'CreateUserPreProcessHandler' has failed and therefore no other event ran after his failure.
Also for other processes orch handler of CreatePostProcess and the UpdatePostProocess event handler got stranded.
Please let me know what could be the solution for this problem.
Please let me know if you count more details.You generate using the strategy of generation of the IOM by default user name user name? Open the system properties, and then look for the name of the strategy: XL. DefaultUserNamePolicyImpl.
Its value must not be null. By default, it is:oracle.iam.identity.usermgmt.impl.plugins.DefaultComboPolicyKind regards
GP -
Compilation error when you use is NOT in condition with CQL
Hello
I have a problem using NOT IN my CQL status. I'm passing an id of the view in my arguments with NOT IN condition. Here's my query:
< id view = schema "V1" = "accesscode" > <! [CDATA]
IStream (select distinct ghpTmNumberingPlan.accesscode as ghpTmNumberingPlan accesscode,
trafficaStream [now])
[]] >
< / view >
< request id = "InvalidDataQuery" > <! [CDATA]
Select
trafficaStream.a_bearer_service,
trafficaStream.a_bsc,
trafficaStream.a_bssmap_cause,
trafficaStream.a_bssmap_cause_ext,
trafficaStream.a_category,
trafficaStream.a_cell,
trafficaStream.a_cgr,
trafficaStream.a_channel_rate_proposed,
trafficaStream.a_channel_rate_used,
trafficaStream.a_controlling_iw_mgw_id,
trafficaStream.a_data_bcie_octet_5a_used,
trafficaStream.a_direction_number,
trafficaStream.a_direction_number_type,
trafficaStream.a_ext_cause
of trafficaStream [now], ghpTmNumberingPlan
where trafficaStream.a_direction_number.substring (2.5) NOT IN (V1)
[]] >
< / query >
Furthermore, ghpTmNumberingPlan is a database table, I join it with a stream of data because I am also getting error of compilation if I didn't join with a stream of s [now].
I get the compile error is partly "NOT IN (V1). I get Red underscore with V1 and here is the message of the compiler:
Invalid statement: "select".
trafficaStream.a_bearer_service,
trafficaStream.a_bsc,
trafficaStream.a_bssmap_cause,
trafficaStream.a_bssmap_cause_ext,
trafficaStream.a_category,
trafficaStream.a_cell,
trafficaStream.a_cgr,
trafficaStream.a_channel_rate_proposed,
trafficaStream.a_channel_rate_used,
trafficaStream.a_controlling_iw_mgw_id,
trafficaStream.a_data_bcie_octet_5a_used,
trafficaStream.a_direction_number,
trafficaStream.a_direction_number_type,
trafficaStream.a_ext_cause
Of
trafficaStream [now], ghpTmNumberingPlan
where
trafficaStream.a_direction_number.substring (2.5)
"NOT IN (> > V1 < <).
Cause: no attribute with name V1 in
metadata
Action: Supply a valid attribute name.
Can someone please help, I am trying to solve this problem for 4 days already. Thanks in advance.
Published by: user13004801 on June 3, 2010 03:44Hello
Can you please try the following query (just check the spellings of the fields/attributes):
Define V1 as:
RSTREAM)
SELECT
trafficaStream.a_bearer_service,
trafficaStream.a_bsc,
trafficaStream.a_bssmap_cause,
trafficaStream.a_bssmap_cause_ext,
trafficaStream.a_category,
trafficaStream.a_cell,
trafficaStream.a_cgr,
trafficaStream.a_channel_rate_proposed,
trafficaStream.a_channel_rate_used,
trafficaStream.a_controlling_iw_mgw_id,
trafficaStream.a_data_bcie_octet_5a_used,
trafficaStream.a_direction_number,
trafficaStream.a_direction_number_type,
trafficaStream.a_ext_cause
ghpTmNumberingPlan.accesscodeOF trafficaStream [now] LEFT OUTER JOIN ghpTmNumberingPlan
WE trafficaStream.a_direction_number.substring (2,5) = ghpTmNumberingPlan.accesscode)
Define Q1 as:
SELECT * FROM V1 WHERE V1.accesscode is set to NULL;Thank you best regards &,.
Sandeep -
Since the October release upgrade I get this dozens of times a day error. It seems to happen when changing window that is developed to another program, while in the middle of saving a file in DW. There is a JavaScript error IN the code base of Dreamweaver, it has nothing to do with any file that I am trying to change, sometimes little any type of file, I work in and/or save.
Here is the error message: "when executing translateCustomControl in ExternalRenderers.htm, a JavaScript error occurred." It is not always the translateCustomControl function, but it is always in the file ExternalRenderers.htm.
I use Dreamweaver CC 2014 on Windows 8.1
Any help is appreciated... Thank you!
I remember well, it is a bug, and someone mentioned previously.
If I were you, I would like to send a bug report to:
https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform&loc=en
-
Hello
I use the latest SDK Standalone. I use the default convertersample file. Here is my file of properties.
physicalsource. Address =
physicalsource. UserName = *.
physicalsource. Password = *.
physicalsource. OSTYPE = windowsOs
physicalsource.agentport = 9089
physicalsource. Thumbprint =
physicalsource.reboot = false
vcserver. Address =
vcserver. Thumbprint =
vcserver.username = root
vcserver. Password = *.
conversion.job.Name = 1
conversion.job.Description = This is a work of P2V Windows Live
conversion.vmtocreate.Name = VM15
conversion.vmtocreate.vCPU = 1
conversion.vmtocreate.Memory = 4098
converterserver. Address =
converterserver. UserName = Administrator
converterserver. Password = *.
After that I run the following command
c:\Users\Administrator\Desktop\P2V\Upload\ > ConverterSamples.exe submitwinp2vjob.properties
I get the following error
To proceed with the connection to the destination server?
(Enter [y] ES, [n] o or [c] ancel): > y
Caught exception:
Name: WebException
Message: The operation has timed out
Trace: At System.Web.Services.Protocols.WebClientProtocol.GetWebResponse (we
bRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse (WebRequ
application of the East)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (String methodN
SOUL, Object [] parameters)
to (Ma ConverterApi.ConverterService.ConverterServerConversionManagerCreateJob
nagedObjectReference _this, spec, Obj ConverterServerConversionConversionJobSpec
extraInfo ect)
at ConverterSamples.ConverterConnection.SubmitJob (ConverterServerConversionCo
nversionJobSpec jobSpec)
ERROR: Impossible to present the work of P2V Conversion.
But when I opened the converter I see a running job where it says it will take 1 day 19 hours to complete.
And I have the following queries
1. Why do we say it will take so long?
2. If the work has successfully started why do I get the error when I run the above command.
3. also the vcenter we use support vmx 8 but the new converter creates vmx10. So, what is the setting in the properties file to specify the converter to use vmx 8.
Any help would be very useful.
Thanks and greetings
Debs
Hello
The time-out and the conversion time long expected that both point to a slow network. Check your environment.
The hardware version of destination is not in the properties file, you must change the code. Search for BuildCloningParams in the program, cs and set targetVMSpec.hardwareVersion to 'vmx-08'
In general I advise to use improved samples (Re: samples improved c# SDK) they are much more configurable, but in the case of the destination hw version also are not.
Concerning
Plamen
-
Error: dwwin.exe - Application error when executing Fallout2.
Original title: dwwin.exe - Application error
Hello
I get this error when you run Fallout2 on my computer (Win XP SP3)dwwin.exe - Application error
X with the exception of the breakpoint
A breakpoint has been reached.
(0 x 80000003) occurred in the location of the 0x7c90120e application.
Click OK to terminate the program
Click on Cancel to debug the program.When I press Cancel to debug the program, it crashes and I have to ctrl + alt + delete to get the Task Manager to end the process to ensure rear control.
Any advice on what the problem is & how should I solve this problem?
Thank you
Hello
1. what version of Adobe are you running?
2. when there is this starting happening?
3. did you other software on the system changes?
This error can occur if virtual memory is too high.
You can check the virtual memory settings.
Set it to 1 on 1 time and a half the size of RAM installed.
For more information, you can consult the following article:
How to set performance options in Windows XP
Did you installed Dell Quickset?
If installed, then update the same thing and check.
-
Implementation error when executing load interface to Essbase data.
When executing an interface to Essbase data loading I get this error:
rg.apache.bsf.BSFException: exception of Jython:
Traceback (most recent call changed):
File "< string >", line 26, < module >
at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: invalid column type specified for the column of data [ActivityPurpose]
The data store is reversed using the RKM Hyperion Essbase, I did not any changes in the data store.
I'm loading from an identical to the tabel of target array.
I use the IKM SQL for Hyperion Essbase (DATA).
Does anyone have any idea what this might be?
Concerning
Hans-PetterMight be useful to have a read of the following doc Oracle Support - "how to avoid signs of ' ODIEssbaseException: invalid column type specified for the data column" Message When loading Essbase models ODI? ". [ID 885608.1] »
See you soon
John
http://John-Goodwin.blogspot.com/ -
Error when executing fn - bea: inlinedXML
Hi all
I get the error when you attempt to perform an action to assign to the Service Proxy OSB below message flow. In the action of the claimant, I do fn - bea:inlinedXML($body/*)
the next error in the newspaper is
# < 08/06/2013-15:34:05 CEST > < error > < ALSB Logging > < dili > < osb_admin > < ExecuteThread [ASSETS]: '16' for queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > < BEA1-7BDF80E04144 > < 11d1def534ea1be0:75fd2fd6:13ea8708939: - 8000-0000000000096029 > < 1375796045200 > < BEA-000000 > < [PipelinePairNode1_request, ExtractCorrelationInformation, PipelinePairNode1, ERROR] order_event_invalid: command event has invalid format
content of $body is
< IRISEvent >
< OrderHeader >
< CustomerName > mortenEgeriis-shift < / CustomerName >
< OrderId > ESV0700000671 < / OrderId >
< OrderStatus > SHIPPED < / OrderStatus >
< ShipDate > 6 August 13 < / ShipDate >
< TrackTrace > < / TrackTrace >
< / OrderHeader >
<>lines
ESV0700000671_1 < LineId > < / LineId >
< ItemName > Velkomst Kit Privat < / ItemName >
< ItemNum > 338739 < / ItemNum >
< quantity > 1 < / quantity >
< SerialNum > 89450109010803430958 < / SerialNum >
< / lines >
<>lines
ESV0700000671_2 < LineId > < / LineId >
< ItemName > 5 white 16 GB iPhone < / ItemName >
< ItemNum > 343654 < / ItemNum >
< quantity > 1 < / quantity >
< SerialNum > < / SerialNum >
< / lines >
<>lines
ESV0700000671_3 < LineId > < / LineId >
< ItemName > Nano On-Line USIM & CSP (B) < / ItemName >
< ItemNum > 343542 < / ItemNum >
< quantity > 1 < / quantity >
< SerialNum > < / SerialNum >
< / lines >
< / IRISEvent >$fault displays as BEA-382510OSB Assign action failed variable update 'contentXml': com.bea.wli.common.xquery.XQueryException: XML parsing error: {err} FODC0002 [{bea - err} FODC0002b]: parsing XML 'inlinedXML' of entry error: error on line: 25 col: 31 ' "expect a character name valid start PipelinePairNode1PipelinePairNode1_requestExtractCorrelationInformationrequest-pipeline >"
Please can anyone suggest why this error occurs.
Thanks and greetings
Frank Michael Simon
There is '&' in your last knot of lines
Nano USIM online & CSP (B) It is not support delete & here and try again. And same question Abhishek asked, your body content is already in XML format, why do you use the inlinedXML function?
Kind regards
Karan
-
Get the linker error when executing our code in InDesign CC
Hello
We are modernizing our plug-ins for Adobe InDesign CC. In that we are facing a problem (the linker error) when running our code,
1 > AssetCustomView.obj: error LNK2019: unresolved external symbol "public __declspec (dllimport): virtual __thiscall DVControlView: ~ DVControlView (void)" (__imp_? 1DVControlView@@UAE@XZ) referenced in the function __unwindfunclet$? 0AssetCustomView@@QAE@PAVIPMUnknown@@@Z$0
1 > AssetCustomView.obj: error LNK2019: unresolved external symbol "public __declspec (dllimport): __thiscall DVControlView::DVControlView(class IPMUnknown *)" (__imp_? 0DVControlView@@QAE@PAVIPMUnknown@@@Z) referenced in function "public: __thiscall AssetCustomView::AssetCustomView(class IPMUnknown *)" (? 0InCatAssetCustomView@@QAE@PAVIPMUnknown@@@Z)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: class virtual IPMUnknown * __thiscall AbstractControlView::QueryInterface (class < struct PMIID_tag > IDType) const"(?) ". QueryInterface@AbstractControlView@@UBEPAVIPMUnknown@@V? $IDType@UPMIID_tag@@@Z)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void AbstractControlView::AddRef (void) const '(?) __thiscall. AddRef@AbstractControlView@@UBEXXZ)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void AbstractControlView::Release (void) const '(?) __thiscall. Release@AbstractControlView@@UBEXXZ)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: class virtual IDType < struct WidgetID_tag > __thiscall AbstractControlView::GetWidgetID (void) const"(?) ". GetWidgetID@AbstractControlView@@UBE? AV? $IDType@UWidgetID_tag@@@XZ)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: class virtual PMRect const & __thiscall DVHostedWidgetView::GetFrame (void) const"(?) ". GetFrame@DVHostedWidgetView@@UBEABVPMRect@@XZ)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Resize (class PMPoint const & short)" (?) Resize@DVHostedWidgetView@@UAEXABVPMPoint@@F@Z)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Invalidate(class PMRect *)" (?) Invalidate@DVHostedWidgetView@@UAEXPAVPMRect@@@Z)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Show (short)" (?) Show@DVHostedWidgetView@@UAEXF@Z)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Hide (void)" (?) Hide@DVHostedWidgetView@@UAEXXZ)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Enable (short, short)" (?) Enable@DVHostedWidgetView@@UAEXFF@Z)
1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Disable (short)" (?) Disable@DVHostedWidgetView@@UAEXF@Z)
Help us please if anyone has idea about this error.
Thank you
Vimala L
Hi Vimala L,.
under Windows, you need to add the DV_WidgetBin.lib library to your library includes or just use $UI_PLUGIN_LINKLIST macro that contains this library.
On Mac, it is included in the framework.
Markus
-
Error when performing procedure a TOAD that contains the parameter and dblink
Hi all
I get the error while executing the following code in the TOAD and APEX.
It contains the parameter (start_date and end_date) and dblink (@TO_FUT).
When I hardcode the values of the parameters, it works very well.
When I give values hard-coded in the procedure, the error comes.
When I commented that the lines as much as setting comes, the error always comes.
I don't know if it's parameter problem or question dblink or some other problem
Everyone is having no idea about this error?
Your help is very appreciated.
Code:
CREATE OR REPLACE PROCEDURE PROC_ENR_ACC (START_DATE, END_DATE DATE DATE)
AS
BEGIN
RUN IMMEDIATELY 'TRUNCATE TABLE OUTPUT_TABLE;
INSERT INTO OUTPUT_TABLE
(FIRST_NAME, LAST_NAME, HIDDEN, EFF_DT, CID, PLAN, FLAG)
SELECT
TEMP1. FIRST NAME,
TEMP1. LAST_NAME,
TEMP1. HIDDEN,
TEMP1. EFF_DT,
TEMP1. CID,
TEMP1. PLAN,
NVL ((SELECT ' Y'))
OF FADMIN. MEMI_TABLE@TO_FUT MCQUEEN
WHERE MCQUEEN. MEME_CK = TEMP1. MEME_CK
AND MCQUEEN. TXN_EFF_DT = TEMP1. EFF_DT
AND MCQUEEN. PBP = TEMP1. PLAN
AND MCQUEEN. MEMI_TXN_CD IN ('AC', ARE ')
AND MCQUEEN. MEMI_SEQ_NO = (SELECT MAX (MI. MEMI_SEQ_NO)
OF FADMIN. MEMI_TABLE@TO_FUT MI
WHERE MI. MEME_CK = MOUGEOT. MEME_CK
AND MI. TXN_EFF_DT = MOUGEOT. TXN_EFF_DT
AND MI. PBP = MOUGEOT. PBP
AND MI. MEMI_TXN_CD IN ('AC', ARE ')
AND MI. (MEMI_INTF_STS = 03)), 'N') AS FLAG
Of
(SELECT
M1. FIRST NAME,
M1. LAST_NAME,
M1. HIDDEN,
M1. EFF_DT,
M1. CID,
M1. PLAN,
(SELECT THE SAME. MEME_CK
OF FADMIN. EVEN MEME_TABLE@TO_FUT, FADMIN. GRGR_TABLE@TO_FUT CHRISTIAN
WHERE EVEN. M_HIN = M1. HID
AND EVEN. GRGR_CK = CHRISTIAN. GRGR_CK
AND CHRISTIAN. GRGR_ID = M1. GRGR_ID
) AS MEME_CK
OF FADMIN. METR_TABLE@TO_FUT M1,
(SELECT M3. HIDDEN, M3. FADMIN EFF_DT. METR_TABLE@TO_FUT M3
WHERE M3. TYPE IN ('60 ', ' 61')
AND M3. RESPONSE TO ('117 ', ' 118')
AND TRUNC (M3. METR_TRANS_DT) BETWEEN START_DATE AND END_DATE
AND M3. SYIN_INST = (SELECT MAX (M4. SYIN_INST)
OF FADMIN. METR_TABLE@TO_FUT M4
WHERE M4. HID = M3. HID
AND M4. TYPE IN ('60 ', ' 61')
AND M4. RESPONSE TO ('117 ', ' 118')
AND TRUNC (M4. EFF_DT) = TRUNC (M3. EFF_DT))
) TEMP
WHERE M1. TYPE IN ('60 ', ' 61')
AND M1. RESPONSE = "011"
AND TRUNC (M1. METR_TRANS_DT) BETWEEN START_DATE AND END_DATE
AND M1. SYIN_INST = (SELECT MAX (M2. SYIN_INST)
OF FADMIN. METR_TABLE@TO_FUT M2
WHERE M2. HID = M1. HID
AND M2. TYPE IN ('60 ', ' 61')
AND M2. RESPONSE = "011"
AND TRUNC (M2. EFF_DT) = TRUNC (M1. EFF_DT))
AND M1. HID = TEMP. HID (+)
AND M1. EFF_DT = TEMP. EFF_DT (+)
AND TEMP. HIDDEN IS NULL
--------
UNION
--------
SELECT
M1. FIRST NAME,
M1. LAST_NAME,
M1. HIDDEN,
M1. EFF_DT,
M1. CID,
M1. PLAN,
(SELECT THE SAME. MEME_CK
OF FADMIN. EVEN MEME_TABLE@TO_FUT, FADMIN. GRGR_TABLE@TO_FUT CHRISTIAN
WHERE EVEN. M_HIN = M1. HID
AND EVEN. GRGR_CK = CHRISTIAN. GRGR_CK
AND CHRISTIAN. GRGR_ID = M1. GRGR_ID
) AS MEME_CK
OF FADMIN. METR_TABLE@TO_FUT M1
WHERE M1. TYPE IN ('60 ', ' 61')
AND M1. RESPONSE TO ('016', '017', '022', ' 023')
AND TRUNC (M1. METR_TRANS_DT) BETWEEN START_DATE AND END_DATE
AND M1. SYIN_INST = (SELECT MAX (M2. SYIN_INST)
OF FADMIN. METR_TABLE@TO_FUT M2
WHERE M2. HID = M1. HID
AND M2. TYPE IN ('60 ', ' 61')
AND M2. RESPONSE TO ('016', '017', '022', ' 023')
AND TRUNC (M2. EFF_DT) = TRUNC (M1. EFF_DT))
) TEMP1;
END;
/
The error:
ORA-00918: column ambiguously defined
ORA-02063: preceding the line of TO_FUT
ORA-06512: at "PROC_ENR_ACC", line 5
ORA-06512: at line 5Good,
Please can just as a test you try this and see what happens
WITH variables AS (SELECT /*+ MATERIALIZE */ TO_DATE(:START_DATE) start_date, TO_DATE(:END_DATE) end_date FROM dual) SELECT TEMP1.FIRST_NAME, TEMP1.LAST_NAME, TEMP1.HID, TEMP1.EFF_DT, TEMP1.CID, TEMP1.PLAN, NVL ( (SELECT 'Y' FROM MEMI_TABLE MEMI WHERE MEMI.MEME_CK = TEMP1.MEME_CK AND MEMI.TXN_EFF_DT = TEMP1.EFF_DT AND MEMI.PBP = TEMP1.PLAN AND MEMI.MEMI_TXN_CD IN ('AC', 'RE') AND MEMI.MEMI_SEQ_NO = (SELECT MAX (MI.MEMI_SEQ_NO) FROM MEMI_TABLE MI WHERE MI.MEME_CK = MEMI.MEME_CK AND MI.TXN_EFF_DT = MEMI.TXN_EFF_DT AND MI.PBP = MEMI.PBP AND MI.MEMI_TXN_CD IN ('AC', 'RE') AND MI.MEMI_INTF_STS = 03) ),'N') FLAG FROM (SELECT M1.FIRST_NAME, M1.LAST_NAME, M1.HID, M1.EFF_DT, M1.CID, M1.PLAN, (SELECT MEME.MEME_CK FROM MEME_TABLE MEME, GRGR_TABLE GRGR WHERE MEME.M_HIN = M1.HID AND MEME.GRGR_CK = GRGR.GRGR_CK AND GRGR.GRGR_ID = M1.GRGR_ID) MEME_CK FROM METR_TABLE M1, (SELECT M3.HID, M3.EFF_DT FROM METR_TABLE M3 WHERE M3.TYPE IN ('60', '61') AND M3.REPLY IN ('117', '118') AND TRUNC (M3.METR_TRANS_DT) BETWEEN (SELECT start_date FROM variables) AND (SELECT end_date FROM variables) AND M3.SYIN_INST = (SELECT MAX (M4.SYIN_INST) FROM METR_TABLE M4 WHERE M4.HID = M3.HID AND M4.TYPE IN ('60', '61') AND M4.REPLY IN ('117', '118') AND TRUNC (M4.EFF_DT) = TRUNC (M3.EFF_DT)) ) TEMP WHERE M1.TYPE IN ('60', '61') AND M1.REPLY = '011' AND TRUNC (M1.METR_TRANS_DT) BETWEEN (SELECT start_date FROM variables) AND (SELECT end_date FROM variables) AND M1.SYIN_INST = (SELECT MAX (M2.SYIN_INST) FROM METR_TABLE M2 WHERE M2.HID = M1.HID AND M2.TYPE IN ('60', '61') AND M2.REPLY = '011' AND TRUNC (M2.EFF_DT) = TRUNC (M1.EFF_DT)) AND M1.HID = TEMP.HID(+) AND M1.EFF_DT = TEMP.EFF_DT(+) AND TEMP.HID IS NULL UNION SELECT M1.FIRST_NAME, M1.LAST_NAME, M1.HID, M1.EFF_DT, M1.CID, M1.PLAN, (SELECT MEME.MEME_CK FROM MEME_TABLE MEME, GRGR_TABLE GRGR WHERE MEME.M_HIN = M1.HID AND MEME.GRGR_CK = GRGR.GRGR_CK AND GRGR.GRGR_ID = M1.GRGR_ID) MEME_CK FROM METR_TABLE M1 WHERE M1.TYPE IN ('60', '61') AND M1.REPLY IN ('016', '017', '022', '023') AND TRUNC (M1.METR_TRANS_DT) BETWEEN (SELECT start_date FROM variables) AND (SELECT end_date FROM variables) AND M1.SYIN_INST = (SELECT MAX (M2.SYIN_INST) FROM METR_TABLE M2 WHERE M2.HID = M1.HID AND M2.TYPE IN ('60', '61') AND M2.REPLY IN ('016', '017', '022', '023') AND TRUNC (M2.EFF_DT) = TRUNC (M1.EFF_DT)) ) TEMP1; END;
See you soon
Ben
http://www.munkyben.WordPress.com
Don't forget to mark the answers useful or correct ;) -
Compilation error when you use the NDK library
Hello
I am developing an application of cascades that uses a static library NDK to communicate with a bluetooth device. The NDK library compiles without problems, but when I then compile the application stunts I get errors with all bluetooth NDK functions:
myBB10Lib.a(BluetoothDevice.o): In function `MyBB10Lib::BluetoothDevice::getAddress()': \src\Driver/BluetoothDevice.cpp:33: undefined reference to `bt_rdev_get_address' myBB10Lib.a(BluetoothDevice.o): In function `MyBB10Lib::BluetoothDevice::getName()': \src\Driver/BluetoothDevice.cpp:53: undefined reference to `bt_rdev_get_friendly_name' make[2]: *** [o.le-v7-g/MyCascadesProject] Error 1 make[1]: *** [debug] Error 2 make: *** [Device-Debug] Error 2
(I create a static library as it will act as a driver for the bluetooth device in other applications of stunts in the future).
I have good include (#include
) in the BluetoothDevice .cpp file, but the application of Cascades always gives me this error. It is one of the functions in question: /*! * Returns the MAC address of the remote device, terminated by a null character (\0). */ char* BluetoothDevice::getAddress() { // Holder for results char address[18]; // Perform the check int res = bt_rdev_get_address(mDevice, address); if(res != 0) { //TODO Query failed, pass up error } return address; }
Any suggestions?
Hello!
I suspect that the NDK functions can be linked only dynamically. Only the .so files are available.Try adding
LIBS +=-lbtapi
the file .pro of application using the library. -
Hello OTN.
I don't understand why my sql query will pass by in the data model of the BI Publisher. I created a new data model, chose the data source and type of Standard SQL = SQL. I tried several databases and all the same error in BI Publisher, but the application works well in TOAD / SQL Developer. So, I think it might be something with my case so I'm tender hand to you to try and let me know if you get the same result as me.
The query is:
SELECT to_char (to_date ('15-' |)) TO_CHAR(:P_MONTH) | » -'|| (To_char(:P_YEAR), "YYYY-DD-MONTH") - 90, "YYYYMM") as yrmth FROM DUAL
Values of the variable:
: P_MONTH = APRIL
: P_YEAR = 2015
I tried multiple variations and not had much luck. Here are the other options I've tried:
WITH DATES AS
(
Select TO_NUMBER (decode (: P_MONTH, 'JANUARY', '01',))
'FEBRUARY', '02',.
'MARCH', '03'.
'APRIL', '04'
'MAY', '05'.
'JUNE', '06'.
'JULY', '07',.
'AUGUST', '08'.
'SEPTEMBER', '09'.
'OCTOBER', '10',.
'NOVEMBER', '11'.
"DECEMBER", "12."
'01')) as mth_nbr
of the double
)
SELECT to_char (to_date ('15-' |)) MTH_NBR | » -'|| (TO_CHAR(:P_YEAR), 'DD-MM-YYYY') - 90, "YYYYMM")
OF DATES
SELECT to_char (to_date ('15-' |: P_MONTH |)) » -'|| ((: P_YEAR, 'MONTH-DD-YYYY')-90, "YYYYMM") as yrmth FROM DUAL
I'm running out of ideas and I don't know why it does not work. If anyone has any suggestions or ideas, please let me know. I always mark answers correct and useful in my thread and I appreciate all your help.
Best regards
-Konrad
So I thought to it. It seems that there is a bug/lag between the guest screen that appears when you enter SQL in the data model and parameter values, to at model/value data.
Here's how I solved my problem.
I have created a new data model and first created all my settings required in the data model (including the default values without quotes, i.e. APRIL instead "Of APRIL") and then saved.
Then I stuck my sql query in the data model and when I clicked ok, I entered my string values in the message box with single quotes (i.e. "in APRIL' instead of APRIL)
After entering the values of string with single quotes in the dialog box, I was able to retrieve the columns in the data model and save.
In the data tab, is no longer, I had to enter the values in single quotes, but entered values normally instead, and the code worked.
It seems the box prompted to bind the values of the variables when the SQL text in a data model expects strings to be wrapped in single quotes, but no where else. It's a big headache for me, but I'm glad that I solved it, and I hope this can be of help to other institutions.
See you soon.
-
ADF 12 c, error when executing the AppModule with a hidden link variable
Hello
I am facing a problem when I run my application module and open a view that uses a hidden (UI tips / display) bind variable (see the error below).
There is no error if I change this binding variable to display.
For more information, I use the Version of edition of Studio 12.1.2.0.0 for JDeveloper. Any suggestions?
Thanks in advance,
Sébastien
Taken unexpected exception: java.lang.NullPointerException, msg = null: null
oracle.jbo.jbotester.app.ErrorHandler$ ExceptionWrapper: Houston-29000: Unexpected exception caught: java.lang.NullPointerException, msg = null
at oracle.jbo.jbotester.app.ErrorHandler.displayError(ErrorHandler.java:104)
at oracle.jbo.jbotester.app.ErrorHandler.displayError(ErrorHandler.java:90)
at oracle.jbo.jbotester.dialog.JTDialog.displayError(JTDialog.java:151)
to oracle.jbo.jbotester.dialog.VariableDialog. < init > (VariableDialog.java:134)
to oracle.jbo.jbotester.dialog.VariableDialog. < init > (VariableDialog.java:112)
at oracle.jbo.jbotester.app.JboTesterUtil.editBindParameters(JboTesterUtil.java:163)
at oracle.jbo.jbotester.panel.RowSetPanel.setBindParameters(RowSetPanel.java:110)
at oracle.jbo.jbotester.panel.BindingPanel.setBindingContext(BindingPanel.java:132)
to oracle.jbo.jbotester.panel.BindingPanel. < init > (BindingPanel.java:103)
to oracle.jbo.jbotester.panel.BindingPanel. < init > (BindingPanel.java:77)
at oracle.jbo.jbotester.form.BindingForm.createMasterPanel(BindingForm.java:77)
at oracle.jbo.jbotester.form.BindingForm.init(BindingForm.java:153)
to oracle.jbo.jbotester.form.JTForm. < init > (JTForm.java:76)
to oracle.jbo.jbotester.form.BindingForm. < init > (BindingForm.java:64)
to oracle.jbo.jbotester.form.FormType$ 1.createForm(FormType.java:65)
at oracle.jbo.jbotester.form.FormType.createForm(FormType.java:201)
at oracle.jbo.jbotester.form.FormType.createTab(FormType.java:272)
at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:250)
at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:209)
at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:205)
at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:155)
at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:132)
at oracle.jbo.jbotester.tree.Tree.processTreeMouseClicked(Tree.java:742)
in oracle.jbo.jbotester.tree.Tree.access$ 100 (Tree.java:98)
to oracle.jbo.jbotester.tree.Tree$ TreeMouseListener.mouseClicked (Tree.java:152)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
at java.awt.Component.processMouseEvent(Component.java:6508)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at $200 (EventQueue.java:103) java.awt.EventQueue.access
in java.awt.EventQueue$ 3.run(EventQueue.java:688)
in java.awt.EventQueue$ 3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)
in java.awt.EventQueue$ 4.run(EventQueue.java:702)
in java.awt.EventQueue$ 4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
at oracle.jbo.jbotester.dialog.VariableDialog.createBindingField(VariableDialog.java:247)
at oracle.jbo.jbotester.dialog.VariableDialog.buildCardlayoutPanel(VariableDialog.java:201)
at oracle.jbo.jbotester.dialog.VariableDialog.updateDetailPanel(VariableDialog.java:314)
to oracle.jbo.jbotester.dialog.VariableDialog.access$ 000 (VariableDialog.java:85)
to oracle.jbo.jbotester.dialog.VariableDialog$ 1.valueChanged(VariableDialog.java:225)
at javax.swing.JList.fireSelectionValueChanged(JList.java:1798)
in javax.swing.JList$ ListSelectionHandler.valueChanged (JList.java:1812)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
at javax.swing.JList.setSelectedIndex(JList.java:2212)
at oracle.jbo.jbotester.dialog.VariableDialog.jbInit(VariableDialog.java:306)
to oracle.jbo.jbotester.dialog.VariableDialog. < init > (VariableDialog.java:132)
... more than 53
# # 0 in detail
java.lang.NullPointerException
at oracle.jbo.jbotester.dialog.VariableDialog.createBindingField(VariableDialog.java:247)
at oracle.jbo.jbotester.dialog.VariableDialog.buildCardlayoutPanel(VariableDialog.java:201)
at oracle.jbo.jbotester.dialog.VariableDialog.updateDetailPanel(VariableDialog.java:314)
to oracle.jbo.jbotester.dialog.VariableDialog.access$ 000 (VariableDialog.java:85)
to oracle.jbo.jbotester.dialog.VariableDialog$ 1.valueChanged(VariableDialog.java:225)
at javax.swing.JList.fireSelectionValueChanged(JList.java:1798)
in javax.swing.JList$ ListSelectionHandler.valueChanged (JList.java:1812)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
at javax.swing.JList.setSelectedIndex(JList.java:2212)
at oracle.jbo.jbotester.dialog.VariableDialog.jbInit(VariableDialog.java:306)
to oracle.jbo.jbotester.dialog.VariableDialog. < init > (VariableDialog.java:132)
to oracle.jbo.jbotester.dialog.VariableDialog. < init > (VariableDialog.java:112)
at oracle.jbo.jbotester.app.JboTesterUtil.editBindParameters(JboTesterUtil.java:163)
at oracle.jbo.jbotester.panel.RowSetPanel.setBindParameters(RowSetPanel.java:110)
at oracle.jbo.jbotester.panel.BindingPanel.setBindingContext(BindingPanel.java:132)
to oracle.jbo.jbotester.panel.BindingPanel. < init > (BindingPanel.java:103)
to oracle.jbo.jbotester.panel.BindingPanel. < init > (BindingPanel.java:77)
at oracle.jbo.jbotester.form.BindingForm.createMasterPanel(BindingForm.java:77)
at oracle.jbo.jbotester.form.BindingForm.init(BindingForm.java:153)
to oracle.jbo.jbotester.form.JTForm. < init > (JTForm.java:76)
to oracle.jbo.jbotester.form.BindingForm. < init > (BindingForm.java:64)
to oracle.jbo.jbotester.form.FormType$ 1.createForm(FormType.java:65)
at oracle.jbo.jbotester.form.FormType.createForm(FormType.java:201)
at oracle.jbo.jbotester.form.FormType.createTab(FormType.java:272)
at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:250)
at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:209)
at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:205)
at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:155)
at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:132)
at oracle.jbo.jbotester.tree.Tree.processTreeMouseClicked(Tree.java:742)
in oracle.jbo.jbotester.tree.Tree.access$ 100 (Tree.java:98)
to oracle.jbo.jbotester.tree.Tree$ TreeMouseListener.mouseClicked (Tree.java:152)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
at java.awt.Component.processMouseEvent(Component.java:6508)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at $200 (EventQueue.java:103) java.awt.EventQueue.access
in java.awt.EventQueue$ 3.run(EventQueue.java:688)
in java.awt.EventQueue$ 3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)
in java.awt.EventQueue$ 4.run(EventQueue.java:702)
in java.awt.EventQueue$ 4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Looks like a bug to me. I checked this behavior. I'll log a bug with ADFFEMG for this. If you need this feature, you must open a SR with support.oracle.com that the ADFEMG guarantee if or when a bug is fixed.
Timo
Post edited by: TimoHahn
Bug reference https://java.net/jira/browse/ADFEMG-179
Maybe you are looking for
-
Some e-mail comes to the iPhone but not for Mac
Recently some, but not all, mailed to one of my two email accounts (not account "me.com" but my local ISP) happens on my iPhone but not on my Mac (both devices to the newest OS Help). I see nothing in the settings, system preferences or any other whi
-
After the upgrade to version 38.4.0 the toolbars for editing files, DISPLAY etc. and send spelling join are no longer visible. I have not found a way to turn them on as 'View' is no longer visible to light.
-
Cannot connect BT headset to Satellite R830
Hello I just bought the headset Plantronics M50 and try to pair it to my Satellite R830.I installed the latest drivers for Bluetooth from Toshiba, but I'm not able to see the helmet in my PC. I've seen drivers Bluetooth (version 8.00.12) documentatio
-
El Capitan OSX Mail CPU memory overload
I had this problem before with Mail slows everything down. Finally, it seems back to normal, given the time. However, right now now on opening mail the application increases its use of memory to 10gigs. I tried to empty the mailbox store and deleting
-
My partner loves Cityville and Frontierville. Recently she can't read them on his laptop. He keeps asking him to download flash player 10. It does not cure the problem. I can still play these games on main pc