Searching for Particular Data

What is the best way to search for a particular character, such as "*" that occurs more than once in a data stream in the same column. For example, if the column looks like this: * This is the comment 1. * This is comment 2. * This is comment 3.
How do I code this to search for the "*" in comment 3, and bypass the first 2 "*" ? Hope this makes sense.
Appreciate any ideas.

SQL> create table t (c varchar2(70));
Table created.
SQL> insert into t values ('1 * THIS IS COMMENT 1. * THIS IS COMMENT 2. * THIS IS COMMENT 3.');
1 row created.
SQL> insert into t values ('2 * THIS IS COMMENT 1.');
1 row created.
SQL> insert into t values ('3 * THIS IS COMMENT 1. * THIS IS COMMENT 2.');
1 row created.
SQL> insert into t values ('4 THIS RECORD HAS NO COMMENT.');
1 row created.
SQL> select c, substr(c,decode(instr(c,'*',-1),0,null,instr(c,'*',-1))) last_comment from t;
C                                                                      LAST_COMMENT
1 * THIS IS COMMENT 1. * THIS IS COMMENT 2. * THIS IS COMMENT 3.       * THIS IS COMMENT 3.
2 * THIS IS COMMENT 1.                                                 * THIS IS COMMENT 1.
3 * THIS IS COMMENT 1. * THIS IS COMMENT 2.                            * THIS IS COMMENT 2.
4 THIS RECORD HAS NO COMMENT.
SQL>INSTR documentation
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions55a.htm#77600

Similar Messages

  • "Searching for movie data... Without this file the movie cannot play..."

    I have been deleting old projects from my hard drive (macbook pro) and my external hard drive.
    Now, when I go into iMovie '09 to work on another project, the following warnings keep popping up on the screen:
    "Searching for movie data"
    and
    "Without this file, the movie cannot play properly."
    I click "cancel" but they keep popping up, prohibiting me from doing anything else in imovie.
    If anybody has a clue how I can get rid of these warnings, it would be greatly appreciated.
    Thanks in advance.
    Hank

    Ive been getting the same crap. Ive since deleted all of my imovie projects. It seems to have the problem when I am trying to pull up the videos in the iPhoto library. My particular file it is getting hung up on was used once in Sound Track Pro, but is not there anymore. Not sure if that rings a bell with you at all.

  • Searching for movie data in file "******.mov"

    The last couple of weeks I've been getting dailog boxes that freeze up Keynote with the following message:
    Searching for movie data in file "******.mov"
    It runs through all the different MOV or MP4 video files I have in that particular Keynote and doesn't allow me to do anything but wait. I've tried moving the file to another HD but this didnt't change anything. Also changing the save settings didn't help.
    It happens a couple of times an hour and is getting annoying. Anyone have any clue how to solve this?

    I am also seeing this bug and often work on 400mb+ presentations that use larger screen sizes and have lots of video assets for work.   On large files I find that autosave is not ideal, and would also like a way to turn it off. The computer that was seeing the issue was running 10.7.5.  It was just updated to 10.8.2 so I am keeping my fingers crossed that it works better now.  Time will tell.
    I also really hope that Apple gives us a real refresh on Keynote on the Mac.  As old as it is, it still ahead of Powerpoint.  But it wont stay that way forever standing still and nobody else has a better alternative that is as fast and flexible to work with.  They are squandering somthing special by letting it gather dust.

  • "Searching for movie data in file [filename]" and iDVD hangs.

    I have a project I saved and I want to open and make a change to. iDVD loads the project and displays the title. When I click to edit one of the scene selection menus, it goes off "searching for movie data" and hangs until I kill it.
    Anyone have any ideas how to fix this? I really don't want to have to re-do my project.
    Thanks!
    Scott

    This frequently helps solve some problems. Quit iDVD. Search for the file named com.apple.iDVD.plist and trash it. (A new one will be created next launch of iDVD.) Or look in: User/Library/Preferences. This may solve project loading errors too. Restart and use Disk Utility to Repair Permissions.
    You'll need to reset some Preferences.

  • Can't open MOV files in FCP: "Searching for movie data in file..."

    I know this has been posted before, but none of them seem to match up to what I'm all of a sudden dealing with. I have 4 MOV files that I'm converting to WMV. Movie 1 & 2 exported fine. Now, however, any time I try to open another MOV file, I get an error that it's "Searching for movie data in file..." and the file name is ALWAYS the same. The weird thing is, the file it's looking for is none of the 4 movies I'm working with. So how did the first two work and this pop out of nowhere??
    I have cleared out the render cache. Dumped all the cache and prefs files I can find, etc. Restarted the machine. Started FCP with the Option key held down.
    I've searched everywhere, but people usually seem to come across this error while opening FCP (I'm running 6.0.6). This only happens when I open a MOV file (oddly, I can open WMV files in FCP without issue).
    HELP!

    So, I open the movies in QT and the EXACT same thing is happening. So it appears the guy who created the videos did something when he was making them (probably made a reference files along the way). I'm having him re-export the MOV files.
    So, it's not a FCP issue.....

  • Simple Question: How to search for a date value in SELECT

    Probabily a simple question, but in a SELECT statement, how do you do a search for a date value in the WHERE clause?
    example:
    Select * From Example
    Where date = 01/01/2001
    I know its not as simple as that, but what change has to occur to make it do what that example implies?
    Thanks In Advance.

    If you want to avoid the conversion part(to_date) you will need to specify the date in the format as ur nls date format.so the same query might not work if you change ur nls date format.
    so it is advisable to give it in general format.
    ie where date_col=to_date(01-01-2000,'dd-mm-yyyy')

  • SAP workload monitor is not showing for particular date in Total Option

    Hi,
    In t. code ST03N (Work Load Monitor) data is not showing in option total for particular date but it is showing in all the instances.
    Please support
    Regards
    Ganesh Tiwari

    Hi Mamtha
    Does the same navigation work directly in the backedn? In RSRT?
    Pls try that, will halp narrow down your problem. WHether it is a data issue, whetehr it is a BW issue or whether it is a display issue.
    Regards
    Rajesh

  • Steady Stream of "Searching for movie data in the file..." Error Messages

    My iMovie has been crippled by error messages that pop up whenever I try to accomplish anything in iMovie. I always see "Searching for movie data in the file 'healyintro.mov'" for a few minutes, then "The movie file 'healyintro.mov' cannot be found. Without this file, the movie cannot play properly." I cannot actually use iMovie because of these errors.
    I've tried everything from reinstalling iMovie to removing application support files to removing my iMovie Events and iMovie Projects folders to creating a .mov file, calling it healyintro.mov and seeing if that'll shut iMovie up – nothing works.
    Once in a while, iMovie will ask for a different movie file, with the same problem.
    Any ideas?

    I am having the same issue. I don't know what the previous poster means by allowing the system to continue, since I'm prompted with a "Cancel" / "Search" dialog after each missing clip. Slight digression: "Search" is not even the correct term here according to UI guidelines ("Choose" or "Locate" might be better choices given the file picker dialog that results).
    I'm actually using Aperture to relocate my video masters on removable media, which is a very nice feature of Aperture, but completely breaks iMovie unless it's connected. Seems like a pretty major oversight.... can we just have it fail more gracefully here and allow us to work with new stuff without getting hung up on missing movie clips from the past?

  • "searching for movie data"

    I'm having a difficult time. I upgraded to iLife 08. Then I read all this stuff about Final Cut Express having a similar interface to iMovie so I bought it. I don't like either one compared to iMovie HD 06, which I still have. When I launch 08 it starts "searching for movie data" in each clip. When I got to the external HD and look in the folder the files are listed in order as Clip 1.dv but the folder icon is a blank page with a bent corner. I have no idea what I have done or how to make it right? ps I have 318 clips in this folder.
    Message was edited by: Mark Johnson7

    I guess what I want is to be able to use the same video in each of the apps.
    Since iMovie '06 employs destructive editing, I would leave the original files alone in the project package. Options for moving data from iMovie '06 to '08 depends on what you want to do. Basically you have three options:
    1) You can use the "built in" iMovie '08 copy your current iMovie '06 source files to iMovie '08. Then generally means you lose the edits already performed.
    2) You can manually copy source files, transition clips, title clips, special effect clips, etc. from your iMovie '06 project package to a "visible" area on a hard drive and then import them to iMovie '08 and manually put the individual clips back together in their proper order as you may desire to retain them but won't be able to modify transitions, special effects, or titles you keep.
    3) You can copy the current status of you iMovie '06 timeline to a "visible" hard drive location and then import it as a single clip into iMovie '08 for further editing. You will not, however, be able to change your previous transitions, titles, or special effects except by cutting them out.
    Once the file(s) is(are) in in Imovie '08, you have the option of either physically copying the same data again to FCE or simply export an XML file which FCE can open. Unfortunately, iMovie v7.1 now exports an XML that can still be opened in FCE v3.5 but then you will have to reset pointers to re-link to the source media. (FCE v4 seems to accept them properly.) Since both iMovie '08 and FCE were designed to edit in a non-destructive manner, theoretically you shouldn't have to physically copy media unless you want to do so. Moving or deleting files at the Finder level could, however, cause problems with either or both applications. Each can be used independently using the same source files or you can XML updates from iMovie '08 to FCE any time you wish.
    Must say however, that such a multi-pronged approach could easily lead to problems and while I might move between any of these applications, I would not choose to edit in all three at the same time.
    I don't think I fully understand what happens to the files in each when I start messing with them.
    Files imported to iMovie '06 are normally stored as DV compressed files along with transition/title/special effect clips in the iMovie '06 "Project" package file in the "Media" folder and your current "timeline" can be found in the "project" package in the "Shared Movies > iDVD" folder in the form of an MOV "reference" file.
    Source video files for iMovie '08 are stored in their "native" imported format in the appropriate "iMovie Events" folder within the respective "events" while other media directly moved to projects are stored in the "iMovie Projects" in their respective "project" packages.
    FCE storage in the "FCE Documents" folder depends on the your method of importing/transferrring data to the application.

  • "Searching for movie data" message locking up keynote

    Using Keynote '09 on a Macbook Pro. Importing keynote files from a shared server. Files contain embedded video.
    Never had issues with previous versions of Keynote on same machine. Now, after opening the files, they lock up and a message pop-up says "Searching for movie data in file "filename.mov""
    Does anyone know why this happens? Is there a preferences option that can diasable it? It happens every time I open the file, even after I have let the file previously run its course, which can take over an hour.
    Killing my productivity. HELP!!

    I am also seeing this bug and often work on 400mb+ presentations that use larger screen sizes and have lots of video assets for work.   On large files I find that autosave is not ideal, and would also like a way to turn it off. The computer that was seeing the issue was running 10.7.5.  It was just updated to 10.8.2 so I am keeping my fingers crossed that it works better now.  Time will tell.
    I also really hope that Apple gives us a real refresh on Keynote on the Mac.  As old as it is, it still ahead of Powerpoint.  But it wont stay that way forever standing still and nobody else has a better alternative that is as fast and flexible to work with.  They are squandering somthing special by letting it gather dust.

  • IMovie error 'searching for movie data in file "IMG_4365.MOV"'?

    my iMovie goes into a loop at startup with the message "searching for movie data in file IMG_4365.MOV"?
    I'm on iMovie 09 (version 8.0.6) and it's driving me mad. Help!

    I am also seeing this bug and often work on 400mb+ presentations that use larger screen sizes and have lots of video assets for work.   On large files I find that autosave is not ideal, and would also like a way to turn it off. The computer that was seeing the issue was running 10.7.5.  It was just updated to 10.8.2 so I am keeping my fingers crossed that it works better now.  Time will tell.
    I also really hope that Apple gives us a real refresh on Keynote on the Mac.  As old as it is, it still ahead of Powerpoint.  But it wont stay that way forever standing still and nobody else has a better alternative that is as fast and flexible to work with.  They are squandering somthing special by letting it gather dust.

  • Searching for movie data in file Name-FIN-00000001

    While starting up FCP (6.0.6) gives an error message "Searching for movie data in file Name-FIN-00000001".
    After 10 to 20 min FCP will start up.
    How do I get rid of this annoying error message when starting up?
    Thanks W.

    As Jim says, this is a render file. However, simply rendering it won't fix this. What is causing this error is a QT reference movie in the project. When you export a QT movie, and make don't make it self contained, it is a reference movie that references media files and render files. When a render file is deleted (FCP does this automatically when the render file is no longer needed) then the refrerence movie can no longer function... one file it references is gone. Simply re-rendering won't fix it, because it is referencing that SPECIFIC render file.
    You need to find and delete the QT Reference movie from your project.
    Shane

  • Searching for movie data in file

    Does anyone know how to fix the problem of the "Searching for movie data in file" interruption and annoyance?  I can not access my movies to edit - or do anything for that matter - because this thing keeps popping up.  Any help would be GREATLY appreciated! 
    Thanks!

    Hi
    Did You move or alter any folder named
    • iMovie Event's - or -
    • iMovie Project's
    Don't - If done try movien all back excatly.
    Moving Event's and Projects must
    • be done within the iMovie Application
    • to a Mac OS Extended (hfs) formatted external/secondary Hard Disk
    (Never to - NetWork Storage or UNIX/DOS/FAT32/Mac OS Exchange formatted devices)
    Free Space on Start-Up (Mac OS) Hard Disk. How Much ?
    Yours Bengt W

  • Searching for movie data in file "Untitled.mov"

    Ok I have already searched in the forums and none of the solutions have worked. Can anyone help me with this problem?
    When I open Final Cut Pro, before the full program opens this error pops up:
    Searching for movie data in file "Untitled.mov".
    Screenshot - (http://imgs.hnation.org/uploads/714c01ba72.png)
    After like 10 seconds this error then pops up:
    The movie file "Untitled.mov" cannot be found. Without this file, the movie cannot play properly.
    Screenshot - (http://imgs.hnation.org/uploads/8c5564c42f.png)
    I have tried pressing the "Search" button and have tried every Untitled.mov file I could find, but none of them worked. If I press "Cancel" then the same thing happens 5 more times until Final Cut Pro actually opens.
    Help Please. Thanks!

    what if I am unable to get a hold of the footage again to re-import? Is there an alternative way?
    There is no alternative. The movie file is missing information. Either you captured footage and it broke it up into smaller segments (-av-0, -av-1, -av-2) and one or more of those files are missing, or you exported a Quicktime REFERENCE movie, and reimported that into FCP...and have since deleted some media that the reference file....references.
    Either you have it or you don't. If you don't have it...and cannot reimport it, then you are SOL. The only way to get rid of the message will be to delete the clip in the project that is causing the error.
    I have already tried reinstalling 3 times. The same error still pops-up.
    This is not an error with the software. You have a clip in the project that is missing something.
    Shane

  • 'Searching for movie data in file' glut

    I had to move QuickTime (QT) files to another hard drive. Now, when I run iDVD to work on the DVD project, I am constantly bombarded with "Searching for movie data in file..." prompts. Even when burning a Disk Image. Eventually, it finds them (I haven't deleted anything). All the files under "Project Info" are checked off. It eventually stops and the iDVD Project behaves normally. But when I make another change in iDVD, it starts again.
    Most of the QT movies used in the DVD are QT Reference Files, with their own links (also on the same drive). So when it's "searching" it's looking for those individual sub-movies in the QT Reference file.
    Is there a way to fix this? This didn't happen before I installed the new drive and moved the files.

    Hi
    Most probably it looks for the parts on the absent drive and has to search to
    find them on the new on.
    I don't think You can alter this in iDVD.
    I think I would ease out by going back to original Mac and now either:
    • Re-set scratch disk to the new one (all 4-5 places in FCE/P) - or
    • Make new QT.mov files - but tjis time "Self-containing"
    (THIS IS MY Guessing - and may be not working)
    else (bonus)
    *When not knowing what to do.*
    • Free space on internal (start-up) hard disk if it is less than 10Gb should rather have 25Gb
    • Hard disk is untidy: Repair Permissions, Repair Hard disk (Apple Disc Util tool)
    • Delete iDVD pref file - *or rather start a new user/account* - log into this and re-try
    • Program miss-match: iDVD 5.0.2, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK - DON’T work under Leopard
    • Program miss-match: iDVD 6.0.4, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK (might work under Leopard)
    • Program miss-match: iDVD’08 v. 7.0.1, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK (might work under Leopard)
    • iDVD (08) v7 Locate theme folder. Move out iDVD1, iDVD 2 and eventually iDVD4 folders to desktop - re-try
    iDVD 6.0.4 and iDVD 7.0.1 are compatible with Mac OS X 10.5 Leopard
    iDVD pref file resides: Mac Hard Disk (start-up HD)/Users/"Your account"/Library/Preferences
    and is named: com.apple.iDVD.plist
    While iDVD is NOT RUNNING - move this file out to desk-top.
    Now restart iDVD.
    Yours Bengt W

Maybe you are looking for

  • Different Bank charges GL account for two company codes with same COA

    Hi, While configuring OBXK ( Automatic GL account for bank charges)  , I see there is provision to enter only one GL account per chart of accounts. We have two company codes using same chart of accounts but different bank charges GL account. Please t

  • Failed to retrieve data from the database (Apache derby). Details: java.lang.reflect.InvacationTargetException

    Post Author: johnnighter CA Forum: Data Connectivity and SQL Hi,Good Day !I followed crxi_java_bean_data_source.pdf to setup and configure Crystal Report XI (Product Version 11.0.0.1282, CR Developer; Product Type: Full).Below is the sample code.impo

  • Upgrade Video Card and CPU - HP Compaq Presario CQ56-160SQ

    Product name: HP Presario Compaq CQ56-160SQ OS: Windows 7 Pro x64 Error message: - Changes: Not yet! Hi, I have a question, and I am wondreing if someone can explain to me what is with this "free" slot from my laptop:  Here is a link with the prinscr

  • Layers not behaving

    I have a layer on this page: http://www .mywebspinners.com/SR/ It's called 'Sidebar'. I'm having trouble positiong it, sizing it and getting it to have a vertical scrollbar ONLY. When i make it thinner - the vertical scroll bar disappears and the who

  • Importieren aus Adobe Photoshop Album Starter Editon 3.2

    Ich kann meine Fotos aus dem Adobe Photoshop Album Starter Editon 3.2 nicht zu Adobe Photoshop Elements 12 importieren. Alle anderen Fotodateien die auf dem Rechner sind wurden ohne Problem importiert. Kann mir jemand bei diesem Problem helfen. Ich h