Urgent(Right and Left Functions)

Hello All,
In our requiremnet it was mentioned like one column like right(columnname,13) and left(right(columnname,11),10).Is they are any functions like left and right in SQL?I didn't find any of these functions in SQL.
Are they are something like Substr functions?
Pls help me out.

user631532 wrote:
I mean it is something like right(columnname,13) means substr(columnname,-13)
left(columnname,13) means substr(columnname,13)
left(right(columnname,11),10) means substr(columnname,-11,10)
right(left(columnname,11),10) means substr(columnname,11,-10).
Is my understanding is correct?
If not pls rply me.You could have read the documentation and tried it yourself...
right 13
  1* select substr('0123456789ABCDEFGHIJKLM',-13) from dual
SQL> /
SUBSTR('01234
ABCDEFGHIJKLMleft 13
  1* select substr('0123456789ABCDEFGHIJKLM',1,13) from dual
SQL> /
SUBSTR('01234
0123456789ABCleft(right 11)10
  1* select substr('0123456789ABCDEFGHIJKLM',-11,10) from dual
SQL> /
SUBSTR('01
CDEFGHIJKLright(left 11)10
  1* select substr(substr('0123456789ABCDEFGHIJKLM',1,11),-10) from dual
SQL> /
SUBSTR(SUB
123456789A

Similar Messages

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • Capturing double click of right and left mouse buttons

    Hi everybody,
    I am writing a application which makes use of mouse. My difficulty is like how to capture the right and left double click of mouse?
    Please guide its urgent.Any reply will really appreciate
    Thank you
    dgk

    hi
    hope the piece of code helps u out
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.tree.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.io.*;
    public class MouseClicks extends JFrame implements MouseListener
    static public void main(String[] args)
              MouseClicks targetFrame = new MouseClicks("Drop");
    targetFrame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) { System.exit(0);}
    targetFrame.setSize (800, 500);
    targetFrame.setVisible(true);
    public MouseClicks(String str) {
              super(str);
              addMouseListener(this);
    public void mouseClicked(MouseEvent e)
              if(SwingUtilities.isLeftMouseButton(e))
                   if(e.getClickCount() == 2)
                   System.out.println("LeftDoubleClicked");
                   else
                   System.out.println("LeftSingleClicked");
              else if(SwingUtilities.isRightMouseButton(e))
                   if(e.getClickCount() == 2)
                   System.out.println("RightDoubleclicked");
                   else
                   System.out.println("RightSingleClick");
    public void mousePressed(MouseEvent e)
    public void mouseReleased(MouseEvent e)
    public void mouseEntered(MouseEvent e)
    public void mouseExited(MouseEvent e)
    cheers

  • Hi, Just switched from CS6 to PS CC. I am used to using ACR in CS6 with it's preview checkbox in the upper  right-hand corner. I do not see that checkbox in PS CC. I see that they have added side-by-side, right and left and top and bottom before and after

    Hi,
    Just switched from CS6 to PS CC. I am very comfortable using ACR in previous versions. I liked to use the preview checkbox located in the upper right-hand corner to see before and afters. That checkbox is no longer in my version of PS CC. I see that they have side-by-side, top and bottom and right and left before and after options in the lower right-hand corner in this version. Is there anyway to get that legacy preview checkbox back so that I can use it?

    Hi Warunicorn,
    Thank you very much. I just could not find it on my own. I will have more questions as I get into it.
    Jim

  • At the top of my homepage, I'm getting a message "Downloading the latest applications", but the circle to the left keeps spinning, and no applications are downloaded. I don't know how to stop this, tried right and left clicking on the bar. This occurs

    At the top of my homepage, I'm getting a message "Downloading the latest applications", but the circle to the left keeps spinning, and no applications are downloaded. I don't know how to stop this, tried right and left clicking on the bar. This occurs every time I open Firefox. How can I stop or disable this?
    == This happened ==
    Every time Firefox opened
    == Several weeks ago.

    See http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    Remove the files in the ''updates'' and ''updates\0'' folder:
    Vista/Windows7:
    C:\Users\<user>\AppData\Local\Mozilla\Firefox\Mozilla Firefox\ (updates)
    C:\Users\<user>\AppData\Local\VirtualStore\Program Files\Mozilla Firefox\ (updates)
    %LOCALAPPDATA%\Mozilla\Firefox\Mozilla Firefox\updates\

  • 320x240 QT export produces black bars on right and left

    Ok, this one is strange. So far, it only appears to affect 320x240 targets from sources that don't have square pixels. Starting with a 720x480 DV movie (even if I change the properties to display 640x480), I export directly to 320x240 and I get a movie with black bars down the right and left. I did not tell QT to letterbox or scale, although telling it to scale does no help.
    The problem seems to be in the meta data. If I go to the movie's visual properties and change the move dimensions to 324x240 (with preserve aspect ratio unchecked), then the black bars disappear. When I change it back to 320x240, they are still gone and the movie plays fine. I save it and reopen it, and the black bars are back! The same thing happens exporting from Final Cut Pro using Quicktime conversion. This is definitely a bug.
    The work around is to export to another 4:3 format with square pixels first and export that to 320x240.
    On a related note, the same thing happens when I record a movie in Quicktime at 320x240. I get a recording with black bars down the sides.
    This has never happened to me before. I'm a professional QT software developer and a content producer. I've been using Quicktime Pro for a decade, at least. I've been over all of the export settings, and I've deleted all of my Quicktime preference files.
    Is there a way to report a bug to Apple?

    Regarding: "there's a pretty good chance that your playback target isn't Quicktime Player"...
    My assumption is that if your material is 320x240, it's probably that size because you're planning to either display it on a small-screen device, send it to a TV set, embed it in a presentation, or deliver it via the Web. In any of those cases, your final delivery target isn't QuickTime Player, but rather some other mode, such as the QuickTime web plug-in, iPod, AppleTV, or even some other option. In which case the strangeness with the player doesn't seem so strange.
    As a workaround, you could layer your 320x240 movie with at 350x240 grey rectangle on the layer behind. That would fix it in QuickTime Player, but it would cause grey bars on either side if you embed into a web page or something like that.

  • Hp envy can't right and left click at same time

    my hp envy touchpad cant hp envy can't right and left click at same time. i dont know if its a driver. because of that i cant play games like GTA cause i need right click to aim and left click to shoot. is there a solution to this 
    This question was solved.
    View Solution.

    @gwatanaj ,
    Hello and thank you for posting on the HP support forums.  Here is a link that you may find useful.
    HP Notebook PCs - Using and Troubleshooting the TouchPad or ClickPad (Windows 8)
    What you are trying to do may not work with your touchpad.  Normally when gaming it is best to use a mouse.  The hardware is built different and you would find it easier to work with.
    If you need further help please post back.  First check out this link.
    Advice for asking the "Very Best Question"
    As well please include your Full Model and Product Number.
    I hope to hear back from you soon.
    Thank you again and have a great day.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    D5GR
    I work on behalf of HP

  • How to remove black "blocked plug-in" window that opens with iPhoto. It covers iPhoto and everything under it. I've right and left clicked the black window, restarting the computer, shutting down the computer, but the window always appears when I ope

    How to remove black "blocked plug-in" window that opens with iPhoto. It covers iPhoto and everything under it. I've right and left clicked the black window, restarting the computer, shutting down the computer, but the window always appears when I open iPhoto and it will not move or go away. It stays on my screen (covering my desktop icons) even after I quit iPhoto. How can I get it off my screen?

    Which version if iPhoto and MacOS X do you have?
    Do you have any iPhoto plug-ins  installed?
    Open the folder /Library/Application Support/iPhoto/Plugins/
    To navigate to that folder, open the folder "Library" directly on your Macintosh HD, then inside the Library folder go to Application Support, then iPhoto.  Is there anything installed?

  • Right() and Left() method

    Hello,
    Is there an Right(x) and left(x) alternative for the VB Right and Left.
    The meaning is to return the x Right or x Left characters from a String.
    kind regards

    805380 wrote:
    This one i know.
    There seems to be no other alternative.No, there is. Write it yourself. Here's a "left" for you:
    public static final String left(String s, int n) {
       return s.subString(0, n);
    }I'll leave the arguments as to why it wasn't put in String up to others, but "why bother" sounds like a good start to me
    And I'll leave "right" up to you.
    Winston

  • My apple wireless mouse scrolls in the opposite direction. When I scroll up, down, right and left it always scrolls the opposite direction. Can anyone help?

    My apple wireless mouse scrolls in the opposite direction. When I scroll up, down, right and left it always scrolls the opposite direction. Can anyone help?

    Hi Malky H.,
    Thanks for visiting Apple Support Communities.
    If your mouse is not scrolling in the direction you are expecting, check this Mouse setting in System Preferences:
    Choose Apple menu > System Preferences, then click Mouse.
    Scroll direction: natural: Select this option to move the contents of a window in the same direction as your fingers.
    You can find this information here:
    OS X Yosemite: Use an Apple Magic Mouse
    Note that these steps apply to previous versions of Mac OS X as well.
    Best Regards,
    Jeremy

  • Can I shrink the iTunes webpage on my PC monitor so it does not cut off the right and left margins?

    Can I shrink the iTunes webpage on my PC monitor slightly so it does not cut off the right and left margins?

    Can you?  Are you capable of resizing the window?
    Only you can answer that question.
    If you want to know if it is possible, yes, it is possible.

  • Only right and left channels work with external sound card

    Just got the USB Sound blaster xfi surround 5.. connected it to my laptop and connected to my home theather in a box using optical connection.
    downloaded and installed latest software but when I do a channel check I only get sound out of the right and left and even then it does not sound right.
    I have verified that my home theater in the box will play 5. with optical input and have verified with the built in test tones of the home theater that all speakers are working and correctly hooked up.
    The laptop is ruiing windows xp 3.
    Any suggestions.
    Thank you.

    Which S&V vi's do you mean to be dedicated to NI hardware?
    A quick peek into the addon show me waveforms as input and the sound vis have a waveform output.
    OK I didn't look at the examples and by habbit ignore the express vis .   But maybe you just want to use a program instead of programming your application?
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Cross-Tab should expand right and left sides equally

    Hi,
    We are using Crystal Report XI release 2, Cross-Tab expands towards right side.
    Our report parameter range is not constant.
    When fewer columns we can get based on parameter, Cross-Tab does not look good because it prints left to right and we can see a lot space at right side of the page.
    User asking put it in center, but it does not look good when we get more columns (it prints left to right).
    We can achieve a good look, if it grows left and right sides equally.
    How to achieve this please give me some suggestions.
    Thanks and Regards,
    Manjunath N, J Jogin

    Though you can not make a CrossTab grow equally on right and left side but you can reduce the Gap at the end .
    To achieve this,please Right  Click on the cross --> Cross Tab Expert --> Customized Style tab and uncheck the checkbox Keep Columns Together
    Also for the summary fields, make them left aligned by default CR aligns numeric fields to the right. do the same thing for Row/column headers. This way you'll save lot of space.
    Hope this helps!

  • How do I share / unlink  the right and left channel, so I can work with them individually ?

    I use "Adobe Sound Booster CS5"
    I have a stereo soundtrack, which I only want to remove noise in only one channel (right).
    How do I share / unlink the right and left channel, so I can work with them individually ?

    When Soundbooth was first developed, it had a few extra things than what were not available in Audition. However, Audition remained the more high end sound editing tool. Soundbooth was locked to a multiple channel editing approach. In Audition, single editing is easy - you simply click the L or R at the right end of the sound channel to lock it and then you can edit the other channel only.
    Soundbooth has been discontinued and Audition now has taken its place from CS6 to the Creative Cloud.
    The above is some background info. To your current situation, you can use a workaround like:
    * Export your audio file to separate channels by File > Export > Channels to mono files.
    You will get 2 files with _L and _R suffix.
    You can then edit them separately. You can go from Mono to Stereo by the following step.
    Or
    * Choose - Edit > Insert > Channels  into New Multitrack file.
    That will separate the Left and Right Channels and add them to a new multitrack file.
    You can then click the Edit link at the top right of the channel to edit it.
    You can then save that file as a new audio file.
    Dean

  • Earphones labeled Right and Left

    My wife has an iPod nano (3rd Gen) and she was wondering why the earphones are labeled Right and Left? Is this in case there is a problem? Is there another reason I'm not aware of?
    Thanks for answering.

    Hello legacycaptain,
    My wife has an iPod nano (3rd Gen) and she was wondering why the earphones are labeled Right and Left? Is this in case there is a problem? Is there another reason I'm not aware of?
    They are labeled that way because each headphone was designed to fit each respective ear more comfortably than the other. If you put them in the opposite way you may feel a slight discomfort with the way the feel than compared to how they are supposed to be worn.
    B-rock

Maybe you are looking for