Show only part of the data

Hello
I ihave some data like the following below:
12332-ABASDFQAR-1313-132555-2323232-23232
1211111111-ATQTEWSHSDFDSDQG-342242-133333333-1111111113-111111111111-11111111
22223231-AWTWTWTWFAADADSGSSGSD-12333-21333-2222222222-111111-2222222223131
3232-ASDSDSGSGSGSRQRTWTWTWTW-31232-3232-1232-3333
and I just want to show the words following the first - and before the 2nd.
How can I do this?

THX

Published by: Hendra.K on January 5, 2012 22:51

Maybe

select col,
       substr(col,instr(col,'-',1,1) + 1,instr(col,'-',2,1) - instr(col,'-',1,1) - 1) x
  from t

Concerning

Etbin

Tags: Database

Similar Questions

  • OfficeJet Officejet Pro 8500 has more eAiO Scan to computer scans only part of the Document

    I am trying to scan my Officejet Officejet Pro 8500 has more eAiO scan to my iMac (Mac OS X 10.6.8).) IT scans only part of the document is scanned. However, when I copy it, the entire document is printed. I was looking for, if I could change this on the officet, or the system of preferences on my mac, but couldn't find anything on the 8500. On mac, I could change something, but it was only the scans on insiders from my computer.

    Scanning directly from the Officejet comes in very handy when the digitization of books, with one hand, I have to push it and the iMac is not in reach of the officejet...

    Otherwise, I am very satisfied with the printer and everything works fine...

    Thanks for any help.

    iMac (Mac OS X 10.6.8)

    Hello

    I hope you feel better now!

    Please specify the exect option that you use to scan from the control panel of the device.

    What exect icon are you clicking after selecting the scam?

    If it is computer, try to update the latest version of the driver and check if the Scan shortcuts Manager do not appear:

    Click the Apple icon, then software updated. Be sure to select any update HP available.

    If you don't see the specific option yet, you will need to delete all HP software installed completely and install the latest version:

    * Please note that the following steps will delete all HP software installed.

    1. click on menu go (click the desktop, then watch the menu in the bar at the top of the page)
    2. Select Applications
    3 select the Hewlett-Packard folder
    4. double-click on uninstall HP application
    5 follow the uninstall to prompt to select a device to uninstall
    6. press and hold Ctrl + Alt + Cmd keys on the keyboard at the same time as you click on uninstall
    7 approve any prompt to uninstall all HP software.

    Download and install the latest driver below:

    http://FTP.HP.com/pub/softlib/software11/COL34340/MP-85024-2/OJ_AIO_08_8500_A910_Net_Full_Mac_WW_74.dmg

    Finally, update the latest driver by clicking the Apple icon, then software updated.

    If you use another method of scan, please specify which option you use.

    Kind regards

    Shlomi

  • Site Web of Muse shows only shortened but the file disappeared!

    Site Web of Muse shows only shortened but the file disappeared!

    Entirely built woman on its website and now it has completely disappeared, it is on a PC

    Hello

    Please try searching for the file, the computer if you have changed the location of the file to disk/drive/folder to others. You made the .muse file backup. Muse of Adobe will not be able to recover lost files unfortunately.

    Let me know if you have any question.

  • Synchronization between two databases with only 2% of the data; Please help me

    Hi all

    I have two oracle databases in 2 different servers PROD and TEST instances. the two databases are in gr 10 2 in linux servers.

    My PROD database contains about 300 GB of data and is dedicated for production area.
    My Test database is dedicated to Spanish test for PROD database. (small server in terms of space and RAM comparing to PROD db)
    I would like to synchronize every week TEST db with PROD db with only 2% of the data and all the structures
    Could someone tell me, if you use a datapump export I can import only 2% of the amount of data and the structures ot theere is another way to do it?
    Thank you very much

    best regards,
    W

    I'm not really sure what you're talking about. There is no option, expdp and impdp x % of the data, is that? And if Oracle can sovle repositories inetegrity (PK, FK), it cannot be assumed which tables are lookup table (to be entirely exported) and can not assume the logical data integrity.

    Nicolas.

  • Not how to show a part of online data in a table in another table with even no column?

    I need to display the data from certain rows in a table in another table with the same numbers of columns and main table must be disabled. Could someone advice how to do this?    Data in the table are from the microprocessor and is intended the user can see and edit only some data.

    If someone can show me some advice, it will be a great help.

    Kind regards

    Annemariehoeven

    Disable a table: SetInputMode (panelHandle, controlID, 0);  ('1' to re - activate).

    Hide a table: SetCtrlAttribute (panelHandle, controlID, ATTR_VISIBLE, 0); ('1' to show it again).

    These commands are valid for each type of control.

    To extract values from the table, you can just use GetTableCellVal or GetTableCellRangeVals: If the range of cells has the same data type, you can use the second command which is faster; If the cells are different (for example digital and channels) you must solve each of them individually. The use of the Clipboard doesn't have this limitation.

  • HP while a 6700 scans only part of the picture.

    My baby never used while a 6700 hp scan only a part of the image. I use Mac OS X 10.5.8 How to remedy this problem of operating system?

    Thank you. Your directions solved my problem.

  • My account calendar shows only not in the calendar app

    Hello

    I have a problem with the calendar (version 18.6.A.0.1). When I open it, the calendar shows only birthdays my contacts, but I don't see my owncloud calendar, even though I can see and synchronize in the android account manager.

    In fact, I disabled the application of storage calendar, then created the resource calendar and finally turn back the calendar again storage application. So storage of schedule was a little lost after him.
    This problem is resolved by the deletion and recreation of the resource.

  • No trace of the battery - only part of the time with SplashScreen

    Hi all

    I have some intriguing problem. I am loading an app will a splashscreen and about half the time I don't get a stack trace of error. The splashscreen is pressed while I get the data and images on a remote server, and then analyzing the data. This is the code that I get a no stack trace:

                        _app.invokeLater( new Runnable() {
                            public void run() {
                                // This represents the next step after loading. This just shows
                                // a dialog, but you could push the applications main menu screen.
    
                                    try {
                                        getUiEngine().pushScreen(new DirectoryScreen(sqlmanager));
                                        _app.getActiveScreen().getScreenBelow().close();
                                    } catch (Exception e) {
                                        // TODO Auto-generated catch block
                                        System.out.println("in the runnable exception: " + e.getMessage());
    
                                        e.printStackTrace();
                                    }
    
                            }
                        });
    

    As a general rule, the error message is something like "the runnable exception: Index - 3 > = 4".

    Help!

    Check the code in DirectoryScreen. Use a step by step debugging...

  • Hide zero only part of the time

    Hello, I have created a pdf file that can be used on the computer, but others may also print and write their information on the form.  I need a zero to appear when the value of the event is equal to zero, and for the field to be blank when nothing has yet taken place.

    The three relevant fields are named value, RoundedValue and fresh.

    In the field of the custom calculation Script RoundedValue, I have:

    var v1 = this.getField("Value").value;

    Math.floor(v1/ 1000) = Event.Value * 1000;

    A zero is always displayed in the field of RoundedValue unless a user enters numbers in the value field.  The RoundedValue should actually be blank until a user enters numbers in the value field.  If they enter less than 1,000 in the value field, then only the field of RoundedValue a 0 show.

    In the field cost of custom calculation Script is as close to my goal, I got:

    var v2 = this.getField("RoundedValue").value;

    var total = v2 *. 001;

    If (total! == 0) {event.value = total} else {event.value = ""}

    The scope of the tax is empty until a user enters a number in the value field, but the scope of the tax does not show a 0 when users enter less than 1 000 in the value field.  The tax field should actually show a 0 when the value field is less than 1,000.

    Any help would be appreciated. Thank you.

    I found the answer on another forum, I wanted to just share.

    In the field of the custom calculation Script RoundedValue, I have:

    var v1 = this.getField("Value").value;

    Math.floor(v1/ 1000) = Event.Value * 1000;

    If ((event.value == 0) & (getField("Value").valueAsString = "")) event.value = "";

    In the cost field on custom calculation Script I have:

    var v2 = this.getField("RoundedValue").value;

    V2 = Event.Value *. 001;

    If ((event.value == 0) & (getField("Value").valueAsString = "")) event.value = "";

  • When you print maps with directions from Google Maps, I can print only part of the directions.

    When I select print in Google maps and printing, the first page is the card belongs to the second page of directions and the third page is empty. I tried in Safari and it does not happen here - the map and directions of how printing which should. This began to happen in Firefox about two weeks ago. I tried to adjust the print settings in Firefox and I have also reset the print settings in topic: config. So far, nothing has worked. I use a HP OfficeJet Pro 8600 and I have not had similar problems in the past.

    Thank you!

    Unfortunately, Google has changed the layout of the page. He added a style rule to the list of instructions that 47 of Firefox are not pages, or in other words, Firefox keeps the direction together as a block list so that you can print as many this block gives on one page. The only way to work around this problem now is to 'hack' the page to override to this rule. If all goes well it will be fixed in a next version of Firefox.

    To hack the page, you will encounter a small script in the Web Console. If you find that you need to do it often, you could create a bookmarklet (a script attached to a bookmark) so it is a one-click operation.

    Non-reusable method

    (A) select this script all over and do a right click > copy:

    document.querySelector('div.widget-pane-section-listbox.widget-pane-section-listbox-root').style.display="block";

    Update:

    document.querySelector('div.section-listbox.section-listbox-root').style.display="block";

    (B) in the tab with the instructions to print page, open the Web Console of Firefox in the lower part of the tab by using one of the following methods:

    • CTRL + SHIFT + k
    • button '3-bar' menu > developer > Web Console
    • (menu bar) Tools > Web Developer > Web Console

    (C) click next to the circumflex accent (>) at the bottom of the Web Console and paste the script (Ctrl + v or right click > paste) and press ENTER to run it.

    (D) close the web console, using the little 'x' on the right end of the bar ad detective, Console, etc., or the hotkey Ctrl + Shift + i could do.

    If you go to preview before printing, you should now see the list over several pages normally. Success?

    Create a Bookmarklet

    A bookmarklet is a small script that you can save on your Favorites or bookmarks Menu, bar in a convenient place. Here's how to create that:

    (1) select the entire script, and then right-click > copy:

    javascript:void(document.querySelector('div.section-listbox.section-listbox-root').style.display="block");

    (2) a comfortable place on your bookmarks bar or Bookmarks Menu with the right mouse button and choose new bookmark

    (3) click the empty box next to location, and then paste the script

    (4) to assign a relevant name like GooMapPrint

    (5) click on the add a bookmark button

    To test, after loading the view 'print' instructions, click on the button. When you call in print preview mode, the steps should be paginated normally.

    (Some sites use a security policy content to prohibit external scripts to be applied. On these sites, bookmarklets don't work - but at least so far, Google does not only.)

  • Show active paths by the data store for each host

    I'm looking for a PowerCLI script that displays by cluster, by ESXi host how active paths has a data store. The output should look like:

    Paths of Active host data store

    VMFS-01 ESXi01 2

    Thank you

    Ivo

    Try this one, it shows the actual number of "active" paths by the data store.

    foreach($esx in Get-VMHost){  $hss = Get-View $esx.Extensiondata.ConfigManager.StorageSystem
    
      $lunTab = @{}  $hss.StorageDeviceInfo.ScsiLun | %{    $lunTab.Add($_.Key,$_.CanonicalName)  }  $pathTab = @{}  $hss.StorageDeviceInfo.MultipathInfo.Lun | %{    $pathState = @($_.Path | Group-Object -Property PathState |    where {$_.Name -eq "active"} | Select -ExpandProperty Group)
    
        if($pathTab.ContainsKey($_.Lun)){      $pathTab[$_.Lun] += $pathState.Count    }    else{      $pathTab.Add($lunTab[$_.Lun],$pathState.Count)    }  }
    
      foreach($mount in ($hss.FileSystemVolumeInfo.MountInfo | where {$_.Volume.Type -eq "VMFS"})){    $mount.Volume.Extent |    Select @{N="VMHost";E={$esx.Name}},      @{N="Datastore";E={$mount.Volume.Name}},      @{N="LUN";E={$_.DiskName}},      @{N="Active Paths";E={$pathTab[$_.DiskName]}}  } } 
    
  • How can I show only images with the tag specific higher in the hierarchy of keywords, not including sublevels?

    I use a lot the hierarchical keywords.  For example, the location of the World/Europe/Austria/Tirol/specific.  I sometimes attribute only a top-level keyword (example: Austria) of an image when I don't know any more details.  How can I show only the images that have the label that I select, but not those with levels of basements for this keyword?  Exactly as the choice in folders view to examine only a folder selected, but not subfolders.  There could be a complicated way to implement a smart collection that includes a keyword, but excludes images with more that this number of keywords, but that could be really intensive work.

    It's easy, but fairly obscure: in the library filter bar, select the keyword column.  Click on the 'Properties' button on the right, and then select display: flat.  Now painfully, scroll through the list and select the desired keyword:

  • Variable area of text displaying only part of the previous entry of TEB

    Hi all

    I have a box of text on a slide and use the variable $$variablename$ $ to view the results of this entry on one blade later (so learners can reflect on their previous answer), but for some reason, it will not show everything, they type in.  In other words, it shows only the first characters of which has been previously entered.

    Has anyone encountered this before?

    I use 7 Captivate.

    Thank you!

    Nicole

  • How pre-made only parts of the timeline or the selected clips?

    I move from Vegas Pro in Premiere Pro. In Las Vegas, you select a part of the timeline, and then press CTRL-B and that it makes this segment.

    First, you press on enter, but he does not pay attention to the selected clips, she makes just before the entire sequence.

    This would not be a big problem except that I'm managing projects that are long enough, with 20-30 sequences and sequences 20 or so nested in each project and I spend between about 18 different projects for a series of videos 23 or almost.

    These videos are already taxing my system resources with only a few minutes or so (referencing about 80 to 120 GB of the source footage), but my desktop computer is a little weak.

    The problem is that when I have pre-made a nested sequence and bring on the main timeline, I pre-rendered it * again * after the next series of adjustments (ie the color correction, transitions, etc). So, I have to do AGAIN when I copy it to another scenario for a similar project.

    Each time, it may take as long as 15 or 20 minutes (my graphics card is a nVidia GTX 560 Ti, there CUDA, but prem does not support a reason any).

    When my script main glitched out, forcing me to divide it into different projects, it took me almost 4 hours just to copy things up with another 20 minutes to load the file glitched.

    Then I had to go and pre-made everything new to work my edits in place.

    Even if everything is properly set up to 90%, I still have to wait for the entire sequence finish the pre-rendered.

    As above, in Vegas Pro, I simply select a part of the timeline and the sticks of pre-rendered to this area.

    I saw an article that said that you might create on edge and use it for rendering, but it doesn't seem to be something CS6.

    I heard that Adobe was trying to maintain CS6 as a parallel to CC thing. Surely I don't have to move to a subscription of 600 $par year just so that I can pre-made parts of the script as a low-end competitor program has had something like 5 years...?

    What Miss me? There must be a way to do it simply.

    You should uncheck the workspace toolbar in the Menu of the Panel (upper right corner), the timeline.

  • Date query shows no results for the date of the day

    Hello everyone. I use Jdeveloper 11.1.1.3.0 with ADF and I have a view named query with a single field, Date. The operator that he uses is equal to a value written in the field. The problem is that when I insert a line in the table (the date is automatically set to the current date on the insertion) and I'm looking for today it returns nothing. However if I leave the field blank it will find me the line. I tried to do this with the timestamp option, but it is not very user-friendly, the user will need to type in the time line was inserted to find, or use between it operator for two fields which is something I want to avoid if possible

    The requirement is a query field that allows the user to choose a date on the calendar and shows all lines that are inserted at this date (even if the date is today, and the line was inserted a few minutes before).

    Published by: Dino2dy on April 6, 2011 02:50

    Dino2dy,

    The best way to proceed would be just to add an additional attribute to your VO - use "TRUNC (your_date_column_name)" as the value for the attribute - then just compare this attribute in the named view criteria.

    John

Maybe you are looking for

  • How can I run Firefox in mode 'privacy' from the command line?

    What is said.

  • Storage of the device management

    I use the new iMac and iPhone but iPhone has limited storage. I optimized iCloud store pictures for iPhone, deleted apps, reduces the storage of messages etc. to make room on the iPhone. I decided to take advantage of this new and export pictures to

  • My Qosmio X 870 - 14 d heats up in 10 minutes

    Hello. I myself Qosmio X 870-14 t. It heats up in 10 minutes, even if I play most basic games and stops. Heat the CPU reaches 90 and it closes. I have send to warranty 3 times in 2 months. They update and simply send it back. Toshiba just don't like.

  • Problems of its Windows Vista on the Qosmio F30

    Hello Ive recently installed windows vista on my Qosimio F30 and I have sound problems. Effects sound ok but speaking is really pretty and distort. I tried editing a new driver for him but he manages at the end and says driver not installed correctly

  • Problems with Motorola Defy India Froyo update

    Hello Its been about 2 weeks since I've updated my phone to froyo through motorola.com/update update. At first I did not notice anything, but now I realize the following points: 1. any photo with flash becomes completely black. 2 - UI is slow. All tr