Results 1 to 4 of 4

Thread: What are the different Wildcard characters in SQL?

  1. #1
    Join Date
    Nov 2009
    Posts
    53

    What are the different Wildcard characters in SQL?

    Hi All,

    I have to write very complex query on the condition of "Matching Case". Somebody told me that it will be more easy using "Wildcard characters".But unfortunately I don't know anything about "Wildcard characters" available in the SQL. What are the different "Wildcard characters" in SQL? Can anybody help me to aware about the different wildcard characters available in the SQL?

    Your help will be greatly appreciated..
    Last edited by Leana_rus; 25-11-2009 at 08:20 AM.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: What are the different Wildcard characters in SQL?

    Following are the different Wildcard characters which are available in the SQL:

    1. Percent symbol (%):
    2. Asterisk(*):Used to match unlimited characters.
    3. Question mark (?)
    4. underscore (_):Used to match only one character of the alphabet.


    Please try to use these wildcard characters.

  3. #3
    Join Date
    Jan 2008
    Posts
    1,521

    Re: What are the different Wildcard characters in SQL?

    Wildcard characters are essential to replacement for another string or character.

    I)Asterisk(*): This Wildcard character replace more than one alphanumeric characters .

    e.g:
    m*n*:This Wildcard character can be match Matches mean, modification, man, management.

    II)Question mark(?): This Wildcard character replace only one alphanumeric character.

    e.g:
    flash?:This will match any string which comprises six characters.

  4. #4
    Join Date
    Apr 2008
    Posts
    1,948

    Re: What are the different Wildcard characters in SQL?

    Generally in the regular expressions we use Wildcard characters. These characters represents only one or may characters.The type of wildcard character is meta character.

    Wildcard character are very useful while searching file in the many similar named files from directories of files.

    Example: If you want to search files of which their names starts with "ASD", then you can use "*" wildcard character as "ASD*".

    I hope this information will helps you.

Similar Threads

  1. Replies: 5
    Last Post: 23-12-2010, 07:12 PM
  2. X- Copy directory wildcard use
    By Beryl in forum Operating Systems
    Replies: 4
    Last Post: 27-03-2010, 07:57 PM
  3. How to Setup Wildcard DNS
    By ReD-GuY-ReD-HaT in forum Operating Systems
    Replies: 3
    Last Post: 01-08-2009, 06:39 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,968,191.32409 seconds with 16 queries