How to find the records using contains with the word like this 'some text-some text'?

Hi,
How to find the records using the full text contains keyword and that column contains ‘some text-some text’
In the above some text can be anything.
Does anybody know please let me know.
Thanks,

Hello,
You can try to create a Full Text Index on the table and use CONTAINS() to get the record which contains the specify words.
For example:
SELECT * FROM TABLE WHERE CONTAINS(column_name, 'some text')
Reference:
Full-Text Search (SQL Server)
Creating Full Text Catalog and Full Text Search
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support

Similar Messages

  • How to find the Changes like functional location category

    Hi Experts,
    Can anyone guide me as to how to get the changes in Func loc category made  for a func location through front end transactions or through tables when the Change document check box for Func location category has been activated and/or not activated.
    Faster response will be highly appreciated and rewarded.
    Regards,
    Manish

    Hi,
    Go to that Functional Location, Extras -> Display Changes, that will display all the changes made on that FL.
    Regards,
    Maheswaran.

  • How to implement the grid like this?

    Dear All:
    I have this grid view as following the sketch :
    |DS1|DS2|DS3|DS4|
    |------|------|------|------|
    |sss |sss |sss |sss |
    |sss |sss | sss |sss|
    | -----|------|------|------|
    |DS5|DS6|DS7|DS8|
    |------|------|------|------|
    |sss |sss |sss |sss |
    |sss | sss|sss| sss |
    Note:
    1. the border is solid line and "sss" represents white space.
    2. might have multiple rows or columns like this pattern.
    3. smaller cells are labels and bigger cells are filled with a few different colors
    4. when hovering mouse on each bigger cell, the tool tip text will be shown.
    5. sizes of the cells are fixed and not changed when the container is resized.
    Any clue for implementation? I appreciate all for reply.
    Johnosn

    Use a JTable. If your data is algorithmically derived, consider implementing your own TableModel. You may need to implement your own TableCellRenderer.

  • How to find the structure in this user exit

    My requirement is add new field to Delivery due list ALV report(VL10G).For enhance this report i will append one field(LIKP-SDABW) in this structure SHP_VL10_ITEM.This structure is not showing in the include LV50R_VIEWG05
    USEREXIT_PREPARE_LAYOUT_FILL .Where i have to find this structure,and internal tables?
    Please help me.
    Thanks & Regards,
    sairam

    Hi Sairam,
    Goto the program for transaction VL10G.In that u make a seach for the user-exit
    USEREXIT_PREPARE_LAYOUT_FILL.Then write the logic inside tht.U will need an access key for that.
    <b>Reward points if it solves ur query or answer is helpful</b>
    Thanks
    Chinmay

  • How to implement the function like this?

    I'm sorry, don't know why the previous post was approved then deleted.
    User visit http://aa.com/show?id=1  then the player plays 1.swf
    User visit http://aa.com/show?id=2  then the player plays 2.swf
    User can only see the url id, but can't see which swf is played.
    Should I build a FMS server and a player embed in the browser? Thanks,

    it disappeared because both links are for the same american arilines page which makes it appear as if you're posting spam on behalf on aa and your question is only superficially related to flash.
    anyway, to use query strings to determine what to show on a web page (or which web page to show), the window.location string contains the full url.  among the ways you can use that to retrieve the query string is:
    <script>
    var qs=window.location.substring(window.location.indexOf("?")+1);
    if(qs=='id=1'){
    //window.location=embedding html for 1.swf
    } else if(qs=='id=2'){
    //window.location=embeddign html for 2.swf
    </script>

  • How to get the output like this in a single sql

    input is
    2 date range
    output is
    date week
    01-01-2000 1
    08-01-2000 2
    31-12-2000 54
    06-01-2001 55
    so on

    with sample_table as (
                          select date '2000-01-01' from_dt, date '2001-01-06' to_dt from dual
    select  to_char(from_dt + level - 1,'dd-mm-yyyy') dt,
            ceil(level / 7) week
      from  sample_table
      connect by level <= to_dt - from_dt + 1
    DT               WEEK
    01-01-2000          1
    02-01-2000          1
    03-01-2000          1
    04-01-2000          1
    05-01-2000          1
    06-01-2000          1
    07-01-2000          1
    08-01-2000          2
    09-01-2000          2
    10-01-2000          2
    11-01-2000          2
    01-01-2001         53
    02-01-2001         53
    03-01-2001         53
    04-01-2001         53
    05-01-2001         53
    06-01-2001         54
    372 rows selected.
    SQL> SY.

  • How to find the tables

    Could any one tell me how to find the tables for this Datasource 0GLACCEXT_T011_HIER and theExtract structure is  ROHIEROS.But I did'nt see any fields on it.
    In the Extract structure there is only one fields is OLTPSOURCE.
    Could any one explain me how  this hierarchy data get populated into BW. Its very urgent
    Thanks in advance
    Taj

    http://help.sap.com/saphelp_bw33/helpdata/en/64/032de5ff014c4c86bc15272216a5e2/frameset.htm
    table RFDT.. check the link
    and also http://help.sap.com/saphelp_erp2005vp/helpdata/en/af/6837bb0e954b7ab47aca5d9fce1101/frameset.htm
    null

  • How to find the number of records per months  in cube

    Hi,
      how to find the number of records per months for my all cubes?
      Can i use the ListCube transaction to find totl number f records per cube monthwise ?
    Jimmy

    Hi,
    Here is a program to generate no of records and list of ODS and Cubes in Active version.Schedule this program in background and create a cube to load this information and schedule to the data from the file generated by the program. Schedule this all per you requirement.
    1.Copy the code into your Z<programname> from Se38.
    2.change the FILENAME in CALL FUNCTION 'GUI_DOWNLOAD' in the program to the location from where you can pick the information to load data to cube(eg Application server).
    3.Save program.
    4.Schedule the program in background as required
    5.Create cube with infoobjects to hold no of records and Infoprovider name
    6.Load this cube based on event after the program job is done.
    Hence you can report on this cube to see no of records in  CUBE or ODS in your box.
    Please find the code below.
    Cheers,
    Kavitha Kamesh.
    types: begin of itabs ,
          tabname type dd02l-tabname,
          end of itabs.
    data: itab type itabs occurs 0 with header line.
    data: counter type i.
    data: begin of itab1 occurs 0,
    tabname type dd02l-tabname,
    counter type i,
    end of itab1.
    DATA: ITABTABNAME TYPE STRING.
    DATA: LENGTH TYPE I.
    DATA: OBJECT(30).
    data: str(6) type c.
    select  tabname from dd02l into table itab where ( tabname LIKE  '/BIC/F%' or tabname LIKE  '/BIC/A%00' )
    and TABCLASS = 'TRANSP' and AS4LOCAL = 'A'.
    loop at itab.
      select count(*) from (itab-tabname) into counter.
      str = itab-tabname.
      if str = '/BIC/F'.
    LENGTH  = STRLEN( ITAB-TABNAME ).
      SHIFT  itab-tabname BY 6 PLACES LEFT.
    ELSEIf  str = '/BIC/A'.
      SHIFT  itab-tabname BY 6 PLACES LEFT.
      LENGTH  = STRLEN( ITAB-TABNAME ).
    LENGTH = LENGTH - 2.
    endif.
      itab1-tabname = itab-tabname(LENGTH).
      append itab1.
      itab1-counter = counter.
      clear itab-tabname.
      clear:  COUNTER.
    endloop.
    *********** itab1
    loop at itab1.
    write:/ itab1-tabname, itab1-counter.
    endloop.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                    =
        FILENAME                        = 'c:records.xls'
        FILETYPE                        = 'ASC'
    *   APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = ','
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    * IMPORTING
    *   FILELENGTH                      =
      TABLES
        DATA_TAB                        = itab1
    *   FIELDNAMES                      =
    * EXCEPTIONS
    *   FILE_WRITE_ERROR                = 1
    *   NO_BATCH                        = 2
    *   GUI_REFUSE_FILETRANSFER         = 3
    *   INVALID_TYPE                    = 4
    *   NO_AUTHORITY                    = 5
    *   UNKNOWN_ERROR                   = 6
    *   HEADER_NOT_ALLOWED              = 7
    *   SEPARATOR_NOT_ALLOWED           = 8
    *   FILESIZE_NOT_ALLOWED            = 9
    *   HEADER_TOO_LONG                 = 10
    *   DP_ERROR_CREATE                 = 11
    *   DP_ERROR_SEND                   = 12
    *   DP_ERROR_WRITE                  = 13
    *   UNKNOWN_DP_ERROR                = 14
    *   ACCESS_DENIED                   = 15
    *   DP_OUT_OF_MEMORY                = 16
    *   DISK_FULL                       = 17
    *   DP_TIMEOUT                      = 18
    *   FILE_NOT_FOUND                  = 19
    *   DATAPROVIDER_EXCEPTION          = 20
    *   CONTROL_FLUSH_ERROR             = 21
    *   OTHERS                          = 22
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to find the owner of checked-out record?

    Hello Experts,
    How to find the owner of checked-out record?

    Hi,
    I completely agree with Ravi.
    If you are using MDM 7.1 you can see the Job ID of that record on the right in MDM
    Login as Admin in MDM and search for the job ID to find the owner of the record
    Regards,
    Antony

  • How to find the number of data items in a file written with ArryToFile function?

    I have written an array of number in 2 column groups to a file using the LabWindows/CVI function ArrayToFile...Now if I want to read the file with FileToArray Function then how do I know the number of items in the file. during the write time I know how many array items to write. but suppose I want the file to read at some later time then How to find the number of items in the file,So that I can read the exact number and present it. Thanks to all
    If you are young work to Learn, not to earn.
    Solved!
    Go to Solution.

    What about:
    OpenFile ( your file );
    cnt = 0;
    while ((br = ReadLine ( ... )) != -2) {
    if (br == -1) {
    // I/O error: handle it!
    break;
    cnt++;
    CloseFile ( ... );
    There are some ways to improve performance of this code, but if you are not reading thousands of lines it's quite fast.
    After this part you can dimension the array to pass to FileToArray... unless you want to read it yourself since you already have it open!
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?

    Hi All,
    We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
    Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.

    Hi,
    Here you go..
    1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
    Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
    2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
    3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
    This step you get query reference sheet or column or query general UUID for next step.
    4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
    Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
    Hope this helps.
    Please keep in mind, it might take more time depends on how many query elements you have in the system...
    Comments added for better DB performance by: Arun Thangaraj

  • How to find the Standard Program associated with a Standard IDOC

    Hi,
          I am going work on enhancing the standard IDOC. Any body can suggest how to find a standard pogram associated with a Standard IDOC. And can any body send some exaple code for extending a standard IDOC and to implement the logic in the standard program .....

    Hi,
    For outbound IDoc the program can be found:
    1) For master IDoc via transaction BD60. Here for the message type you can find the function module used to generate the IDoc. Within this function module you can find the user exit where you can code your logic.
    2) For IDocs with message control (output control) we maintain settings for proces code in WE41. This process code will lead to outbound IDoc generation program.
    For Inbound IDoc the program can be found:
    Via WE42 where inbound process and its related inbound function module is maintained.
    In each cases above we can go the function module and find the customer exit where idoc enhancement logic can be coded.
    For extending IDoc look at the following links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7d6243d711d1893e0000e8323c4f/content.htm">Extending IDoc - SAP help</a>
    It can be summarized as follows:
    Enter transaction WE30 (ALE->Extension-> IDOC types->Maintain Idoc type)
    - Type in your name of the extended IDOC type (usually starting with 'Z') and click on the Basic IDoc type, click the create icon.
    - Click on Create new and enter a description and press enter.
    - Click on ZIDOCTYPE01 and then on the Create icon.
    - Enter ZIDOCTYPE as the segment type, click on Segment Editor.
    - Enter a description for your segment type and create.
    - Enter a description for your segment, enter each field required in your IDoc and press enter to validate.
    - Save and generate, press back
    - To release the segment choose Goto, Release from the menu.
    - Check the box on the line of your segment.
    - Save, back and enter.
    - Your Idoc type structure should be displayed with your new segment.
    - Save and back.
    - To release the Idoc type choose Extras, Release type from the menu and Yes.
    Hope this helps.
    Regards,
    Gajendra.

  • How to find the File name using the FTP Adapter

    hi all,
    how to find the File name using the FTP Adapter with BPEL.
    Regards

    Found the solution for this.
    First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
    In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
    Thanks for the posts

  • How to find the container in goods receipt table

    hi,
    how to find the number of containers with respect to each material document. After posting the material document the number of containers cannot stored in MSEG or MKPF table. i can able to find only in QALS table  but how to link the material document and inspection lot.
    Thanks
    Muthuraman.D

    Hi Muthuraman,
    Can you check this bapi BAPI_INSPLOT_GETLIST.In this bapi there is a different selection criteria like material,material document no and all. I think you can use this for your report. Check this and post if need help.
    Regards,
    Madhu.

  • How to find the column name and table name with a value

    Hi All
    How to find the column name and table name with "Value".
    For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
    Any help is highly appricatable
    Thanks & Regards
    Srikkanth.M

    2 solutions by Michaels (the latter is 11g upwards only)...
    michaels>  var val varchar2(5)
    michaels>  exec :val := 'as'
    PL/SQL procedure successfully completed.
    michaels>  select distinct substr (:val, 1, 11) "Searchword",
                    substr (table_name, 1, 14) "Table",
                    substr (t.column_value.getstringval (), 1, 50) "Column/Value"
               from cols,
                    table
                       (xmlsequence
                           (dbms_xmlgen.getxmltype ('select ' || column_name
                                                    || ' from ' || table_name
                                                    || ' where upper('
                                                    || column_name
                                                    || ') like upper(''%' || :val
                                                    || '%'')'
                                                   ).extract ('ROWSET/ROW/*')
                       ) t
    --        where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
           order by "Table"or
    SQL> select table_name,
           column_name,
           :search_string search_string,
           result
      from cols,
           xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
           columns result varchar2(10) path '.'
    where table_name in ('EMP', 'DEPT')
    TABLE_NAME           COLUMN_NAME          SEARCH_STRING        RESULT   
    DEPT                 DNAME                ES                   RESEARCH 
    DEPT                 DNAME                ES                   SALES    
    EMP                  ENAME                ES                   JONES    
    EMP                  ENAME                ES                   JAMES    
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   PRESIDENT
    EMP                  JOB                  ES                   SALESMAN 
    9 rows selected.

Maybe you are looking for

  • Why can't i open my raw files in photoshop cc i use a canon 450D

    I am a photography student and this has been winding me up now for about a month. the thing is its used to open my raw files with no bother and now it won't, I've downloaded plug ins and everything and its still not letting me open my raw files. does

  • Switching from Mac Mini to Macbook Air

    Hello, this is my first post in this forum and I hope that I chose the right category. Right now I'm running a Mac Mini 2011 Base model, that is the one with an 2.3 GHz Intel Core i5 processor and I have also upgraded the RAM from 4GB to 8GB. I know

  • Comes Facebook intigrie with the new Ios 5.1 ?

    I want facebook intigrie with the new ios 5.1 and i think that other users want it too

  • Converting StringBuffer to double

    Hi all, The only I could find converting a StringBuffer object to a double is through converting it first to a String with toString and then parsing it with parseDouble(). Is there a way to do it without doing toString() in the middle? Thanks a bunch

  • Outlook sync and configurin​g

    I cannot get the desktop manager to give me the choice of Outlook when selecting the addresses in doing the sychronization configuring.  How do I get it to show Outlook as a choice?