Undocumented functions in Zen X
While using my player, I have found some button shortcuts, which are not described in official manual. Here they are:
-Hold the "Back" button - The "Now playing" screen will appear
-Hold the "Back" button again - The "Selected music" screen will appear
-Press "Power" button once - the "Button lock" dialog will appear
Have you explored some other undocumented functions, button shortcuts or features? I'm very interested in it.
---> If U have protected file and you need to copy it to your PC's HDD promptly (quality may reduce)
You all now, that Creative created creative copy protection (wow... ;-) ). But there is still a world-aged analog hole in it.
Connect your player output jack with your soundcard's input(line in/aux) jack with a 3,5 minijack cable. Now you can record it with media source player, for example (record source - line in)
Good luck...
Similar Messages
-
Undocumented Functions in IPhoto
One thing I always liked about Macs was that you could always scan through the menus to find out all the functionality options. No more. I'm trying to learn how to use iPhoto, and at some point I managed to open a nice big window with all the keywords I was using. Now I can't figure out how to do that again - it's a secret that isn't revealed in the menus, in the preferences, on any button I've pressed.
Then I somehow shrank all my thumbnails down to microscopic size. How to undo that? Also a secret.
This reminds me of the bad old days when I had to use a Windows machine and memorize all these secret key combinations. (Oh, you don't know how to do XYZ? Just hold ctrl-alt-5-J-N! See how easy that is?)
Worse, it reminds me of why I hated Legend of Zelda and similar games. You have to stay up-to-date on the latest news. Jump three times on the eastern mushroom patch while squirting your magic garden hose to find the prize!
Screw all this hidden functionality! Am I missing something, or has there been a change in approach?twestgard:
Welcome to the Apple Discussions. Here's one of the undocumented tricks:
How to Change the Size of the Retouch and Red-Eye Removal Tool
Type Caps lockControl9
Undo caps lock
Click on Retouch tool
The tab key will toggle between cursor types, a cross or a circle
The "[" and "]" keys decrease or increase the size accordingly.
NOTE: Using the "{" "}" keys will will change the value next to the circle and that represents the degree of change or intensity that the tool imparts on each pass.
This makes both of the tools so much more powerful and controllable. -
--- **Petition for a better alarm functionality on Zen Micro/xtra/touc
Would anyone join me in thinking that the alarm function on the Zen Micro could be improved by being able to select; a playlist, particular song and an alarm volume?Message Edited by Jason57 on 03-27-2005 07:54 AM
Creative looks at these petitions, but don't integrate any into firmware
Signed, it would be cool if it ever happened. -
My music library is hiding(but still there) on my Zen 32
Hey. So for the past /2 of the year or so, I've found that my Zen was mysteriously becoming incompatible with a 3rd party app for last.fm. I never figured out why, and I assumed it was a fault in the app, since it had never been completed and was left in an "as is" state. Long story short, the app scans mp3 players and uploaded listening history to the site, and it seemed like everytime I added new music to my Zen, the old music stopped being scanned. Curious, huh
Well, today for the first time in... perhaps ever, I went to browse the media on my Zen for something else. Much to my surprise, almost all of my library is gone! But it's still on the player, because I listen to stuff that's not showing up in the media explorer all the time. So with my rudimentary knowledge of the way that operating systems interact with hard dri'ves, I imagine that there is something wrong with the way that my player scans its hard dri've. And I bet that every time my last.fm app failed me(thrice total; so far, twice in my ownership of the player, I've reformatted the player twice and reloaded everything in an attempt to fix this. I assume this behavior has been occuring virtually since I purchased it, but never noticed this specific problem). I also checked the player as viewed through MediaSource5 and WMP; both display the limited library. So it seems the majority of my library is hidden to everything but the player itself, which, to repeat, reads everything and plays everything just fine.
Fun (perhaps relevant) facts about my player:
- Firmware is up to date, and to my knowledge, always has been. I purchased the player last spring(after the most recent firmware was released), and I don't think I've ever had to update. I ran the MP3 player recovery tool last time I reformatted it, and I believe the firmware was replaced with the same copy at the time, anyway.
- All of the music is in the form of unprotected mp3's.
- Said mp3's are the only files on the player. No photos, videos, recordings, not even playlists(I just use albums as playlists, or I build them on the spot. The ease of this is one of my favorite aspects of the player, btw.)
-Said mp3's are organized thusly: Music->Artist(folder)->album(folder)->individual file. This has varied over my ownership of the player, and has always been dictated by the importing program I used.
- I do not use the SD card. Never inserted one into the slot.
- I have tried a number of methods of putting music onto the player. I believe I started with the sync app that comes bundled with the various software, but that kept crashing on me for large file loads, so I gave up with that. I also tried dragging and dropping music via the browse view in Zen Media Explorer, but to my dismay, about half of my album artwork didn't copy over for no apparent reason. My method of choice now is to use the "Add Media" import function in Zen Media Explorer, which I believe works like a charm. Except that it still inflicts the crippling blow that brings me here now.
- If I try to delete anything from the browse view in Zen Media Explorer, the player itself will freeze and do nothing. I then need to reset it via paperclip or staple. Deleting needs to be done from inside the player, or by reformatting the entire thing.
- The first time I reformatted the player, I had uploaded an image to the player and set it as the background. When the player finished reformatting itself, the file was gone, but the background remained the same. My thought at the time was "neat". My thought just now was "oh crap when I did that did I somehow put the image into a hidden directory that all my music is following into ". But my thought just just now was that this problem must have been happening before that first reformat, so that can't be the orign. But it's certainly a good example of the same behavior.
- In its current state, I believe that the oldest visable file on the player was created on Sept. 5. I estimate that this album has "survi'ved" about a dozen upload sessions between then and now, maybe more. I do not think that anything uploaded between then and now has vanished, but I have no way of confirming this.
Finally, here is my own observational evaluation of what's going on thus far:
- The last.fm app is, to my knowledge, entirely read-only, so I don't think it can be at fault. When the app works, it works without a problem for weeks at a time. Plus, I don't think anyone using it with this player has reported anything remotely like this, so I've ruled that out as a source of problems.
- Even though I have not observed it, I believe that everything that vanishes does so all at once. When the last.fm app fails, it recognizes -only- things that were very recently uploaded to the player. So it's not like there's a constant sliding scale of things going in and going out, it's more like a pile is stacked very high and collapses with the slightest input.
- This behavior seems to be tied to a maximum of three factors: Time elapsed, Disk space used on player, and new uploads. Uploading music seems to be a definite trigger. Based on the last time I wiped the player and reloaded everything, I am willing to rule out time as a factor. I think that everything lasted about two weeks before this started again(I gave up on the last.fm plugin at that point). If that was going to be the cause somehow, I should be able to observe the behavior as an ongoing thing(refuted by the Sept 5 bit above). I am left assuming that the player just can't handle large loads when it does its "consolidating library" thing after uploading music, because that seems to be the only relevant factor here. By my own estimate, the last time music disappeared, it was probably around 3300 files composing 7-9 gigs.
If anyone has any ideas about this concerning this specific behavior, this specific player, or OS<->HDD interaction in general, I am all ears. I will probably file this with creative in the event that nobody has any ideas. And I'm sort of at the end of my rope here because it seems to be a systemic problem, as it has persisted across me reformatting the player twice and flashing the firmware at least once.
Message Edited by Joeisme on 09-30-2008 09:3 PMIt will only be where you put it.
It has always been very basic to always maintain a backup copy of your computer for just such an occasion. Use your backup copy to put everything back.
If for some reason you have failed to backup ( not good), then you can transfer itunes purchases from an ipod. File>Transfer Purchases. -
Compiling WM_CONCAT function in Oracle database
There is something that I wanted to know about Wm_concat. I read it one of the posts across the forum, that wm_concat, being a non-documented function, isn't installed in a particular database and user can possibly install it later(wm_concat fucntion not wrking in 11g...
I came across another post that had some source code for doing the same(wm_concat fucntion not wrking in 11g...
code:
SQL> CREATE OR REPLACE
type WM_CONCAT_IMPL wrapped
a000000
1
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
d
270 160
bg9hz+fBwa888VEZGViHFs/oOP0wg433f64df3QCWE7VehmhTFcUe3y+JrsniV3cSuvmnE3g
Y93dtR+cCsU1N+UQDGbtzhCf2HIdr8lPzfgF2bmCTvmGlHQbTAjTftNrDq3p093ncwb32OyX
3ZFDTeH2jpjm3uWYyT8kZBfJIYxRwgLfRApoW32cpy0eRnvDBt2XfTAMXKCSNnqSoTiGA83W
6deKW+rWyBu9L/EPyFkmQZeBncNsiNDF8fa1Sm6vdQiEanlCQnaPJ11a0na8hK6psDSaey+x
fdMupCwSvg6gMrSV4QCguhOCqW2AmxRVMqpXJootPpTBxBFZc7hORGbriUI=
Type created.
SQL> CREATE OR REPLACE function wm_concat wrapped
a000000
1
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
8
58 96
CuW1MAfZPVR6NOnXKVmXY2o9pswg8eZgcfLCNLXhZy8K7/cgzcVrPnfMPnx3TAM7h0ZSXD
j57Asr2ym9ZtFldFmFu+RdpAU8VGORKSvtVG+DmAOR4C+NTa+Pit2kDbEpI5zhZUgqameSkE
DQ==
Function created.
I wanted to know, if this solution of compiling the above code works well. Also, iis wm_concat not supported in 11g?WM_CONCAT is still an undocumented function and shouldn't be used. If you're on 11g then you can use the new (and supported) LISTAGG function which works better anyway.
DO NOT USE undocumented functionality, even if you've obtained the wrapped source code for it (how do you know that's not some fake code someone's wrapped that could cause malicious damage?)
Even Tom Kyte tells you not to use undocumented functions such as WM_CONCAT
Re: DISTINCT not working with wmsys.wm_concat -
Hi,
Do we have a function in Oracle10G to check in stored procedure the input we send is a palindrome or not..
say eg.. Malayalam is a Palindrome
Thanks,
Dinesh JaganathanTom Kyte:
"Note REVERSE is an undocumented function and, as such, should be used
carefully. I do not recommend using REVERSE in real code, as its undocumented
nature implies that it is not supported."
in the link -
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:2424495760219
which make us use the utl_raw api:
create or replace function f_is_palindrome(p_str varchar2) return number is
begin
return
case
when upper(p_str) = UTL_RAW.cast_to_varchar2( UTL_RAW.REVERSE ( UTL_RAW.cast_to_raw(upper(p_str)))) then
1
else
0
end;
end f_is_palindrome;
SQL> select f_is_palindrome('Malayalam') from dual;
F_IS_PALINDROME('MALAYALAM')
1
SQL> select f_is_palindrome('Hello') from dual;
F_IS_PALINDROME('HELLO')
0Amiel
Message was edited by:
Amiel D. -
TDMS functions much slower in CVI 2010
Hello everyone.
Today I noticed that at least some TDMS functions are much slower in CVI 2010 compared to CVI 2009 SP1 and prior. I have created and attached a simple sample project that creates a TDMS file with about 3000 file level properties and tries to read it back in afterwards. On all releases prior to 2010, this needs less than 10 seconds. On 2010 it's around an hour, if not more! Unfortunateky this is pretty much a show-stopper for me. Any comments?
Thanks, Marcel
Attachments:
tdmsTimingTest.zip 3 KBHello Marcel -
What you've reported is actually a known issue, and is unfortunately considered to be expected behavior. Let me try to explain:
There was a relatively large refactoring of the underlying TDMS code in LabWindows/CVI 2010. This refactoring was intended to more closely align our internal implementation to that of LabVIEW. As a result of this refactoring, we were able to address some internal issues we had previously been unable to address, as well as more correctly handle the data stored in the TDMS file. Unfortunately, this refactoring unmasked a performance issue that had always been present when reading a large number of properties one at a time.
This performance issue was not uncovered for LabWindows/CVI 2010 because we had previously focused our performance testing on reading and writing data to a file, not metadata. We considered it unlikely that a customer would have more than dozens of properties for any one channel or group or file, and as a result, the performance issues you've reported were overlooked.
However, we did recently find the performance issues you've reported. As a result, there will be a handful of undocumented functions for returning all (or a subset of) properties on a channel, group, or file in LabWindows/CVI 2010 SP1. This will allow for performance in line with what you'd seen in LabWindows/CVI 2009 SP1 and earlier, as long as you are OK with grabbing all the properties at once. These functions are undocumented because, in general, we don't release new features with service packs. Also, the functions are a little more difficult to use than normal CVI APIs, so we have not yet determined how or when they will be publicly documented. When LabWindows/CVI 2010 SP1 releases (later this summer), feel free to reply back to this post or send me a private message, and I'll work with you on the details of calling these undocumented functions.
Out of curiosity, we'd like to know your use case for creating that many properties. You're the first customer we've encountered using such a large number of properties, and we'd like to ensure that we are able to satisfy your use case in future versions of the API.
Thanks for the report, and I'm sorry for any inconvenience this has caused,
NickB
National Instruments -
Lower sound Zen Vision Plus than Zen Micro Pho
Hello! I have had Zen Micro/Zen Micro Photo in -2 years, before I this year switched to some Asono player, but the sound was low on that, and I wanted to go back to Creative for it's quality and sound.So I bought the new small Zen Vision Plus, very satisfied with video & other cool new functions! And to secure me a good sound, I bought big Creative headphones for 400 NOK, and they are very good with good sound and base(bass).But whenever I used the MP3 player, the sound dissapointed me, I also tried with the default earphones which followed, and the sound is still not as high as on Creative Zen Micro/Photo.My friend has Creative Zen Micro the old one, and we started the same song at the same time on both our players, and tried with the default headphones and the new headphones which I bought. And belei've you me the sound on his MP3 (Zen Micro) was much louder then on mine. So it is dissapointing to see that I am stuck with this MP3 with lower sound. I love the design & functions on Zen V Plus, and love the sound on Zen Micro. So I don't want to go back to Zen Micro. Is there some way to fix this? Some sort of upgrade? Or has it something to do that the MP3 in USA has lower sound and MP3 in Europe has higher, or the other way around? How do I check where my MP3 is from?I hope someone here has tips & tricks or solution to this problem, very annoying that my MP3 is "almost perfect"! I got to go play tennis now, waiting for a positi've reply, thanks a lot guys! Every single post is helpfull, thanks again!
well man all i can say is...bigger isnt always better. I have a Zen Micro Photo, its about a year old, i just have regular good ol target special headphones and its loud enough to blow an ear drum. Sometimes if i dont feel like?wearing headphones, i just turn it all the way up and set the headphones on my desk or something. sooooooooooooooooo i would just stick to the stuff you know is good...plus the micro photo is BAMF
-
Hey There !!
Here is a query that I execute and get the following output:
select reverse('RAJU') from dual;
UJAR
I have defined no Function by this name. This means, REVERSE is an Oracle function to reverse the string. However, I guess, this is not a SQL function. Can anyone tell me what is the source for this function.
I sincerely appreciate your help.
Thanks,Hallo,
i found following by asktom:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:2424495760219
"Note REVERSE is an undocumented function and, as such, should be used
carefully. I do not recommend using REVERSE in real code, as its undocumented
nature implies that it is not supported."
Regards
Dmytro -
I'm new to APEX and finding that some functions aren't documented, such as wwv_flow_custom_auth_std.logout (used for the logout URL) and the JavaScript popUp2 function (just to name a couple that I've run across in my learning).
Reading other forum posts has convinced me that the wwv_flow functions should not be used directly and that documented API functions should be used instead. So for example, APEX_CUSTOM_AUTH.LOGOUT should be used instead of wwv_flow_custom_auth_std.logout.
APEX API - http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/toc.htm
So my question is, why is the JavaScript popUp2 function not listed in the JavaScript API and how many other functions aren't documented? Do I need to spend time looking through source files such as apex_3_1.js?Thanks for the thorough explanation. So the APEX API and APEX JavaScript API really do contain all of the functions that developers like myself should be using (I wasn't missing anything). And even though I see undocumented functions referenced in the APEX generated code, APEX JavaScript files, APEX PL/SQL, APEX books, and this forum, I'm advised not to use these functions in my own code since these functions are internal to APEX and may not be supported in future releases of APEX.
Thanks again. -
Can someone explain/comment upon the "verification" function of Time Machine
Last night Time Machine presented me with a dialogue box--really a monologue box--informing me that I needed to "verify" my TM backup. Having spent a good bit of the afternoon on a crowded freeway coming back from Los Angeles, I was tired and foolishly said 'OK' rather than postponing the process until my head was clearer. After the 'OK' it proceeded to create a totally new backup of the HD on my iMac, a process requiring about 5 hours. Furthermore, all the previous backup files have vanished into the electronic ether. So, have I been screwed over by some trojan horse, or this an actual (but undocumented) function of TM and Time Capsule? There does seem to be a legtimate backup file, dated yesterday, but nothing from the preceeding three months.
The error is due to the corruption of the existing backup.. a new backup was therefore required.. you have now gone too far to go back.. but even if you had tried the chances are the old backup was too corrupted to produce much that was useful or could be restored.
Check Pondini for the fault which is common.. especially if people do backups over wireless.
See C13 here. http://pondini.org/TM/Troubleshooting.html
Time Machine presented me with a dialogue box--really a monologue box--
You press its buttons.. that is sort of a dialogue.. -
Zen Stone Plus Speaker. Browse music without starting the first song in the next fold
Hi everyone,
I'm not sure what I want is possible.
I've had this player for about a?week now and I believe I could browse to the folders while listening to a song. For some reason when I do that now the player?start playing the first song of every folder when I browse through it.
I'm starting to doubt if I remember it right that it was possible to browse through while listening to a song before?
I tried playing with the setting and even did the recovery tool thing to put the player back at the setting it came with. But it didn't work.
Anyone know if this is posible, and how?
Thanks.Tag support: the ability to select music by album/artist/track instead of folders
Display always on option - i know its to help save battery life but sometimes it would be helpful if the display stayed on
Display artist and song name, inst4ead of just the song name/file name
Alarm clock function: my Zen stone plus has a speaker, and a clock function. My Zen Xtra has a clock and an alarm clock function but no speaker other than headphones (if any are plugged in) for the alarm to sond through, the same is true with my visio:M? the Zen Stone plusw/speaker has a clock but no alarm, and if anything it would make a fantastic little alarm clock with a 'sound' to music or wsound to beep? function. -
I have a Zen Stone Plus 4GB and I think it's a really nice and sexy device, but is lacking a bit on the software side. With just a few small firmware modifications, I think Creative could make it a much greater player.
I'm starting a wishlist for a future firmware. The list is sorted by priority, with the (imo) most important item on top. If you have any additions, please post them and I'll include them into the list.
I hope Creative's developers will have a look at this list and implement these suggestions!
Improve music browser speed
Problem: Browsing through the folders feels very slow, and often it even misses button presses so I have to press left or right twice to go to the previous / next item. This is most likely because the player starts playing the first track in the folder automatically, which slows down the user interface.
Suggested solution: I suggest the ability to turn off auto-play in the file browser.
Avoid embarrassing situations
Problem: Usually I turn on the player before plugging in the headphones. The player realizes that the headphones aren't yet plugged in and plays back music over the speaker, which isn't desirable when I'm in a lecture that isn't over yet.
Suggested solution: Make auto-play on turn-on an option or add an option to not enable the speaker when the headphones aren't plugged in.
Quick Hold
Problem: I want to put the player into my pocket and want to quickly turn on the hold feature. For this, I need to press: Menu, Right, Right, Right, Right, Right, Right, Right, Menu.
Suggested solution: Add "enable lock" as an option for the "My Shortcut" button.
Quicker turn on
Problem: When I turn on the player, I have to hold down the menu button for 4 - 0 seconds (it seems to be random) before the display even lights up.
Suggested solution: Make it turn on after one second.
Pocket usability
Problem: I'm listening to music with the player in my pocket. I want to skip forward to the next track. I press the forward button, but nothing happens the first time, because the first button press disables the screensaver. I press it again and it skips to the next track.
Suggested solution: Make it skip to the next track when the forward button is pressed the first time.Tag support: the ability to select music by album/artist/track instead of folders
Display always on option - i know its to help save battery life but sometimes it would be helpful if the display stayed on
Display artist and song name, inst4ead of just the song name/file name
Alarm clock function: my Zen stone plus has a speaker, and a clock function. My Zen Xtra has a clock and an alarm clock function but no speaker other than headphones (if any are plugged in) for the alarm to sond through, the same is true with my visio:M? the Zen Stone plusw/speaker has a clock but no alarm, and if anything it would make a fantastic little alarm clock with a 'sound' to music or wsound to beep? function. -
Passing one row of a query to a function
I want to pass a query into a function one row at a time in
the same way you could pass an array to a function one row at a
time. I've read that queries are just CF structures under the hood
so I believe it should be possible. I just don't know the syntax to
reference a single query row (and all it's variables).
I don't want to pass the whole query to the variable because
I would like to do the looping outside the function. The idea is to
simplify and standardize the formatting and arrangement of several
variables (columns) in a UDF and keep the syntax to use the
function simple. Therefore, I'd like to avoid having to do stuff
like convert the query to an array. That would defeat the goal of
keeping it simple.
Thanks
Magnus> myQuery.getRow(), but
> using undocumented functions make me nervous.
I absolutely agree, as a standard "caveat emptor" sort of
thing. Which is
a shame because there's a wealth of functionality "under the
hood" which is
far more useful than the "official" approach to things.
To be honest, I treat the whole "that stuff is 'not
supported'" and "it
could change in future versions" thing with a liberal amount
of salt.
1) I didn't find the support from Macromedia very accessible
in the first
place, and have no reason to think it will be any different
with Adobe.
Other than in emergencies (that'd be once, in eight years), I
have never
used official support;
2) I've been watching a lot of the "undocumented" stuff for a
few versions
(like since 6.1), and it all still works;
3) I've had more problem with "fixes" to CFML issues breaking
workarounds
of the same than I have with using undocumented code.
Obviously that's
because I have 1000 lines of "normal" code to every line of
"undocumented"
code I use, but still.
Basically when one changes version of software, there's a
chance your code
will stop working. It doesn't seem any more risky to me to
use
undocumented features than documented ones.
Food for thought, if nothing else.
Adam -
Problem with my aggregate function
Hello there,
I tried to build my own string aggregate function but I've a troubles when I'm using it into my query. When I'm using it, it writes ORA904, whereas this idenfifier exists. Do you know what's wrong ?
here my aggregate function :
create or replace FUNCTION aggme (query_in in VARCHAR2) RETURN VARCHAR2 IS
incoming varchar2(4000);
hold_result varchar2(4000);
c sys_refcursor;
Begin
open c for query_in;
loop
fetch c into incoming;
exit when c%notfound;
hold_result := hold_result||','||incoming;
end loop;
return ltrim(hold_result,',');
END;and here my query by using my aggregate function aggme:
select
RES.LASTNAME as "LASTNAME",
RES.FIRSTNAME as "FIRSTNAME",
aggme('select NAME from PATHOLOGY where ID= RES.PATHOLOGY_ID') as "PATHOLOGY"
from
TBK_RESOURCE RESMustafa KALAYCI wrote:
I think you wanted to do this:
select
RES.LASTNAME as "LASTNAME",
RES.FIRSTNAME as "FIRSTNAME",
aggme('select NAME from PATHOLOGY where ID=' || RES.PATHOLOGY_ID) as "PATHOLOGY"
from
TBK_RESOURCE RESby the way this is a very very bad idea doing like that. you should look for WM_CONCAT (for db version 11.1 or lower)No. Nobody should use WM_CONCAT. It's an undocumented function that is not supported by Oracle and may be changed in future versions without notice.
All Oracle experts say not to use it, including Tom Kyte... Re: DISTINCT not working with wmsys.wm_concat
Below 11gR2, you should use SYS_CONNECT_BY_PATH, or a user defined function, including user defined aggregate functions such as the following example, which aggregates strings into a clob as a result...
create or replace type clobagg_type as object
text clob,
static function ODCIAggregateInitialize(sctx in out clobagg_type) return number,
member function ODCIAggregateIterate(self in out clobagg_type, value in clob) return number,
member function ODCIAggregateTerminate(self in clobagg_type, returnvalue out clob, flags in number) return number,
member function ODCIAggregateMerge(self in out clobagg_type, ctx2 in clobagg_type) return number
create or replace type body clobagg_type is
static function ODCIAggregateInitialize(sctx in out clobagg_type) return number is
begin
sctx := clobagg_type(null) ;
return ODCIConst.Success ;
end;
member function ODCIAggregateIterate(self in out clobagg_type, value in clob) return number is
begin
self.text := self.text || value ;
return ODCIConst.Success;
end;
member function ODCIAggregateTerminate(self in clobagg_type, returnvalue out clob, flags in number) return number is
begin
returnValue := self.text;
return ODCIConst.Success;
end;
member function ODCIAggregateMerge(self in out clobagg_type, ctx2 in clobagg_type) return number is
begin
self.text := self.text || ctx2.text;
return ODCIConst.Success;
end;
end;
create or replace function clobagg(input clob) return clob
deterministic
parallel_enable
aggregate using clobagg_type;
SQL> select trim(',' from clobagg(ename||',')) as enames from emp;
ENAMES
SMITH,ALLEN,WARD,JONES,MARTIN,BLAKE,CLARK,SCOTT,KING,TURNER,ADAMS,JAMES,FORD,MILLER
SQL> ed
Wrote file afiedt.buf
1 with t as
2 (select 'PFL' c1, 0 c2,110 c3 from dual union all
3 select 'LHL', 0 ,111 from dual union all
4 select 'PHL', 1, 111 from dual union all
5 select 'CHL', 2, 111 from dual union all
6 select 'DHL', 0, 112 from dual union all
7 select 'VHL', 1, 112 from dual union all
8 select 'CPHL', 0, 114 from dual union all
9 select 'WDCL', 1, 114 from dual union all
10 select 'AHL' ,2 ,114 from dual union all
11 select 'NFDL', 3, 114 from dual)
12 --
13 -- end of test data
14 --
15 select trim(clobagg(c1||' ')) as c1, c3
16 from (select * from t order by c3, c2)
17 group by c3
18* order by c3
SQL> /
C1 C3
PFL 110
LHL CHL PHL 111
DHL VHL 112
CPHL AHL NFDL WDCL 114
Maybe you are looking for
-
I can no longer sign or add text to documents that I was able to with past versions of adobe
I am using the same documents I always have. they have blue fillable sections that work still, but blank lines at the bottom to add text such as date, name and a signature. I cannot add that info anymore. I have tried reinstalling and repairing the n
-
List of programs for PO creation
Hi, Can any one please help me? This is urgent. ME21,ME59N,MRP Creates Pos. What are all the program names that creates PO? I want to know the programs or function names that really do Gross weight calculation on POs. I am not a technical person. So
-
Hi Experts, I've created RFC function module that make use of CALL TRANSACTION code. This function module is being called in CRM system. However I encountered a short dump CALL_FUNCTION_RECEIVE_ERROR. Kindly help to determine if CALL TRANSACTION code
-
How to create system message in SAP EP?
Dear All, How to create system message in SAP EP? i need to find solution for this task. Is there any way without collaboration? For example in SLD there is "System message" without additional functions. Please help. Portal installed on Netweaver 7.0
-
Authentication on OnDemand for WebServices
Hi, We are developing an interface from Siebel to CRM On Demand. We imported the Account WSDL into Siebel. I do not see any login method in the WSDL. So when sending XML from Siebel to On Demand, how do I send the authentication? Will it be as part o