Regarding find the duplicates using match transformation
Hi ,
I want to find the duplicates on mutiple fields , how can i pass i the input to match transformation. I gave the input by mergeing the input fields and pass it as input. with out concatenating any alternative way to give input to the match transformation and find the duplicates.
Thanks & Regards,
Ramana.
Hi Sarthak,
Thanks for your response. I am not finding the cross field duplicates. I want to find the duplicates on multiple fileds not across the fields.
E.g. : take customer data
CUSTOMER NO CUSTNAME STREET CITY COUNTRY POBOX ZIPCODE TELEPHONE
1000 C.E.B. BERLIN Kolping Str. 15 Berlin DE 06894/55501-0
1001 C.E.B. BERLI Kolping Str. 15 Berlin DE 06894/55501-0
1002 C.E.B. BERLIN Kolping Str. Berlin DE 06894/55501-0
1003 C.E.B. BERLIN Kolping Str. 15 Berli DE 06894/55501-0
Here we have 4 records are potential duplicates because in the second record customer name last character N missing , in the 3rd record street missing the street number and in the 4th record city missing the last character n. if we concatenate and find the duplicates means we will get it as duplicates. Without concatenating any possibilities are there finding the duplicates for this type of data.
Thanks in Advance.
Regards,
Ramana.
Similar Messages
-
Hi,
I am having a entire road network of NA in Oracle Spatial as SDO geometry. I used to connect this db using arcmap through arcsde. When I use the Identity tool on Interstates, I am getting 3 records as output.
I tried to use SDO_NN_DISTANCE(1) with a distance of 200 feet. I am getting two or three rows, SDO_NN_DISTANCE(1) as dist provides the same distance for two or three rows. Each row represents the same road segment with their alternative names.
How to find the duplicates in Oracle Spatial.
Thanks
Vadivelan. PHi Vadivelan,
Identifying duplicate geometries is a common requirement in Oracle Spatial. Rather than repeat previous advice given on this forum, I think its best to point you in the direction of the search results:
http://forums.oracle.com/forums/search.jspa?threadID=&q=duplicates&objID=f76&dateRange=all&userID=&numResults=15&rankBy=10001
Regards,
John -
How to find the configuration use the Z message class.
Usually when I do some configuration, it may need to create some message. such as the Validation.
It raise a message when I run some standard t-code. So when I check some Z message class to find what program use this message, i can not find anything. So I assume there might two situation:
1、we can not trace it dome when the program didn't write like this way: MESSAGE E003(ZFI).
2、this message might be used in some configuration,not in program.
so how do we find the configuration use this message? or Is there any way can trace all message ?
Thank you so much for your sincere answer.Hi,
Case 1: Message is defined correctly with message number & message class.
Example - Message E003(ZFI).
Easy to locate the message using whereused list.
Case 2 :
There are some FM's like BALW_BAPIRETURN_GET where we pass the message details.
For example :
call function 'BALW_BAPIRETURN_GET'
exporting
type = p_message-msgty
cl = p_message-msgid
number = p_message-msgno
par1 = p_message-msgv1
par2 = p_message-msgv2
par3 = p_message-msgv3
par4 = p_message-msgv4
* LOG_NO = ' '
* LOG_MSG_NO = ' '
importing
bapireturn = p_return
exceptions
others = 1.
In these case, we won't be able to track the message number from where used list. So, what we do is before calling these FM we use the below statement,
IF 1 = 2. message e003(zfi). ENDIF.
so that message can be tracked using where used list.
Case 3: Some messages can be configured in message control.( Table T100S ) . For those
messages we search for table T100S in the program.
Regards,
DPM -
How to write the query to find the duplicate rows?
Hi,
How will I find the duplicate rows in the table?
I have a table called ITEM
Select item_no,mfg_id from item
Item Mfg_ID
178 06278
178 06589
238 5489
289 7895
289 7596
Now I want to find only the duplicate rows i.e.,178 & 289 is coming twice.
How will get the all duplicate rows in the table?nihar2 wrote:
Convert to
SELECT it.item,
im.mfg_item,
im.manufacturer,
im.description
FROM (SELECT it.item,
im.mfg_item,
im.manufacturer,
im.description,
count(it.item) over(partition by it.item order by it.item) cnt
FROM item it,item_mfg im
WHERE it.u##item=im.u##item)
WHERE cnt > 1
But I tried It show not valid identifier.You can't use the table aliases from the sub-query...
SELECT item,
mfg_item,
manufacturer,
description
FROM (SELECT it.item,
im.mfg_item,
im.manufacturer,
im.description,
count(it.item) over(partition by it.item order by it.item) cnt
FROM item it,item_mfg im
WHERE it.u##item=im.u##item)
WHERE cnt > 1 -
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 -
How to find the Tcodes used by user
Hi
Can anybody help me to find out the way to check which t.codes or programmes one user had run till his last logon.
Regards
ManvirHi,
You can also find in st03n.
1. Open st03n --> expert mode
2. Double click on the period(today,week/month) to find the tcodes used by the user in that period.
3. Now expert dialog mode will be displayed in the left corner. Please select transaction profile
4. Double click on the same, you will find the all the results in right side dialog. click on find and enter user name.
5. Now again double click on the user. You can see all the transactions used by user.
Regards,
Gowrinadh -
When I create a New Folder (on the desktop or in Finder), the system uses the Generic Document Icon instead of the Generic Folder Icon. How can I change this back?
All of a sudden I noticed that most of the folders on my computer were no longer using the folder icon, but the generic document icon. I had to manually change back the icon being used by opening Get Info for each folder and copying and pasting the generic folder icon from some folders that remained unchanged. Now whenever I create a New Folder (right click -> "New Folder"), the icon that shows up is the generic document icon (white page with top right corner turned down). And I have to manually change it so it shows up as a folder in Finder or on my desktop. I don't know why or how this switch happened. All of the folders now on my computer look ok, but I need to change the default so when I create a New Folder it uses the correct icon.
I have also Forced Relaunch of my Finder and rebooted the system. I downloaded Candybar but am not sure what will fix anything, so I haven't proceeded.
Anyone know how I can do this? Thanks.Anyone?
-
How to find the duplicate in the table
i have a table with the 3 columns
table name - employee
empcode firstname lastname
123 xyz pk
456 yzz pk
101 kkk jk
ALTER TABLE employee
ADD (CONSTRAINT employee_PK PRIMARY KEY
(empcode , firstname , lastname))
all the three columns make as porimary key, we are migrating the data there are issues with the data as the cobination of all the three resulting in duplicate, the last column is expected to have the duplicates but first two columns will not have the duplicate and one full row in the table (combintation will not have duplicates)
need a query find the duplicates for the full row validationAssuming that there may be other columns in the table;
with t as (
select 123 empcode, 'xyz' firstname, 'pk' lastname, 10 col4 from dual union all
select 456, 'yzz', 'pk', 20 from dual union all
select 456, 'yzz', 'pk', 30 from dual union all
select 101, 'kkk', 'jk', 40 from dual)
select empcode, firstname, lastname, col4
from (select t.*,
count(*) over(partition by empcode, firstname, lastname) num_rows
from t)
where num_rows > 1;
EMPCODE FIRSTNAME LASTNAME COL4
456 yzz pk 30
456 yzz pk 20 -
How can I find the schemas used in a database? Any system table contains?
How can I find the schemas used in a database?
Any system table contains?
I would like to know sql statement (dictionary object name) which tells the all schema s in a database like dba_users.Hello,
this SQL should help:
db2 "select schemaname from syscat.schemata" -
Where does one find the Very Useful tool, Magic Wand, in the latest version of Photoshop, anyone? Its been well hidden. Why change for change's sake?
csuebele wrote:
I guess I'm too slow, Trevor.
That's no bad thing Chuck. It indicates that you have better things to do than constantly refresh the forum LOL.
I'm having a wee posting spree today after lacking the inclination to respond to the same old threads for the last few days. But I do love it when people get all in a tizzy complaining about stuff that is right under their nose (so to speak). So I guess my criteria for responding is often based as much on how big a smile it puts on my face, as to how much I am helping the OP. Unfortunately that irreverent approach gets me into trouble at times, and one of the moderators deleted one of my illustrated replies just a few days ago. It took me a few minutes to work out why it had been deleted. The subtext was 'risking one eye', and I eventually realized that the implied 'risk' could definitely be seen as offensive to some people. -
wat if i have lost my iphone and the person delets my icloud ID and enters his own new one can i still look find the phone using Find my iphone using my earlier ID or will it not pick up my phone as he changed the Icloud ID which was associated to me ID
if someone deletes icloud or even if you wipe phone it is not traceable anymore.
-
Problem in finding the Duplicate as well as Non-Duplicate count
Hi,
I have a scenario where I have a table TABLEA which has 3 values
10 ABC
10 ABC
20 DEF
I want to pick up the duplicate count as wel as non duplicate count:
I have used the following query:
SELECT COUNT(*) FROM TABLEA A WHERE A.ROWID > ANY (
SELECT B.ROWID FROM TABLEA B WHERE
A.CODE=B.CODE)
But I am finding problem in getting the non-duplicate count .
Any help will be needful for me
Edited by: user598986 on Sep 23, 2009 11:32 PMuser598986 wrote:
Hi,
I have a scenario where I have a table TABLEA which has 3 values
10 ABC
10 ABC
20 DEF
I want to pick up the duplicate count as wel as non duplicate count:
I have used the following query:
SELECT COUNT(*) FROM TABLEA A WHERE A.ROWID > ANY (
SELECT B.ROWID FROM TABLEA B WHERE
A.CODE=B.CODE)
But I am finding problem in getting the non-duplicate count .
Any help will be needful for me
Edited by: user598986 on Sep 23, 2009 11:32 PMHi,
perhaps this query makes your job:
HR: XE > select * from test_;
NAME SALARY HIRE_DATE START_DAT END_DATE
15-SEP-09 15-SEP-09
15-SEP-09 01-DEC-09
john 27-AUG-09 16-SEP-09 16-SEP-10
28-FEB-09 20-SEP-09
Dave 2 17-JUN-08 16-SEP-09 02-JUL-11
1000 21-AUG-82 08-MAY-10
6 rows selected.
HR: XE > select count(hire_date), hire_date from test_
2 group by hire_date;
COUNT(HIRE_DATE) HIRE_DATE
1 27-AUG-09
1 21-AUG-82
2 15-SEP-09
1 28-FEB-09
1 17-JUN-08
HR: XE > select count(id), id from
2 (
3 select hire_date, 'simple' id from test_
4 minus
5 select test_.hire_date, 'simple' id
6 from test_
7 where test_.hire_date In (Select hire_date FROM test_ GROUP BY hire_date HAVING Count(*)>1 )
8 union all
9 select test_.hire_date, 'double' id
10 from test_
11 where test_.hire_date In (Select hire_date FROM test_ GROUP BY hire_date HAVING Count(*)>1 )
12 )
13 group by id;
COUNT(ID) ID
2 double
4 simple
HR: XE > Regards,
Ion -
How do I find the codec used for a .mov file?
I have a .mov file from 2001 that I can't play. How do I find the correct codec to use for this. Is there somewhere in the file itself some kind of reference to the codec used? I've installed pretty much everything I could find in terms of codecs. I don't care whether on mac or windows. Just need the right codec.
Thorbjørn VynneStill no luck
If anybody out there wanna give it a try please download this clip
http://mhp.tv2nord-digital.dk/fileadmin/resources/thor/dv-00.27.04.11-V180.mov
If you can play it please please let me know with which codec.... I have a whole bunch of files with this codec I need to use
Best regards
Thorbjørn -
To find the duplicate record in internal table
Hi,
i have a requirement to fine the duplicate record with 3 fields.
i am getting a flat file with 15 fields .
i need to check the duplaicate records of 3 fields . if i get any 2nd same record of 3 fields , the records will go to other internal table.
for ex :
1. aaa bbb ccc ddd eee fff ggg hhh
2. aaa bbb ccf dde edd ffg ggh hhj
3. aaa bbb cce ddd ees ffh ggu hhk
in that 1st record and 3rd record are same (aaa bbb ddd)
i need to find 3rd record
please help me
regrards
srinivasuhi,
itab2[] = itab1[].
sort itab1 by f1 f2 f3.
sort itab2 by f1 f2 f3.
delete itab2 index 1. "to delete the first record in itab2.
loop at itab1 into ws_itab1.
loop at itab2 into ws_itab2.
if ws_itab1-f1 = ws_itab2-f1 and
ws_itab1-f2 = ws_itab2-f2 and
ws_itab1-f3 = ws_itab2-f3.
ws_itab3 = ws_itab2.
append ws_itab3 into itab3. "Third internal table.
endif.
endloop.
delete itab2 index 1.
endloop.
ITAB3 will have all the duplicate records.
Regards,
Subramanian -
Where to find the XSLT used for the standard interface in SAP ME 5.2 SP05?
Hallo!
Starting with SAP ME 5.2 SP05 there is a new logic for the standard interface used in SAPMEINT.
I wonder where to find the XSLT's that are used for transforming the XML messages?
I can see from the SAP NW log:
[Transaction: -1] starting execution of Visiprise/ERPShopFloorIntegration/frame/workflow/XSLTDelegate.trx
Loading file Visiprise/WEB/XSLT/Outbound/EquipmentStatusChangeUnSchDown/EquipmentStatusChangeUnSchDownRequest.xslt
select: path Visiprise/WEB/XSLT/Outbound/EquipmentStatusChangeUnSchDown
select: name EquipmentStatusChangeUnSchDownRequest.xslt
The definition for this XSLT is as follows:
WEB://Visiprise/XSLT/Outbound/EquipmentStatusChangeUnSchDown/EquipmentStatusChangeUnSchDownRequest.xslt
How is this resolved???
From the (pre SP05) SAPMEINT I know two variants:
1. High performance interface
The XSLT files come from the MII shared memory entries for project SAPMEINT
2. Standard interface
The XSLT files come from SAP ME (table XSLT and XLST_ASSIGBNMENT) via calling a HTTP URL like
http://<hostname>:<port>/manufacturing/vm/xslt?id=RouterFeed
Kr,
Erich LindHello!
I found the answer myself now.
The XLST files are part of the static web content of the MI project Visiprise.
In the SAP MII workbench go to the project Visiprise
Then under the tab Web the static contecnt can be found under the folder WEB/XSLT/..
Maybe you are looking for
-
Pages 09 won't open .pages document
Received a pages file from a colleague. When I double click to open it, Pages starts, then I get get the message: The document "xxxx xxxxxx xxxxxx.pages" could not be read. The document does not have a valid format. What the heck does that mean??? Ho
-
Dear Gurus, I have to design a report to calculate the cost of attrition in SAP. I understand that there is no standard build up for it in SAP, and a BI report to be developed. Being a functional consultant need to give inputs for the report to BI co
-
I can't get rid of this blue border around my artwork after it's published to the web
I can't get rid of this blue border around my artwork after it's published to the web
-
How to put 'Continue in next page' below the table.
Hi, I have an invoice where all the lines are not fitting into one page. So some of the lines are getting printed in the second page. But in this case I wanted to put a message below the first page as "continue on next page" Since Iam a newbie to XML
-
Value Mapping and Dynamic Value Mapping
Hi Experts, Could you please give a example for Value Mapping and Dynamic Value Mapping? Regards Sara