How can I search ' in my data

Hi all

How can I search ' in my data. for example if I have data like below

road to sant'k
House of coper

I tried the %, but it does not work.

couls someone help me with an escape character

Rgds
SAZ

INSTR

SQL> with data as(
  2  select 'aha''ha' col1 from dual union all
  3                   select 'hoho' col1 from dual union all
  4                   select 'o''rly''' col1 from dual
  5  )
  6  SELECT *
  7  FROM data
  8  where instr(col1,'''')>0;

COL1
------
aha'ha
o'rly'

Max
http://oracleitalia.WordPress.com

Tags: Database

Similar Questions

  • How can I search for specific dat ramges in Windows 7

    Hi, I had to buy a new compuiter and it came with Windows 7 and I can't figure out where the comand of research is - I think that disappeared - and the search on the file header is not get everything I need.  I need to find, for example, all the files that I wrote in January 2008, which contains the word "Record".  Is it possible to download the XP: Microsoft's search engine and use in Windows 7? The XP search all done perfectly.   Let me know, Joe

    Hello

    References to Vista also apply to Windows 7.

    Windows Search does not work or research are slower
    http://support.Microsoft.com/GP/windows_search

    Troubleshooting Windows Vista search & indexing errors
    http://www.WinVistaClub.com/T24.html

    Reconstruction of the Index in Windows Vista
    http://www.howtogeek.com/HOWTO/Windows-Vista/rebuilding-the-search-index-in-Windows-Vista/
    How to enable or disable the search Index in Vista
    http://www.Vistax64.com/tutorials/69564-index-enable-disable.html
    Improve Windows searches using the index: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/improve-Windows-searches-using-the-index-frequently-asked-questions

    ================================

    Tips for finding files
    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-finding-files

    How to use advanced search in Vista Options
    http://www.Vistax64.com/tutorials/75451-advanced-search.html

    How to restore the page button on the Start Menu after installing Vista SP1
    http://www.Vistax64.com/tutorials/145787-Search-start-menu-button-restore-after-SP1.html

    How to restore the context Menu item search after installing Vista SP1
    http://www.Vistax64.com/tutorials/134065-search-context-menu-item-restore-after-Vista-SP1.html

    How to create a shortcut on the desktop search in Vista
    http://www.Vistax64.com/tutorials/126499-search-desktop-shortcut.html

    ----------------------------------------------------------

    Win Key F opens advanced search

    Searching in Windows Vista, part 1
    http://Windows.Microsoft.com/en-us/Windows-Vista/searching-in-Windows-Vista-part-1-secrets-of-the-search-box

    Part 2
    http://Windows.Microsoft.com/en-us/Windows-Vista/searching-in-Windows-Vista-part-2-Start-menu-and-control-panel-search-tips

    Part 3
    http://Windows.Microsoft.com/en-us/Windows-Vista/searching-in-Windows-Vista-part-3-using-advanced-search-for-those-hard-to-find-files

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How can I search using a word or phrase in the file?

    I can't find anything using windows 7. How can I search using the old option to find "a word or phrase in the file" when I don't know the file name, type, or location, as we could do in XP and all the previous versions?

    Hi rayf1967,

    I was back tonight, saw your post and tried a search in my .xls and .xlsx files.  They results were not as I suspected.  But now is a result of the work.

    I had left the 'files allow on this drive to have content indexed in addition to file properties' unchecked.  This means that my old index was sought but changes or new files were not included.  When finally, I went to properties and permit of indexation for the drive, I could search for .xls and .xlsx text files inside the cells and inside the text boxes.  I edited my last post to include this observation.

    Window 7 file & directory search success
    Yahoo! I finally successfully a text file for a search string.  Thank you Lisa and Thahaseena I have studied the links and then did some testing over a period of 5 hours.  FYI, I get using the old DOS commands in .bat files.  Understand the new search engine was much more difficult than learning a RegEx in the 1980s.

    1 CAUTION: The box of the property known as the disk:
    "Allow files on this disc have content indexed in addition to file properties"
    This check box controls the update of the data base of the index.  It must be checked to build or update an index that may be searched.
    You can select the entire disc or only a subset of records.
    For discs:
    RT-click file / properties
    For the records:
    RT-click File / Properties / General tab / advanced

    I correctly searched for file names and files with this box unchecked, but the results do not include the files created or edited since the last time the index was built or in other words since the indexing has been authorized.

    2. research in the files has N O T by default after my installation of W7.  My system keeps all the files on a non-system drive and that the drive did not appear in the search index settings. Fault of not Ms.

    3. research in the files REQUIRES that the drive/directories are specified:
    Set the locations:
    Control Panel/Indexing Options/change /-down and check any disk or dirs you want indexed.
    Set the file types you want to allow search inside:
    Panel of control/indexing options / Advanced Options/File Types/Index Properties and the content of the file - set as you wish
    The file types are grouped and there are filter categories they fall.
    Defining the .txt (plain text filter) to "Properties Index and contents of the file" will allow many other types of files to be indexed.  The same is true for .doc (Microsoft Office filter); This one will allow indexing for all Office files.
    My QuadCore 3 GHz/4 GB indexed to 2500 points per second.  I have let it run overnight on my drive of files I have about 3 hours to complete.

    4. read on "Windows Search Advanced Query Syntax" it can help you a lot.

    5 W7 will show what looks like a mistake/complaint at research suggesting that you change your settings for indexing.  This will happen even if you have defined the so ignore/disable it.

    E x a m p l e s (all text left - has been typed/pasted in the search box):

    1 test cycle after: 07/20/10 - find all the file names with the string 'test' in them with update a value greater than 20/07/10.

    2 * test*.txt after: 07/30/10 - it found only files of type .txt 'test' in the name and modifed today (30/07/10).

    3. content *.txt: citabria after: 20/07/10 - searched the citabria word in files of text changed after 20/07/10!

    4. content *.docx: citabria after: 20/07/10 - searched the citabria word within Word files modified after 20/07/10!

    5 *.xlsx content: fardap - looking for the word inside all my files fardap .xlsx; found in cells and the text box.

  • How can I search for all files not containing a speific (_) character in a folder in Windows 7?

    How can I search in Windows 7 for all files not containing a speific (_) character in the file?

    I have two files with about 50 000 files in each folder.  There are many copies of the same file (only one folder contains photos, the other file has data files.  In the two files copies have the same name as the original file, for example IMG01, but identified for example IMG01_1, IMG01_2, etc..)

    I would like to find all files that DO NOT have a _ in them.  Can I do this?  How?

    Or I have to search for all files that have a _ by searching for * _ *?  Delete these files?

    I tried, but program trotted for 2 hours.  Just take a while?

    I thought that if I could search only files without the _ it would be more effective.

    Less than 20% of the files in each folder have not a _ in them.

    You should be able to use a? or * to replace a number of characters that are either unique or variable.  * book would find both book and facebook, or? ook would only book.

    Anyway, there's probably not a way to identify the files corrupted by a search.

  • How can I search for emails?

    Title says it all. How can I search for emails containing a word or phrase in a file?

    Global search
    https://support.Mozilla.org/en-us/KB/global-search

    Quick filter toolbar
    https://support.Mozilla.org/en-us/KB/quick-filter-toolbar

  • How can I recharge my sim data in the air of the ipad 2 and activate?

    How can I recharge my sim data in the air of the ipad 2 and activate?

    Hi asherfromqatar,

    The resources below explains how to activate cellular data on your iPad 2 Air service.

    Activate the service of cellular data on your iPad iPad, iPad 2 Air and Pro 3 mini or later

    Check or change your cellular data plan

    To check the status of your cellular data or make changes to your plan, go to settings > cellular data.

    To add another data plan to your iPad, tap Settings > cellular data > Data Plan > add a new Plan.

    When you activate a cell data with some carriers plan, your SIM Apple could be dedicated to the corporate network. Your iPad is unlocked so that you can buy an another SIM Apple or a standard carrier nano-SIM allows you to change networks. Learn more about dedicated SIMs.

    Get help

    Get help with your Apple SIM if you have one of these problems:

    • You receive an alert on your Apple SIM
    • You cannot activate a service or can't find certain support
    • You cannot connect to the cellular data network

    Take care

  • In the Finder, how can I search/list of the files in the folder of final characters in filenames, i.e. 'to end-with' alphabetical rather than by default "starting by" alphabetical?

    In the Finder, how can I search/list of the files in the folder of final characters in filenames, i.e. 'to end-with' alphabetical rather than by default "starting by" alphabetical?

    As far as I know, you can't.

  • How can I update the expiration date on my credit card account?

    How can I update the expiration date on my credit card account?

    How can I update the expiration date on my credit card account?

    Go to your Bank and get a new card.

  • How can I search for hexadecimal number of 32-bit in .csv file

    Hello

    How can I search for 32-bit in .csv file usinf labview 8.6.1 hexadecimal number

    Mathan,

    This post was not really a solution.  He just ordered Sandy to post in the appropriate forum, which we now know is LabVIEW 8.6.1 LV.

    Sandy,

    You want to read the text file, then use the search/Split String function to find the matching characters that make up your hexagonal pattern.

    What you ask is a little strange wordly since .csv files are text files, and you ask a "32-bit hexadecimal number.  Can you give an example of what you are looking for?  My response assumes you have a 8 string that consists of the characters 0-9, A - F for catch the 4 bytes.  Maybe you are dealing with just 4 bytes that present themselves as ASCII characters in a text file.  In which case you wouldn't have one. CSV file.

    If the response of research/Split String is not useful to you, you will need to provide details about what you are looking for and also an example of your. CSV file.

  • How can I search for all photos that have names composed of four numbers?

    OT: Help search.

    Hello, I want to seek a photo (.jpg), photography is as the name of 5225.jpg, which consists of four digits. How can I search for all photos that have names composed of four numbers? Thank you

    I don't know how to search only images that carry the 4 numbers, but I know how to find a file that is exactly 4 letters long and ends with ".jpg".

    To do this, type this in your search box (exactly as it is, including quotation marks):

    "file name:"? "jpg"

    It will search for all files that have exactly 4 characters followed by .jpg at the end.

  • How can I re - attach the data files for the programs?

    Original title:

    reconnection of the files

    BONE had to be reinstalled.  All data is saved but lost programs.  Programs now reinstalled, but how can I re - attach the data files for the programs?

    Hello

    You copy the data on your computer (Documents, Photos, etc.) and file extensions should be automatically associated with programs they have written in.

    Otherwise:

    "Changing programs by default by using Set Program Access and defaults of the computer"

    http://Windows.Microsoft.com/en-us/Windows/set-program-access-computer-defaults#1TC=Windows-7

    "How to change file Associations in Windows 7 and Windows 8.

    http://www.7tutorials.com/how-associate-file-type-or-protocol-program

    See you soon.

  • How can I know the exact date of the csrss.exe download?

    HelloW please someone tell me how can I know the exact date of the download or installation of csrss on my pc. in the properties of the box, I can only find an old date (date of creation 2009) but think I didn t have this pc so... Please help me

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand that you have questions about the date of download csrss.exe.

    But I would like to know more information, to help you better.

    (1) get any error message related to this csrss.exe process?

    (2) what is the problem in the computer?

    In the meantime, please refer to the below suggestion.

    In fact, the csrss.exe is not a program that can be downloaded, it is rather a process in the Windows System. Thus, it would display the date of creation as the process is being created. Csrss.exe is a system process that is needed for your PC to function properly. It should not be deleted.

    The Microsoft Client Server Runtime Server subsystem uses the csrss.exe. This process of management of the majority of the graphical instruction sets under the Microsoft Windows operating system. As such Csrss.exe offers the important functions of the operating system, and the Blue Screen of Death displayed may lead to his termination.

    Csrss.exe threading and features of Win32 console window controls. Threading is where the application itself is divided into several simultaneous running tasks. Threads supported by csrss.exe are different
    process in this son are usually included in the process, with different threads, sharing of resources within the same process. The Win32 console is plain text window in the Windows API system (programs can use the console without the need for display of the image).

    Additional information:

    Csrss.exe

    http://answers.Microsoft.com/en-us/protect/Forum/MSE-protect_scanning/csrssexe/26bba20c-2691-4D42-bec4-637436c53c4f

    I hope this helps. Otherwise, feel free to write back and we woll will be happy to help.

    Thank you

  • How can I select a different data store for vm swap files?

    In Esxi 5.5, how can set up a separate data for the swapsfiles store.

    5.5, default will be in the same data store

  • How can I search for a word in several files in a particular folder?

    Original title: search for a specific word

    Hello

    I'm working on Windows 8. How can I search for a word in several files in a particular folder?

    TKS

    Provide the location is indexed, you can search for a specific phrase or Word file Explorer by typing content: follow-up of your phrase surrounded by quotation marks. This will produce a list of files, the filtering criterion.

  • How can we export itno csv data file for oracle forms

    Hello

    How can we export itno csv data file for oracle forms

    For example. I have the block called A.what never the data displayed on a block, when I click on a button, displays the block data, must be exported to the csv file.

    My application is running on the unix operating system.

    Please help on this.

    First of all.  What is your version of forms (for example: 11.1.2.2.0 not 11g).  Finally, who will use the .csv file?  If it is a user on their client computer - CLIENT_TEXT_IO TEXT_IO or WebUtil are standard packages used to export data to a file of Oracle Forms.

    The amount of data to be exported?  If you export only a couple hundred lines - export of Froms will be OK.  If you export more lines than that (300 + lines) then the export will be extremely slow to your username.  Keep in mind that forms is not designed to perform data exports - there are better tools available for this...

    Craig...

Maybe you are looking for

  • Satellite M70 display: how to disable manually?

    I want to turn off the laptop display computer manually(Satellite M70), while he is engaged in work (in this case, work doesn´t addition off energy saving mode). Is there a way? Why would I do this? ---> When the books did a big download or working o

  • Anyone who has used a repartitioning software to increase a drive c on Vista Home premium?

    I downloaded the free Partition Wizard 5, who claims that you can increase a partitioned drive c small space unallocated other partitions, but others said it cannot be done. I'm afraid to use the Partition Wizard. Everyone uses something like this wi

  • NotificationApplicationSettings and Led color

    Hey. There is no Led color property in the NotificationApplicationSettings class, but there is a list drop-down color led in the menu of notifications app customized for applications. Is there no workaround solution for color led in this drop-down li

  • ISE 1.4 and Apple 'captive Network Assistant"causing problems

    I'm testing ISE 1.4 with 10.10.2/Safari 8.0.3 MAC and the boring revised downward Safari AKA "Captive Network Assistant" gets in the way.  I wonder what other people did to work around. According to the compatibility of network component Cisco ISE v1

  • BlackBerry Smartphones Google Maps, questions and issues

    So, today is the first time I used my gps on my storm, and my first opportunity to use google maps. Everything worked fine except a few things that made my trip to find a little difficult doctors Office and the pop up text that tells you which way to