Can I quote a single quote character so that I can use it in Replace()

Hi. How can I quote a single quote character so that I can use it in the Replace() function below. I'm attempting to query first_name records that contain a '.
select first_name, last_name
from ttms.prospect
where instr(first_name,"'") > 0
ERROR at line 3:
ORA-00904: "'": invalid identifier

Hi,
String literals are enclosed in single-quotes (not double-quotes).
To use a single-quote within a string literal, use two of them:
WHERE   INSTR (first_name, '''') > 0In Oacle 10 (and up) you can also use Q-Notation:
WHERE   INSTR (first_name, q'[']') > 0but you may find this more confusing for short literals containing only one single-quote.
Edited by: Frank Kulash on Mar 11, 2009 4:52 PM

Similar Messages

  • Firefox is replacing double quotes with single quotes.

    In WordPress and at other sites where I input and save text, Firefox is replacing double quotes with single quotes when I save. It's also showing double quotes as single quotes on websites. I tried uninstalling and reinstalling, and it's still happening.

    Do you have the needed font installed?
    *http://en.wikipedia.org/wiki/Punctuation

  • I own an iMac and a Macbook Air and I have iWorks on my iMac. Can I copy it to my Air so that I can use it while working out-of-town? It would not be used on both computers simultaneously.

    I own an iMac and a Macbook Air and I have iWorks on my iMac. Can I copy it to my Air so that I can use it while working out-of-town? It would not be used on both computers simultaneously.

    It depends on how you bought iWork (no 's').
    If you bought a single-user retail box or license from the trial, no, you cannot legally install it on another Mac.
    If you bought a family pack retail box or licesnce, you can install on up to five Macs in your household.
    If you bought it from the Mac App Store, you can install the apps on as many Macs that you have by opening the Mac App Store & clicking on Purchases. Enter your Apple ID & click install.

  • How can I quit Microsoft Database Daemon & SyncServicesAgent so that I can update Microsoft word?

    how can I quit Microsoft Database Daemon & SyncServicesAgent so that I can update Microsoft Office for macs?

    JamjarPW wrote:
    I tried all the solutions above, and the many others that are posted on various other forums (involving shift keys, activity monitor, dragging and dropping apps, renaming etc).  None of them worked.  SyncServicesAgent and the Daemon App would reactivate evcery single time, within seconds.
    What worked for me was to start the update installation and get to the point where it require syncservices etc to be closed.  At this point, i DISCONNECTED FROM THE INTERNET.  (I also quit syncservices and the database daemon in Activity Monitor but I don't know if that step was necessary).  Then I went back ot the update installation, clicked continue and it all went fine.
    So the answer seems to be: go offline.
    Good luck
    No, the answer is to quit the MS daemons that are running (database and syncservces), on or offline is not relevant.
    You can't quit the daemons if Office is running, so exit Office first.

  • If I have several different apple email accounts, how can I merge them under one email so that I can use it on multiple devices?

    If I have several different apple email accounts, how can I merge them under one email so that I can use it on multiple devices?

    BuckeyeNative wrote:
    how can I merge them under one email ...
    you can't.
    ... so that I can use it on multiple devices?
    a single iTunes can be authorized for up to five iTunes store accounts (Apple IDs). a library thusly set up will sync content purchased with any of the five Apple IDs to any device.

  • I have two iphone 4's with the same name on one computer.  Can I change the name of one so that I can sync each phone separately

    I have two iphone 4's with the same name on one computer.  Can I change the name of one so that I can sync contacts separately?

    How to rename your device in iTunes

  • How can I fix the Runtime Error R6034 so that I can correctly install iTunes on my PC ? I get a notice that states ' An application has made an attempt to load the C runtime library incorrectly - Please contact the application's support team for more info

    How can I fix the Runtime Error R6034 so that I can correctly install iTunes on my PC ? I get a notice that states ' An application has made an attempt to load the C runtime library incorrectly - Please contact the application's support team for more info

    Hey Debbiered1,
    Follow the steps in this link to resolve the issue:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    When you uninstall, the items you uninstall and the order in which you do so are particularly important:
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    Let us know if following that article and uninstalling those components in that order helped the situation.
    Welcome to Apple Support Communities!
    Take care,
    Delgadoh

  • I just stepped over from explorer to firefox and al my saved favorites from explorer are vanished. How can I get back these favorites? Besides that I can´t find a favorite menu in my firefoxbrowser wich I like to work with.

    I just stepped over from explorer to firefox and al my saved favorites from explorer are vanished. How can I get back these favorites? Besides that I can´t find a favorite menu in my firefoxbrowser wich I like to work with

    In the device sync pages select Photos on the top at the right.
    Un tick Sync Photos
    Apply

  • ADOBE DPS - MAGAZINE to TABLET in INDESIGN.....Need to brush up my tablet design in DPS (did it a few yearscback), can anyone recommend on the Adobe site tutorials that I can download, with artworks /buttons / actions and put it together?

    ....Need to brush up my tablet design in DPS (did it a few years back), can anyone recommend on the Adobe site tutorials that I can download, with artworks /buttons / actions and put it together?

    See this forum post here from Bob. Best place to learn DPS is on Adobe TV http://tv.adobe.com/product/digital-publishing-suite/
    If you are specifically looking to learn how to create interactive overlays, go here http://helpx.adobe.com/digital-publishing-suite/help/overview-interactive-overlays.html Watch the videos on "Folio Overlays panel, Part I & Part II"

  • I have two accounts with iTunes.  Can they be merged or somehow combined so that I can have access to everything from both my old iPod Touch and my new iPhone5?

    I have two accounts with iTunes.  Can they be merged or somehow combined so that I can have access to everything from both my old iPod Touch and my new iPhone5?

    No.
    You can authorize your computer for both accounts.  Put all of the music on one computer.  Sync your devices to that computer.

  • Can't start video, try closing other programs that might be using your webcam

    I am using skype on win8. It was perfectly fine until last week. This message "can't start video, try closing other programs that might be using your webcam" is always there. I investigated this problem in the forum.  I did this but it did not help at all. I checked nothing was using webcam! Try to reset skype settings Exit Skype : From the system tray >> right click on the skype icon and click "Quit Skype" Click Start >> Run Type: %appdata% Rename folder "Skype" to "Old_Skype" Re-run Skype 
    I tried some other chatting software and it gives me the same problem. However, the metro app camara is working perfectly fine. I have the latest driver and I also tried another webcam from logitech and it gives the same problem!!!! 

    Most likely this is one of the registry keys that need to be modified. However, be very careful when you make any changes to your Registry Database. Make always a copy of this data base before making any changes, so you can always revert to the original settings if something will go wrong. The relevant keys are these that refer to Imaging devices. On my system I have 3 such devices: Logitech c920 webcam, LifeCam VX-5000 webcam and CanoScan LiDE 25 Scanner. The last is installed but not currently connected to the computer. You can make a search in your registry database using this item: imaging devices. For all the items I could find on my system, the main key of the type, HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00X\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F} was looking like this:   There is neither LowerFilters nor UpperFilters value defined. You can open the subkeys of the type 0000, 0001, 0002, etc. and see what device they are referring to.

  • How can I get rid of a whirling circle that stops me using a document?

    How can I get rid of a whirling circle that stops me using a document?

    Hi Sally, let's start with this to see if it makes a difference...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    Restart & test.

  • HT3775 I just upgraded my ipad to 6.0.  I can no longer expand my audio files so that I can move forwards and backwards.  I used to get a diagonal arrow to enlarge the screen and then have a bar that I can move to navigate. Can you help?

    I just upgraded my ipad to 6.0.  I can no longer expand my audio files so that I can move forwards and backwards.  I used to get a diagonal arrow to enlarge the screen and then have a bar that I can move to navigate. Can you help?

    Hi James,
    I am listening to embedded training files on the Quick Time player (I think). They cannot be copied to protect the information.  You only have the option of listening.   I used to be able to click on the Q in the audio strip and it would provide a diagonal arrow and this would allow me to expand the bar to a full screen. I then had the bar which would allow me to navigate in case I wanted to listen again or in case I wanted to move forward.  After my upgrade, I can no longer expand the strip to a full screen with the adjuster.  Now I have not chance to take a break in listening to these audios and most of them are at least an hour long.  Thanks for your help.

  • What can be the max difference in cable lengths that we can have between the ISLs in a port-channel between MDS switches?

    Hello All
    What can be the max difference in cable lengths that we can have between the ISLs in a port-channel between MDS switches? Do we have any documentation?
    Thanks
    Chetan

     competitive solution instead recommends a distance variance of 30 meters or less among ISLs within a trunk. If the distance variance is greater than 30 meters, undesired and degraded performance will occur. For example, if a trunk has a distance of 100 kilometers, the competitive trunking solution allows a cable length variance of only 0.03 percent!
    ref;
    http://www.cisco.com/c/en/us/products/collateral/storage-networking/mds-9500-series-multilayer-directors/white_paper_c11-534878.html
    hth
    regards
    inayath
    **********PLZ dont forget to rate if this info is helpfull.

  • Where can I find a list of file types that Iphone can open?

    where can I find a list of file types that Iphone can open please?

    http://www.apple.com/iphone/specs.html
    Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)
    TV and video
    * Video formats supported: H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    * Support for 1024 by 768 pixels with Dock Connector to VGA Adapter; 576p and 480p with Apple Component AV Cable; 576i and 480i with Apple Composite AV Cable (cables sold separately)
    Message was edited by: DaVBMan

Maybe you are looking for