Apex report result doesn't agree with the result of sql developer
Hello guys,
at the moment I try to create a standard report which takes his content from several spreadsheets. Because of some problems with the searchbar I'm not able to use an interactive report. The sql query contains a function, which sets some space characters into the content of a column. But there is a big problem. When I call my sql query in apex from the spreadsheets the result doesn't agree with the result which affords the sql developer.
I know that the sql developer affords the right result.
best regards
wderr
Edited by: user9072567 on 07.02.2010 12:57
thats the query:
select "TWORKITEM"."WORKITEMKEY",
"TWORKITEM"."PROJCATKEY",
"TPROJECT"."LABEL",
"TWORKITEM"."PACKAGESYNOPSYS",
replace(replace("TWORKITEM"."PACKAGEDESCRIPTION", chr(10), '<br>'),'<td></td>','<td></td>') packagedesc,
suche_ohne_ti_be("TWORKITEM"."WORKITEMKEY") "CHANGEDESCRIPTION"
from "TWORKITEM" "TWORKITEM", "TPROJECT" "TPROJECT", "TPROJCAT" "TPROJCAT"
where "TWORKITEM"."PROJCATKEY" = "TPROJCAT"."PKEY"
and "TPROJCAT"."PROJKEY" = "TPROJECT"."PKEY"
and (instr(upper("TWORKITEM"."WORKITEMKEY"), upper(nvl(:P10_SEARCHTEXT, "TWORKITEM"."WORKITEMKEY"))) > 0
or instr(upper("TPROJECT"."LABEL"), upper(nvl(:P10_SEARCHTEXT, "TPROJECT"."LABEL"))) > 0
or instr(upper("TWORKITEM"."PACKAGESYNOPSYS"), upper(nvl(:P10_SEARCHTEXT, "TWORKITEM"."PACKAGESYNOPSYS"))) > 0
or instr(upper("TWORKITEM"."PACKAGEDESCRIPTION"), upper(nvl(:P10_SEARCHTEXT, "TWORKITEM"."PACKAGEDESCRIPTION"))) > 0
or instr(upper(suche_ohne_ti_be("TWORKITEM"."WORKITEMKEY")), upper(nvl(:P10_SEARCHTEXT, "TWORKITEM"."WORKITEMKEY")))>0
I mean with spreadsheets some tables/charts. And I take those informations from 3 of them.
regards
wderr
Similar Messages
-
Problem with the result of multiple queries in Web Intelligence (BO XI R2)
We have a problem with Web Intelligence reports. Behavior of the results is like if we selected the function Count in Designer the properties indicators. Same queries separated one for one report give correct results and together 7 queries in one report give correct results only for the first query and for others (6 others) same results for each date (if report is monthly) or the same result for each hour (if the result is daily) for all Queues tested (other which were not tested have result 0). Even the function Sum inserted into the report structure behaves weird u2013 we have the same result as in the filed (it is a copy of that result, not a sum). We tested queries together in SQL Developer and they give correct results, while in BO big query which contains script from Query 3, Query 2 and Query 1 cannot be completely executed (it executes without end).
We use Business Objects XI R2 SP3.
Thanks in advance.Hi Peter,
I guess it is the problem due to the merged dimension and different granurality level in the BO queries. From the document properties uncheck the option of auto-merge common dimension objects or manually unmerge all the common dimensions
than give it a try.
I guess this would solve your problem. If not can you provide more query details like what objects you have used in the query. -
Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong version of backup.
Answer is no.
If you want the iCloud backup you have to have n internet connection, thus WiFi.
The not working WiFi has happened with quite a number of users.
It is not exactly clear what is the cause but there are suggestions to clear it up:
Some people have had success by removing an apostrophe from the iPhone name. If your iPhone is called something like “John’s iPhone” then this might work. Go to Settings > General > About > Name and change it to something with no apostrophe.
Some people have reported success by putting the iPhone into Airplane mode and then going to Settings > General > Reset > Reset Network Settings, but the problem may return.
You could also try going to Settings > Control Center and disable Access on Lock Screen then turn your iPhone off and on again.
Make sure that your router firmware is up to date.
Try backing up your iPhone and then restoring it. Check how to factory reset an iPhone for details.
If nothing is working for you, try contacting Apple or take your iPhone into an Apple Store.
Succes, Lex -
Hi,
I'm having trouble with filling a tree with the result to
calls to a document/wrapped soap 1.1 webservice.
I first declared the webservice in the mxml file as it was in
the examples and tried to call it with no luck. The fault was it
wasn't finding the document type for the call's unique parameter. I
figured out the solution to this, I added a method in the
webservice declaration having a single element named the same as
the required parameter, and inside it, the "actual" parameters,
bound to variables defined elsewhere.
The reason for wanting the tree to be filled programatically,
is the potential whole contents of the tree can be about 1.000.000
nodes. Huge.
quote:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" applicationComplete="initM()">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import mx.controls.treeClasses.TreeListData;
[Bindable] public var aParentId:String = null;
[Bindable] public var aLevel:Number = 0;
]]>
</mx:Script>
<mx:WebService id="lws" wsdl="
http://myServer/myContext/myPortURI?WSDL"
useProxy="false" makeObjectsBindable="true">
<mx:operation name="getNodes" resultFormat="object">
<mx:request>
<getNodesElement>
<parentId>{aParentId}</parentId>
<level>{aLevel}</level>
</getNodesElement>
</mx:request>
</mx:operation>
</mx:WebService>
<mx:Tree x="0" y="0" width="326" height="100%"
id="layoutTree" enabled="true" labelField="nodeName">
<mx:dataProvider>{lws.getNodes.lastResult}</mx:dataProvider>
</mx:Tree>
<mx:Script>
<![CDATA[
public function initM():void {
lws.getNodes.send();
return;
]]>
</mx:Script>
</mx:Application>
So, here's the problem:
1.- In both Java2 and .NET, I've been able to produce sets of
proxy classes from the webservice wsdl, these include a proxy class
for the service port and a set of classes for both the call
parameter types and the call result types. I have not found yet a
way to do the same with flex2, so I wonder, can I produce the
required classes for dealing with such a webservice in an automatic
way with flex2?
2.- The second problem, is I haven't found a way to make a
webservice call in sychronous mode, and I can't seem to find a way
to set the parameters for the subsequent calls to the webservice.
Is there a way to make a call to such webservice programatically? I
mean, I've been able to make the first call I need programatically,
but what if I end up making 2 or more simultaneous calls? I can't
rely on setting the `variables defined elsewhere` before each call,
because of possible concurrency issues (calls will be long after
the 2nd level of the tree), so I wonder if there's a way to make a
call to such webservice (document/wrapped, soap1.1) passing it the
parameters programatically. If so, can I just put the parameters or
do I have to produce the complete enclosure? If I have to produce
also the enclosure, any hint on how to do so? I will need to pass
different parentId, level pairs probably triggered by tree events.
3.- the other problem, finally, is Tree looks quite different
to me than the Java2 one. In java2, I can easily produce a changing
model for the tree wich will even handle the calls to the
webservice as needed (triggered by the tree itself), making it a
`live model`. If there is a way to produce the same behaviour in
flex2, I haven't found it yet. Sure, I've only downloaded the trial
version yesterday, so I may have overlooked some docs or blogs.
Any hints would be appreciated, specially on programatically
modifying the tree, and making calls to the webservice changing the
parameters every time.1. Not yet, but we're looking into supporting this in an
upcomming release.
2. All RPC requests must be made asynchronously... this is a
restriction of the way the Flash Player makes network requests
(otherwise movies, which are single threaded, would hang waiting
for results). You should be able to use the ActionScript API to
programmatically call web services with normal parameters.
3. If you leave makeObjectsBindable="true" (which it is by
default) the Objects and Arrays will be wrapped in ObjectProxies
and ArrayCollections automatically and will report change events,
however I don't believe that we have an example that links these
change events up to subsequent web service calls, but it would be
possible (but not automatic). A feature that does do this sort of
thing automatically is the Data Service, although this does not use
WSDL/SOAP to describe/communicate with remote services and you have
to setup a Java assembler to work with our adapters on the
server. -
Message count in Mail doesn't agree with emlx count in Finder
I was checking a recent backup and I noticed the number of .emlx messages in:
~/Library/Mail/[email protected]/INBOX.mbox/Messages
did not agree with the message count Mail (Version 2.1.1 (752.3)) gave in the title bar for the Inbox of that account. In fact, the number of files in:
~/Library/Mail/[email protected]/INBOX.mbox/Messages
was almost 1000 and the count given in Mail was about 175. Of course, this is not good. My immediate reaction was to rebuild that mailbox. I did so and now the numbers agreed, but there were 100 messages in that Inbox that were not there before (messages going back several months that had been filed away or deleted long ago). In addition, a number of messages that were read before, were now marked as unread.
Being rather worried about this (I heavily depend on Mail), I proceeded to check several other mailboxes and found that many of them had .emlx Finder numbers that did not agree with the count shown in Mail. Should all these mailboxes be rebuilt?
Finally, for several of my mailboxes, when I rebuild them, huge numbers of messages that were read before are then marked as unread. If I mark those messages as read and rebuild the mailbox, the same thing happens again -- they are unread. This doesn't sound normal either.
Can anyone give me some insight as to what is going on here with Mail and how to fix these issues?
Thank you.
2.16 GHz MacBook Pro Mac OS X (10.4.9) 2GB RAM, 7200 RPM HDAll I can tell you is that, rather than rebuilding each and every mailbox, you’d better re-create the entire index. That won’t fix the read/unread issue, though. Apparently, Mail sometimes fails to permanently store the read/unread status in the *.emlx file itself, and hence, that information is lost every time the mailbox is rebuilt or the index is re-created — don’t ask me why.
Verify/repair the startup disk (not just permissions) first, as described here:
The Repair functions of Disk Utility: what's it all about?
After having fixed all the filesystem issues, if any, and ensuring that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
1. Quit Mail if it’s running.
2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong, e.g. by dragging it to the Desktop while holding the Option (Alt) key down. This is where all your mail is locally stored.
3. Locate Envelope Index and move it to the Trash. If you see any other “Envelope Index”-named file there, delete it as well.
4. Open Mail. It will tell you that your mail needs to be “imported”. Click Continue and Mail will proceed to re-create Envelope Index — Mail says it’s “importing”, but it just re-creates the index if the mailboxes are already in Mail 2.x format.
Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library. -
I'm VERY happy with the results (fast!). However, the really strange thing is this - there is now a thin yellow line, way over on the right side of the screen, which goes from top to bottom, and stays there no matter where I go or what I do. I've never seen anything like this! It was not there before I did the upgrades. Anyone out there ever heard of such a preposterous thing ~ or have any ideas on how to get rid of it?
Hello Mark,
It's going to mean a lot of reading but you should study the 'More like this' legend to your post's immediate right. >>>>>>>> plus some of the links within each.
The problem is well explored with much guidance on what to do and where to go. -
Iam from Yemen we have CDMA carrier called Yemen mobile I bought an iPad from the US CDMA works with Verizon when I got to Yemen doesn't work with the carrier Yemen mobile and both carriers verizon and Yemen mobile work by the CDMA system don't know whey can anyone help me please..
A Verizon-model iPad can only work on CDMA with Verizon. You cannot use it with any other carrier. Apple, to my knowledge, has not released the iPad in Yemen, so there is no iPad you can use with any carrier there that works only on CDMA. You would need to find a GSM carrier and then get an unlocked GSM iPad.
Regards. -
Please Vote if you find this to be helpful!
App-V PowerShell: Script to Query XenApp Servers for App-V Publishing Errors and Output an Excel Document with the Results
Just posted this to the wiki:
http://social.technet.microsoft.com/wiki/contents/articles/25323.app-v-powershell-script-to-query-xenapp-servers-for-app-v-publishing-errors-and-output-an-excel-document-with-the-results.aspxHi petro_jemes,
Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
I hope this helps. -
Waves plugins doesn't work with the new Logic X?
All of my Waves plugins included in the Complete V9 bundle doesn't appear with the "upgrade" to Logic X. Even I re-installing the plugins Logic X seems to ignore them...
Someone with this problem? Anyway to solve that?AndersonPiah
For Waves v9 64bit version..
Did you also run the Waves AU Reg Utility 9.2 or later.. found in the applications/waves/waveshells folder?
If not, quit LPX and run the AU reg util.
Then, restart LPX and V9 should then be validated correctly and available in LPX via the Insert FX slots.
Waves V9 working fine here with LPX and 10.8.4
Salvarado,
As zbaig stated, you need to update to Waves v9 64bit... as v8 was 32bit only and is no longer supported within Logic Pro X -
When I search something Firefox automatically opens a new tab with the results of this search. How do I change the settings to where the results will appear in the same tab as where I conducted the search?
Whether to open search results in new window most often is a setting of the search engine you are using.
-
I want to buy new level from candy crush, but unfortunately apple required to accept terms and condition first before I can buy. But once I click yes no more option to click I agree with the condition. what should I do?
Perform a Reset... Try again...
Reset ( No Data will be Lost )
Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
http://support.apple.com/kb/ht1430 -
Oracle Linux 6.6 I tried to edit the /etc/resplv.conf file on nano, gedit and VI but the result doesn't appear on the file when I cat it
Hi ! do you mean the file /etc/resolv.conf ? This file should be by default in the /etc/ diretory and contains the dns-name resolutions. http://linux.die.net/man/5/resolv.conf http://www.tldp.org/LDP/nag/node84.html http://en.wikipedia.org/wiki/Resolv.conf
-
Filling a tree with the result of calls to a document/wrapped soap1.1 webservice
Hi,
I'm having trouble with filling a tree with the result to
calls to a document/wrapped soap 1.1 webservice.
I first declared the webservice in the mxml file as it was in
the examples and tried to call it with no luck. The fault was it
wasn't finding the document type for the call's unique parameter. I
figured out the solution to this, I added a method in the
webservice declaration having a single element named the same as
the required parameter, and inside it, the "actual" parameters,
bound to variables defined elsewhere.
The reason for wanting the tree to be filled programatically,
is the potential whole contents of the tree can be about 1.000.000
nodes. Huge.
quote:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" applicationComplete="initM()">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import mx.controls.treeClasses.TreeListData;
[Bindable] public var aParentId:String = null;
[Bindable] public var aLevel:Number = 0;
]]>
</mx:Script>
<mx:WebService id="lws" wsdl="
http://myServer/myContext/myPortURI?WSDL"
useProxy="false" makeObjectsBindable="true">
<mx:operation name="getNodes" resultFormat="object">
<mx:request>
<getNodesElement>
<parentId>{aParentId}</parentId>
<level>{aLevel}</level>
</getNodesElement>
</mx:request>
</mx:operation>
</mx:WebService>
<mx:Tree x="0" y="0" width="326" height="100%"
id="layoutTree" enabled="true" labelField="nodeName">
<mx:dataProvider>{lws.getNodes.lastResult}</mx:dataProvider>
</mx:Tree>
<mx:Script>
<![CDATA[
public function initM():void {
lws.getNodes.send();
return;
]]>
</mx:Script>
</mx:Application>
So, here's the problem:
1.- In both Java2 and .NET, I've been able to produce sets of
proxy classes from the webservice wsdl, these include a proxy class
for the service port and a set of classes for both the call
parameter types and the call result types. I have not found yet a
way to do the same with flex2, so I wonder, can I produce the
required classes for dealing with such a webservice in an automatic
way with flex2?
2.- The second problem, is I haven't found a way to make a
webservice call in sychronous mode, and I can't seem to find a way
to set the parameters for the subsequent calls to the webservice.
Is there a way to make a call to such webservice programatically? I
mean, I've been able to make the first call I need programatically,
but what if I end up making 2 or more simultaneous calls? I can't
rely on setting the `variables defined elsewhere` before each call,
because of possible concurrency issues (calls will be long after
the 2nd level of the tree), so I wonder if there's a way to make a
call to such webservice (document/wrapped, soap1.1) passing it the
parameters programatically. If so, can I just put the parameters or
do I have to produce the complete enclosure? If I have to produce
also the enclosure, any hint on how to do so? I will need to pass
different parentId, level pairs probably triggered by tree events.
3.- the other problem, finally, is Tree looks quite different
to me than the Java2 one. In java2, I can easily produce a changing
model for the tree wich will even handle the calls to the
webservice as needed (triggered by the tree itself), making it a
`live model`. If there is a way to produce the same behaviour in
flex2, I haven't found it yet. Sure, I've only downloaded the trial
version yesterday, so I may have overlooked some docs or blogs.
Any hints would be appreciated, specially on programatically
modifying the tree, and making calls to the webservice changing the
parameters every time.I would re-post to the Flex Data Services forum.
-
Does Adobe have a Home Use Program agreement with the U.S. Air Force so I can convert files from home?
This may be helpful: Spanish PDF to Word in English
-
Can't activate the location service on my ipad2 after upgrading to ISO7! What's wrong? Doesn't worked with the resets!!!! Can someone help please?
Hello I found my answer on Settings>>Restritions! :)
Thanks to me:)
Maybe you are looking for
-
Old style editor in new debugger?
I recently started working with an older system (older than I'm used to anyway) and I noticed that in the debugger the first two desktop tabs show the code in the old style (grey background and all black text) yet desktop 3 is in full color, as it sh
-
Why am I not able to get a break down of my off peak minutes for my calls made to Mexico?
I have the Nationwide Mexico Plan. I have unlimited nights and weekend calls for the United States and a 1000 minute limit for Mexico. I always check my minutes by *611, #646 or My Verizon. Why is there never an estimate of how many minutes I use cal
-
How to avaoid space while reading from flat file
Dear all I am using forms 10g. I am reading data from flat file using Text_io. In my exception part i have written like this EXCEPTION WHEN no_data_found THEN CLIENT_TEXT_IO.Fclose(in_file);But if in my last line from the flat file is some ot
-
I have a problem defining labour/foh item in bom I add labour item in BOM its valuation method is Standard. and for GL account determination I choose p&L a/c for stock account so that when the item is being issued it should hit the cost account inste
-
Hello Gurus I have a problem with partner function . how to create a sales manager ,Sale employee as a partner function . when am create a sale order . if am seeing the partner function tab header level. ple guide me the solution . thanks & regard