How to find a data including% using fuzzy searching
Hello,
I have a column that has a value "wwt%abc" . How can I find this data using SQL*PLUS and fuzzy searching condition? I wish to use
the statement like this:
select name from mytable where name like ...
thanks for any help
Susan,
I think you could use ESCAPE clause to specify that % is to be interpreted literaly.
select * from mytable where name like '%wwt\%abc%' escape '\';
I hope this helps.
Cheema
null
Similar Messages
-
How to find out the Transactions used per month & the USER who used that
Hi,
1)How to find out the Transactions used per month & the USER who used that?
2)and can i get the above same for minimum 20 month?
System : SAP- Enterprise Core Component.You can use my program...
*& Report Z_ABAP_TCODE_MONITOR
*****& Program Type : Report *
*****& Title : Z_ABAP_TCODE_MONITOR *
*****& Transaction code : ZTCODE_USAGE *
*****& Developer name : Shailendra Kolakaluri *
*****& Deveopment start date : 26 th Dec 2011 *
*****& Development Package : ZDEV *
*****& Transport No : DEVK906086 *
*****& Program Description : This program is to display
*List all tcodes executed during previous day.
*& Show the number of users executing tcodes
*& Modification history
REPORT Z_ABAP_TCODE_MONITOR.
*& List all tcodes executed during previous day.
*& Show the number of users executing tcodes
TYPE-POOLS : slis.
DATA: ind TYPE i,
fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
layout TYPE slis_layout_alv,
variant TYPE disvariant,
events TYPE slis_t_event WITH HEADER LINE,
heading TYPE slis_t_listheader WITH HEADER LINE.
*REPORT z_report_usage.
TYPES: BEGIN OF zusertcode,
date TYPE swncdatum,
user TYPE swncuname,
mandt TYPE swncmandt,
tcode TYPE swnctcode,
report TYPE swncreportname,
count TYPE swncshcnt,
END OF zusertcode.
*data : date type n.
DATA: t_usertcode TYPE swnc_t_aggusertcode,
wa_usertcode TYPE swncaggusertcode,
wa TYPE zusertcode,
t_ut TYPE STANDARD TABLE OF zusertcode,
wa_result TYPE zusertcode,
t_result TYPE STANDARD TABLE OF zusertcode.
PARAMETER: month TYPE dats DEFAULT sy-datum.
*PARAMETER: date TYPE dats.
*select-options : username for wa_usertcode-account.
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_fieldcatalog.
PERFORM set_layout.
PERFORM get_event.
PERFORM get_comment.
PERFORM display_data.
FORM get_data .
*date = sy-datum - 2 .
After start-of-selection add this line (parameter Month required 01 as day).
concatenate month+0(6) '01' into month.
CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
EXPORTING
component = 'TOTAL'
ASSIGNDSYS = 'DEV'
periodtype = 'M'
periodstrt = month
TABLES
usertcode = t_usertcode
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
wa-date = month.
*wa-date = date.
wa-mandt = sy-mandt.
wa_usertcode-account = username.
LOOP AT t_usertcode INTO wa_usertcode.
wa-user = wa_usertcode-account.
IF wa_usertcode-entry_id+72 = 'T'.
wa-tcode = wa_usertcode-entry_id.
wa-report = space.
ELSE.
wa-tcode = space.
wa-report = wa_usertcode-entry_id.
ENDIF.
COLLECT wa INTO t_ut.
ENDLOOP.
SORT t_ut BY report ASCENDING.
CLEAR: wa, wa_result.
endform.
FORM get_fieldcatalog .
fcat-tabname = 't_ut'.
fcat-fieldname = 'DATE'.
fcat-seltext_l = 'Date'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'MANDT'.
fcat-seltext_l = 'Client'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'USER'.
fcat-seltext_l = 'User Name'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'TCODE'.
fcat-seltext_l = 'Transaction Code'.
fcat-key = 'X'.
APPEND fcat.
ENDFORM.
*& Form SET_LAYOUT
text
--> p1 text
<-- p2 text
FORM set_layout .
layout-colwidth_optimize = 'X'.
ENDFORM. " SET_LAYOUT
*& Form GET_EVENT
text
--> p1 text
<-- p2 text
*FORM get_event .
events-name = slis_ev_top_of_page.
events-form = 'TOP_OF_PAGE'.
APPEND events.
*ENDFORM. " GET_EVENT
**& Form GET_COMMENT
text
--> p1 text
<-- p2 text
*FORM get_comment .
DATA: text(30).
text = 'Billing Report'.
heading-typ = 'H'.
heading-info = text.
APPEND heading.
*ENDFORM. " GET_COMMENT
**& Form top_of_page
text
--> p1 text
<-- p2 text
*FORM top_of_page .
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading[]
I_LOGO =
I_END_OF_LIST_GRID =
*ENDFORM. " top_of_page
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
sort t_ut[].
DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
is_layout = layout
it_fieldcat = fcat[]
i_save = 'A'
is_variant = variant
it_events = events[]
TABLES
t_outtab = t_ut
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " DISPLAY_DATA -
How to find the Data Type of a column
Dear All,
How to find the Data Type of a Column dynamically in oracle Form.
Thanks and Regards,
Fazil
Edited by: user11334489 on Aug 25, 2012 9:06 PMhi,
you can use get_item_property built-in
eg:
declare
l_item VARCHAR2(10);
begin
l_item := Get_Item_Property('item_name',DATATYPE);
end; -
How to find the Date and Time of Modification of Column in aTable?
Hi all,
Do you know how to find the Date and Time of Addition of Column to a Particular Table?.
I know however, How to find the modification time of the Table. Using the below Query :
Select Object_Name, to_Char(Last_DDL_TIME, 'DD-Mon-YYYY HH24:MI:SS') Last_DDL from User_Objects where Object_Type = 'TABLE';
Object_Name
Last_DDL
Employee
20-Aug-2013 09:23:03
I wanted to know the Creation or Modification Date and Timestamp of all columns of Employee Table?. Is it possible at all. If possible, How to get it?.
Regards,
Bhaskar MI agree with you on that. Since its a development enviornment I can remove the column but that not my point here.
My whole purpose it to know whether we get the Column's Creation or Modification DateTime. -
Could someone tell me how to find purchase date so I can register
Could someone tell me how to find purchase date so I can register my Airport extreme on the Apple Support Profile page?
Unless something has changed, the Apple does not provide a specific support warranty for their AirPort products. Instead, typically, you would get this type of warranty only if your purchased an Apple desktop or laptop at the same time and the AirPort would be covered under that one.
If you bought the AirPort directly from Apple, they should have a copy of the receipt. Otherwise, if you used a credit card, check with your card provider. -
How to find master data and atrribute
Hi Experts,
I have table in ECC, transectional data coming from there.
how to find attrib and hierarchies
they have attrib and hierarchies, how to find which one to use.
ThanksSince there is a table doesn't mean that you will have attribute and hierarchy from that table. Seems like you are using top to down approach (Since you have the table, you are looking to create master data from that table). try to think bottom up approach; basically you have requirement and you need to find which object will satisfy your requirement. Look at what objects you need and check if SAP delivered of those objects with their extractor, never mind where it is coming from (Object Oriented approach.... Incapsulations) but it does what you need.
HOpe I am clear.
thanks.
Wond -
How to find Installation Date for each SQL installation
Dear All,
I need a basic info. How to find installation date of each SQL instance (My environment running with multiple standalone/cluster instances)?
So, I need a query to find installation date easily (I don't want to check it in registry by manual). Thanks in advance...Hi Balmukund
This is the same answer that (1) Prashanth posted
from the start, letter on (2) Stan posted
this again with the same link, and now for the third time, (3) you posted it with the same link :-)
* This answer is correct for specific instance.
The OP asked a solution for several instances. Therefore he should execute this on each instance. As I mentioned he can do it dynamically on all instances, for example using powershell (basic logic is, first find all instances and than post this query in a
loop).
Ronen Ariely
[Personal Site] [Blog] [Facebook]
Then your answer is correct :)
Balmukund Lakhani
Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog |
Team Blog | @Twitter
| Facebook
Author: SQL Server 2012 AlwaysOn -
Paperback, Kindle -
REgd How to find appropriate data sourses for given tables in Inve Mngt
Experts!
M completely new to Inventory Mngt where i needto extract data from R/3,
they 've given me some tables, but i dont know how to find appropriate data
sourses for that tables
those are
MKPF,MSEG
EKKO,EKPO
EKBE,EKET
How to find right data sourses when table names given in any module??
pls guide me,
'll assign the points.
thanks
SrujanHi,
2LIS_03_BX is the initialization of your stocks; you'll need to perform the setup procedure for extracting this data.
Usually this DSource is used to bring the stocks positions at a given time; from this given time you'll then extract deltas from BF and UM so your stocks are always:
BX + BF(Delta) + UM(delta).
Hope this clears your doubts...
Olivier. -
How to find last date of month
Dear All,
Can anybody tell me how to find last date of month I need it to check some validations
helpful answer will definatly rewarded
Regards
ShashikantHi,
RP_LAST_DAY_OF_MONTHS Determine last day of month
HR-D: Payroll Germany code
RP_LAST_DAY_OF_MONTHS
HR-D: Determine last day of month
DATE_CONVERT_TO_FACTORYDATE
Returns factory calendar date for a date Calculates and returns factory calendar date for a date (if CorrectOption = '+');
Checks if the date is work day (if CorrectOption = '-').
HOLIDAY_CHECK_AND_GET_INFO Useful for determining whether or not a date is a holiday. Give the function a date, and a holiday calendar, and you can determine if the date is a holiday by checking the parameter HOLIDAY_FOUND. -
How to find which datasource is using table JCDS?
How to find which datasource is using table JCDS?
Hi,
Please find the below link and identify whether will it meet your requirement or not ... If it meets your requirement then I can provide you more documents related to the same which we have in our project. We were using the same for Plant Maintanance project...
For this report the required information is gathering from the different data sources from the ECC system. This report requires object status functional location attributes, Equipment attributes and some specific information apart from normal transaction data for an order.
u2022 Main feeding data sources for this report are 2LIS_17_ORDER and 2LIS_18_ORDER.
u2022 Requires the object status data (system status, number object status and un-number system status) is feeding from different DSO where the status data is staging with different data flow.
u2022 Requires the Order planned end date which is dependent on the operation planned completion date. so we are feeding this field from Operationu2019s DSO where the planned date is staging with different data flow.
u2022 Required characteristic data and attributes of the Functional location is getting from the master data .The 0FUNCT_LOC is updating by master data data sources
u2022 Required standard class of the functional location is updating from other DSO where the classification data is staging with the help of different data flow.
2LIS_17_ORDER and 2LIS_18_ORDER Data flow Details : No enhancement was done for these data sources .
Status Data Flow Details:
The status data is staged because ,this dat is required for the reports based on the Orders, Operations , Notifications, Functional Location and Equipment.
To load suitable data to different DSOs from the Status DSO we maintain the Filters for status profile and status at DTP level.
Required status change dates are deriving based on changed on date ,system status while loading from status DSO to Order DSO.
The system status ,Number object status and un- numberd object status are feeding from status DSO only.The status DSO is updating by u20180TE_OBJ_STATUS_HISTu2019.This Is based on the tables JCDS,JSTO and T000.
JCDS MANDT = JSTO MANDT
JCDS OBJNR = JSTO OBJNR
T000 MANDT = JCDS MANDT
This DS has enhanced for the below two fields
1. Order Number
2. Operation/Activity Number
The Logic to populate the above two fileds is as below.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e4/1522bae6aa46b8802dca454e846d58/frameset.htm
regards
BVR -
How to find the data loaded from r/3 to bw
hi
how to find the data loaded from r/3 to bw is correct . i am not able to find which feild in the query is connected to which feild in the r/3 . where i am geting the data from r/3 . is there any process to find which feild and table the data is comming from . plz help
thanks in advance to u allHi Veda ... the mapping between R/3 fields and BW InfoObjects should take place in Transfer Rules. Other transformation could take place in Update Rule.
So you could proceed this way: look at InfoProvider Data Model and see if the Query does perform any calculation (even with Virtual keyfigures / chars). Than go back to Update Rules and search for other calculation / transformation. At least there are Tranfer Rule and eventually DataSource / Extraction Enhancements.
As you can easily get there are many points where you have to look for ... it's a quite complex work but very usefull.
Once you will have identified all mappings / transfromation see if BW data matchs R/3 (considering calculations ...)
Good job
GFV -
How to find Archive data In SAP
Hi experts ,
How to find Archive data in SAP throught the following tcodes FTWL & AS_afb.
Thnx
VenkyHello,
Transaction FTWL is for the DART files (not actually archived data) that are stored in your archive server. In order to run a query, or browse the DART file, you would need to "Import from archive" from within FTWL and then browse the file.
I am not sure what you mean by AS_afb. Please provide more information.
Regards,
Karin Tillotson -
How to find out query name using Elements of the query builder.
Hi SDNers,
how to find out query name using Elements of the query .
thanks,
satyaaHi,
For having a look at the relation between BEx tables,check the link below:
http://wiki.sdn.sap.com/wiki/display/BI/ExploretherelationbetweenBEx+Tables
-Vikram -
How to find the File name using the FTP Adapter
hi all,
how to find the File name using the FTP Adapter with BPEL.
RegardsFound 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 date my iPhone 4s was manufactured
Hi, Please can anyone tell me how to find the date my iPhone 4s 64gb was manufactured. I have the serial and i-m-e numbers. For some reason my Insurance company want to know, all I wanted to do was add the phone to my all risks policy. Thanks in advance for any advice.
That's all you will get, there is no way to know the manufactured date only the warranty status from date of original sale and it is most unlikely your warranty is still "good" on an iPhone 4
Maybe you are looking for
-
I wish an Ipad. Is it possible to work on the screen with 2 files toghether (ex: 2 Pages files in the same screen view) ? I need to make some transalations and so it's important for me to have the english text and the italian version that I am making
-
Serious issue with Windows XP on Boot Camp
Whenever I run an application on Windows XP, the blue screen of death pops up after about 5 to 10 minutes or so and my computer automatically restarts. When I log back onto Windows, the system tells me that it has recovered from a serious error. Here
-
Problem with commandButton action listener! Help
I have a problem with the following and its driving me crazy!! I'm getting a java.lang.NoSuchMethodException for RoomHandler.flipBoard. It seems to render the button correctly with its value. But I can't see why It can't find that method, because its
-
Cannot get a trial version of Adobe Illustrator
I want to try Adobe Illustrator; I downloaded Adobe Creative Cloud in order to get a trial version of Adobe Illustrator. I downloaded it, updates included. At the end of the process I double click on Adobe Illustrator app and I get an error message:
-
Dear all, I have a report for this report i want to insert a data into one table. when am inserting the data then two time its inserted. if i run the report its inserted the data and i have taken the pdf file then also inserted 2 time for this any on