BPEL Assign activityafter copying data, loosing namespace
Hello Guys,
in BPEL, using assign activity to copyList data from one payload to another payload, when i look the audit trail, namespace are missing, take an example.
input:
<inputVariable>
<part name="payload">
<ns1:personsElement manager="Manager Name">
<ns1:person ssn="SSN-123">
<ns1:firstName>First Name - A</ns1:firstName>
<ns1:lastName>LastName-B</ns1:lastName>
</ns1:person>
<ns1:person ssn="SSN-2222">
<ns1:firstName>First Name - BBB</ns1:firstName>
<ns1:lastName>LastName-CCCC</ns1:lastName>
</ns1:person>
</ns1:personsElement>
</part>
</inputVariable>
I'm getting out when i user assign
<assign name="Assign1">
<bpelx:copyList bpelx:ignoreMissingFromData="yes">
<bpelx:from variable="inputVariable" part="payload"
query="/ns1:personsElement/ns1:person"/>
<bpelx:to variable="outputVariable" part="payload"
query="/ns1:personsElement/ns1:person"/>
</bpelx:copyList>
<copy>
<from variable="inputVariable" part="payload"
query="/ns1:personsElement/@manager"/>
<to variable="outputVariable" part="payload"
query="/ns1:personsElement/@manager"/>
</copy>
</assign>
Output data:
<outputVariable>
<part name="payload">
<personsElement manager="Manager Name">
<ns1:person ssn="SSN-123">
<ns1:firstName>First Name - A</ns1:firstName>
<ns1:lastName>LastName-B</ns1:lastName>
</ns1:person>
<ns1:person ssn="SSN-2222">
<ns1:firstName>First Name - BBB</ns1:firstName>
<ns1:lastName>LastName-CCCC</ns1:lastName>
</ns1:person>
</personsElement>
</part>
</outputVariable>
the namespace ns1: missing in personsElement node, please help me how to add namespace
Hi,
You are viewing this in "Audit Trail" on em console . Please view the same in "Flow" Tab. You will find the namespaces in Assign.
Thanks,
Richa.
Mark it Correct(10 points)
Mark it helpful(5 points)
Similar Messages
-
Copying data from excel(more than one row) and pasting into table control
I have a requirement to copy data from excel and have it pasted it into the corresponding fields table control when the user clicks on an icon.For the first part I used a class to copy it from the clip board.By the previous process,I get the data inside an internal table, but even after trying to split the data using 'split at cl_abap_char_utilities=>horizontal_tab into table itab.' it's not working.The table and the excel file are of the same structure.
Does anyone know any cause as to why it might not work?Is there any other way to achieve my objective?
BonHi,
try to get data into internal table as below
TYPES : BEGIN OF ty_data ,
zbukr TYPE payr-zbukr ,
hbkid TYPE payr-hbkid ,
hktid TYPE payr-hktid ,
rzawe TYPE payr-rzawe ,
chect TYPE payr-chect ,
laufd TYPE reguh-laufd ,
laufi TYPE reguh-laufi ,
lifnr TYPE reguh-lifnr ,
vblnr TYPE reguh-vblnr ,
rwbtr TYPE reguh-rwbtr , "uncommented
unique_no TYPE char13 , " Added SAP Doc. No. and current year concate in NEFT,RTGS and Fund Transfer cases
END OF ty_data .
DATA : wa_file LIKE LINE OF it_file ,
wa_data TYPE ty_data .
DATA: it_data1 TYPE kcde_intern WITH HEADER LINE,
wa_data1 LIKE LINE OF it_data1.
start-of-selection.
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = lv_file1
i_begin_col = '1'
i_begin_row = '4'
i_end_col = '11'
i_end_row = '60000'
TABLES
intern = it_data1
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc = 0.
PERFORM format_data.
ENDIF.
FORM format_data.
DATA : ld_index TYPE i.
FIELD-SYMBOLS : <fs>.
DATA it_tab LIKE wa_data OCCURS 0 WITH HEADER LINE.
LOOP AT it_data1.
MOVE it_data1-col TO ld_index.
ASSIGN COMPONENT ld_index OF STRUCTURE
it_tab TO <fs>.
MOVE : it_data1-value TO <fs>.
MOVE it_data1-value TO p_table.
AT END OF row.
APPEND it_tab.
CLEAR it_tab.
ENDAT.
ENDLOOP.
it_data[] = it_tab[] .
ENDIF.
endform. "format_data -
Copy data of posting level greater 10 in EHP2
Dear all,
We install EHP2 ( enhancement package 2 ) to our BCS.
According to the document , we should be able to copy data with posting level >10.
We are trying to copy data(all data types) from one group currency to another one.
First ,we create a copy method with data type = All data types and with one currency translation method.
We also create a copy task with that method.
When we run the task, the system keep showing that :
=====================================================
Data stream for activity numbers is incomplete
Message no. UCF6884
Diagnosis
The data stream for activity numbers does not contain the Source System and Referenced Activity fields. Therefore, the system cannot store the link between the new activity number to be assigned and the activity number of the source.
System Response
The data cannot be copied or loaded.
Procedure
Add the missing fields to the data stream for activity numbers.
======================================================
There are two fields missing Source System and Referenced Activity.
But, I don't know where or which data model we should assign those two fields.
We try to add 0BCS_COINRR & 0LOGSYS to activity number DSO.
The system still shows that message.
Anyone knows how to make the copy work with posting level > 10?
Please advise .
Thx,
Jeff
Edited by: Jeff Huang on Sep 16, 2008 3:25 AMJeff, are you still havnig this problem?
- after we have implemented EHP2, I hope to copy PL20 and 30 too.
Please let me know if you have succeeded or have found a workaround -
How to copy data from one column to other column
hi,
can any one tell me how to copy data of one column to other column for some specific data
example
productno ocalyear actualsales prevplansales currentplansales
p001 2007 100 120
p002 2007 90 100
p003 2007 120 130
p004 2007 140 120
p005 2007 150 150
i want to copy data of p001 and p002 from prevplansales to current plansales
productno ocalyear actualsales prevplansales currentplansales
p001 2007 100 120 120
p002 2007 90 100 100
p003 2007 120 130
p004 2007 140 120
p005 2007 150 150
is it possible to do?
please suggest me.
i will assign pointsHi,
I think the needed techniques are already described in the documentation, e.g. in
http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
or
http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
The main techiques used in the above example to bind the filter of the planning function to selected (marked) objects in the analysis item or to drop down boxes (or both). These techniques are used in the above examples.
Regards,
Gregor -
Copying dates from service contract to an activity
Hello All,
My requirement is this. I need to capture my contract start and end dates in the follow-up transaction(which is an activity).This activity would be created manually from contract. I tried assigning the standard date rules(contract start and end date) to the date types in the activity. But it did not work. Is there any way to achieve this through configuration?
Regards
AnkitHi Ankit,
You can achieve this using "Copy Controls".. This is a set of configurations that will suggest what are the things that need to be copied from the parent transaction to the follow up transaction.
You can copy both header level and item level details. In your case, you can configure to copy the date types into your follow-up.
Cheers,
Sreenivas
Enjoy CRM -
How to Copy data from field symbol to Dynamic Internal Table
Hi,
I want to copy the data between two dynamic Internal tables . Following is the code were I have data in the field symbol wanted to transfer it to the other Internal table :
REPORT ztest.
DATA:
gd_dref TYPE REF TO data,
gd_dref1 TYPE REF TO data.
FIELD-SYMBOLS: <fs1> TYPE any,
<fs_wa> TYPE any,
<field> TYPE any,
<fs_wa1> TYPE ANY TABLE. * Contains data from p_src
*Copy data from p_src to p_dest*
PARAMETERS: p_src LIKE dd02l-tabname . * Name of Dynamic Internal table *
p_dest LIKE dd02l-tabname . * Name of Dynamic Internal table*
*DATA : lt_csks LIKE p_dest WITH HEADER LINE.
START-OF-SELECTION.
CREATE DATA gd_dref TYPE (p_src).
CREATE DATA gd_dref1 TYPE TABLE OF (p_src).
ASSIGN gd_dref->* TO <fs_wa>.
ASSIGN gd_dref1->* TO <fs_wa1>.
SELECT * FROM (p_src) INTO TABLE <fs_wa1>.
*Write out data from FIELD SYMBOLS TO Table.
loop at <fs_wa1> into <fs_wa>.
do.
assign component sy-index
of structure <fs_wa> to <field>.
if sy-subrc <> 0.
exit.
endif.
if sy-index = 1.
write:/ <field>.
else.
write: / <field>.
endif.
enddo.
endloop.
*Need Logic To Copy the Data to p_dest table from <fs_wa1>.
*p_dest is a table having a similar structure to table p_src .
*Need Logic To Copy the Data to p_dest table from <fs_wa1>.
EXIT.
Thanks in Advance.try this...
I have extended your source code and just used vbak/vbap as an example as they have some common fields like vbeln/erdat etc which corresponds with your requirement of 'similar structure' i.e. shared/common fields in both.
Cheers...
report ztest.
data:
gd_dref type ref to data,
gd_dref1 type ref to data,
gd_dref_str type ref to data,
gd_dref_tab type ref to data.
field-symbols:
<fs1> type any,
<fs_wa> type any,
<fs1_dest_str> type any,
<fs_dest_tab> type any table,
<field> type any,
<fs_wa1> type any table.
* contains data from p_src
*Copy data from p_src to p_dest*
parameters: p_src like dd02l-tabname default 'vbak',
* name of dynamic internal table *
p_dest like dd02l-tabname default 'vbap'.
* name of dynamic internal table*
*data : lt_csks like p_dest with header line.
start-of-selection.
create data gd_dref type (p_src).
create data gd_dref1 type table of (p_src).
assign gd_dref->* to <fs_wa>.
assign gd_dref1->* to <fs_wa1>.
select * from (p_src) into corresponding fields of table <fs_wa1>
up to 3 rows
where vbeln ne space.
create data gd_dref_str type (p_dest).
create data gd_dref_tab type standard table of (p_dest).
assign gd_dref_str->* to <fs1_dest_str>.
assign gd_dref_tab->* to <fs_dest_tab>.
*write out data from field symbols to table.
loop at <fs_wa1> into <fs_wa>.
" break-point here - can see vbeln/waers/create date/ etc move over to new structure
" the 'common' fields of your structures - the same will happen. if they not the same name you will have to do an
" explicit move i.e. if fieldname = xyz ....move fieldxyz to new field123....after the move-corre
break-point.
move-corresponding <fs_wa> to <fs1_dest_str>.
insert <fs1_dest_str> into table <fs_dest_tab>.
** do.
** assign component sy-index
** of structure <fs_wa> to <field>.
** if sy-subrc <> 0.
** exit.
** endif.
** if sy-index = 1.
** write:/ <field>.
** else.
** write: / <field>.
** endif.
** enddo.
endloop.
" write out some dest data from the dest table build from previous loop
loop at <fs_dest_tab> assigning <fs1_dest_str>.
do.
assign component sy-index of structure <fs_wa> to <field>.
if sy-subrc <> 0.
exit.
endif.
if sy-index = 1.
write:/ <field>.
else.
write: / <field>.
endif.
enddo.
endloop. -
Hi All,
I am trying to implement BADI CRM_COPY_BADI while creating follow up from LEAD to TASK , where I need to copy LEAD_END date of u2018Leadu2019 to DUE_DATE of u2018Tasku2019.
I am trying to put the code in IF_EX_CRM_COPY_BADIDATES but the debugger does not stop at this method where as for IF_EX_CRM_COPY_BADIORDERADM_H it stops.
Could you please help me in understanding why the DATES method is not called on creating TASK followup from LEAD, whereas DATES method gets called when creating followup for Activity.
Or may be if this does not work then I need to copy the dates using CRMV_EVENT, or is there any other workaround.
Regards,
Dipesh.Hi Maggie ,
Thanks for the guidance.
After debugging I found that the Date types in LEAD and TASK are different. That is in TASK I want to set the 'ORDERPLANNED' type and this is not there in the LEAD date profile. So the badi DATE method wo't be called.
other workaround's
1. I am trying to create CRMV_EVENT and set the 'ORDERPLANNED' date using FM 'CRM_APPT_MAINTAIN_MULTI_OW' , but this does not set the DUE_DATE for TASK.
2. in the BADI inside IF_EX_CRM_COPY_BADI~ORDERADM_H method , trying to use FM 'CRM_APPT_MAINTAIN_MULTI_OW' but this sets the assignment block planned date's not the header value for Due_date.
data: gt_appointment type crmt_appointment_comt.
data gs_appointment like line of gt_appointment.
data: gt_input_fields type crmt_input_field_tab,
gs_input_fields type crmt_input_field,
gs_field_names type crmt_input_field_names.
data: lt_activity type crmt_activity_h_comt.
data: ls_activity type crmt_activity_h_com.
data: iv_object_guid type CRMT_OBJECT_GUID .
gs_appointment-ref_guid = cs_orderadm_h-guid. "'DFAC8D7F8BBBCFF1BC83001A644955AE'.
gs_appointment-ref_kind = 'A'.
gs_appointment-appt_type = 'ORDERPLANNED'.
lv_startdate = ls_ztab-registerdate.
convert date sy-datum time sy-uzeit
into time stamp gs_appointment-timestamp_from time zone sy-zonlo.
gs_appointment-TIMESTAMP_TO = '20111113183000'.
gs_appointment-mode = 'B'.
insert gs_appointment into table gt_appointment.
gs_input_fields-ref_guid = cs_orderadm_h-guid. "guid of TASK
gs_input_fields-ref_handle = 0.
gs_input_fields-ref_kind = 'A'.
gs_input_fields-objectname = 'APPOINTMENT'.
gs_input_fields-logical_key = 'ORDERPLANNED'.
clear gs_field_names.
gs_field_names-fieldname = 'TIMESTAMP_FROM'. "payment term
append gs_field_names to gs_input_fields-field_names.
gs_field_names-fieldname = 'TIMESTAMP_TO'. "payment term
append gs_field_names to gs_input_fields-field_names.
insert gs_input_fields into table gt_input_fields.
iv_object_guid = cs_orderadm_h-guid.
CALL FUNCTION 'CRM_APPT_MAINTAIN_MULTI_OW'
EXPORTING
iv_ref_guid = iv_object_guid
iv_ref_kind = 'A'
it_appointment_com = gt_appointment
CHANGING
ct_input_fields = gt_input_fields
EXCEPTIONS
precondition_violation = 1
invariant_violation = 2
OTHERS = 3.
Regards,
Dipesh. -
Problem copying data between tables
Hello Members,
Its my first day using SQL queries on oracle 10g database.I used the following query to copy selected feilds of a table :
CREATE TABLE SAMPLE_TEMP as (SELECT CUSTOMER, BALANCE FROM CUSTOMER_ALL)
The CUSTOMER_ALL table has over 2 million records. I was successful in creating a table and copying data, but the new table could populate only 52978 records.
---- Sample data in my table
CUSTOMER BALANCE
6.28899273 0
6.28899274 0
6.28899275 0
6.28899289 625.12
6.28899292 2666.24
How do I go about fixing this ? Do i need to declare a structure and assign the number of records i will store to it ? Any guidance will help me get started.
Regards
newbieHello,
If the CUSTOMER_ALL table is a live table, there may have been new records INSERTed since you copied the data, therefore you will have different counts.
To check on the data difference:
SELECT CUSTOMER, BALANCE FROM CUSTOMER_ALL
MINUS
SELECT CUSTOMER, BALANCE FROM SAMPLE_ALL -
TimeCapsule security information - READ THIS before copying data!!!!
I bought my TimeCapsule yesterday, spent all night (literally) copying data off some old usb/firewire drives and then was struck by the "Not everyone on my network should have access to all of this stuff!" moment.
I had been reading these posts - and realize that I was going to have to be the one to bite the bullet and experiment with security. I have it working - and it seems to work just fine. Here's what I did.
The timecapsule install program guides you through setting the device up. But ... what it does not do (BAD BAD DEVELOPERS!!!! I want to hit you with the stupid stick!!) is tell you about security. I assumed, like others that have posted here, that I would be able to set security permissions on different folders just like any other Mac drive. NOPE! Doesn't work. You have the options at the bottom of "get info" on the drive folder, but .. it doesn't do anything!!!
All is not lost though read on.
Relaunch the airport utility (Applications->Utilities->Airport Utility) select your TimeCapsule device, and this time select the "Manual Setup" button at the bottom of the window.
At the very top you will see a blue disk on the toolbar labeled "Disks". When you select that you will then have three things to choose from - Disks, FileSharing, and Accounts. Click FileSharing.
You will see a dropdown called "Secure Shared Disks". By default it will say "With disk password". Select "With accounts". You will get a very ominous message that says (paraphrasing here) that if you do this you will loose all existing data on the drive. You know what? It means it. You do. Gone. All gone. I copied data all night - and now I have to do it again. Did I mention how mad I am at the people at Apple and their extreme oversight about this? The "wizard" should have provided a LOT more information about security - or at least their documentation. But I digress.
Once you have picked "With accounts" and clicked "OK" on the scary message, select "Accounts". TimeCapsule will not automatically pick up on the accounts on your mac or anyone elses. You have to enter them here. But it's really no big deal, when users connect the first time they can save their info so they don't have to do it again. Anyway - put in all the accounts and passwords you think you might want - you can add more as needed later.
At this point the utility restarts TimeCapsule. Once it comes up connect to the drive (select it in finder and then "connect as"). You will be prompted for an account name and password - you know what to do here.
Now here is what you will find. Remember the disk folder that was visible to anyone and everyone when you first set TimeCapsule up? Well, it's still there. But empty (actually, I think the data is still on the drive but you can't see it and I have no idea how to get it back). It's now, more or less, a "public" folder for everyone to share (that's where my Itunes library will go) And there will be another folder - with your account name on it. Guess what? It's private just for you (actually for whoever is logged on with the respective account). No one else can even see it. I have been testing this with four different accounts and it works great! One account will be shared by two people (a collaboration area of the drive) while at the same each will have their own private area (virtual, not physical like a partition) on the drive.
So now I am going to start copying my data (again!!) to the appropriate account folders. Oh, there is NO admin who can see all of the accounts.
I really hope this helps someone. I was more than a little frustrated at 4AM this morning and hope I can prevent the same for someone else.
Have a great day!
XThe NAS units are Fantom Drives Mega disks. Here are some things you should know:
Pros:
Dual drive units. Can either be striped to give 1TB or RAID 1 at 500g. RAID 1 doesn't seem to slow them down.
Web interface - Obviously written by Chinese but understandable and functional.
Company support for questions has been ok. I wouldn't say great but probably better than Apple. Twice I was able to talk to a human about how to achieve something.
The iTunes server is virtually automatic. There is a public/music directory. Anything placed in there is automatically served. I decided to point my actual iTunes library to that location. Now when a song is added for any reason the server picks it up immediately.
Cons:
Power cords are bad. The unit is best left in a remote location where nothing can touch the power cord.
Some people have had failures of these units. I personally have not. They work fine and as advertised.
Because they use a different file system it is possible to have filenames on the Mac that won't work on the NAS. I've run into this. The result is the file simply will not copy over. Change the name and it works. Avoiding key unix chars in the filename helps and keeping it reasonably short.
My experience:
I have pounded these NAS devices with multiple copies from multiple machines and they just seem to work. Once connected they just continue to remain connected.
Like I said above I point my iTunes directory there. On reboot I have to reconnect to that drive before I start iTunes as I've been too lazy to setup any kind of auto-reconnect. Honestly I don't reboot that much so I haven't worried about it. But once connected iTunes just works perfect.
The accounts seem reasonable secure. I setup an account for a buddy and put some files in it and gave him FTP access. He was unable to get anywhere else but his directory. He could see the other directory names but could not move to them. Same result when he was here locally. -
Can not copy data within a realtime cube due to combination issues
Hello all,
I want to use a planning function on a realtime cube in order to copy data from from Co_area CO1 into Co_Area CO2. The Co_Are and the profit center are part of the realtime cube, but not the nav attribute of the profit center.
When I test/run the planning function via a sequence in planning modeller I get an error message: The combination 'CO2/PCxy,#' is not valid, valid is 'CO2/PCxy,abcd': characteristic '0PROFIT_CTR' .
Has this error something to do with the relationship of the master data of profit center and its nav attributes?
Any help would be great.
Best regards,
Stefan form Munich/GermanyI guess this problem is coming because of some wrong combination of records present in cube for controlling area 1. Make the below changes in the planning function. Dont include profit center in the level. Just include controlling area. Create a characteristic relationship of type derivation by master data attributes. Give source char as Controlling area and target as profit center. This will mantain consistency of char. combinations b/w controlling area and profit center in cube for the newly generated records.
-
ADF 11g can not select and copy data from cell of readonly table in IE
hi,
In ADF 11g, when render view object as readonly table with Single RowsSelection, using IE browser can not select and copy data from the cell, but it work in firefox.
is it a bug?
Edited by: kent2066 on 2009-5-18 上午8:46Hi Timo,
Sorry forgot to mention versions.
We are using 11.1.1.7 and IE 9.
I tried in Google but could not get the solution.
Kindly let me know solution for this.
PavanKumar -
OraRRP Error with "Unable to copy data file;Error code 2, check disk space"
Hi,
Some users get this message -"Unable to copy data file;Error code 2, check disk space" when run report with orarrp, but most users do not get it.
I check free space at both server and client side, they are very sufficient.
I also checked directory exists for REPORTXX_TMP variable.
My user call reports via URL (rwservlet) and it occur for all reports.
How I can solve this problem?
Thanks in advance.
Tawatchai R.Hi,
have the same problem now. One user has temporarily problems to download .rrpa files via URL (rwservlet) request. Error code: -"Unable to copy data file;Error code 2, check disk space". Did you get a solution??
Thanks in advance. Axel -
Unable to copy data in planning
Hi Gurus,
I am unable to copy data using "copy data" in planning web application.
getting an error "MSG_COPY_DATA_OPTIONS_FAILED: An error occurred while running the specified calc script. Check the log for details."
here are the steps I checked:
I checked whether planning and essbase are in sync.
The DBA team says that there was no spikes in memory.
when I take small data set it see data in target but the status in Job Console says processing for the past 45 min.
I was copying only one month of data.
please help.I see you must of read the two Oracle Support articles by what you wrote in your post.
Have you checked the essbase app log? also it sometimes help to restart the planning web app when it happens.
Also have a read of Re: Where is the calc script created when running the 'Copy Data' function ?
Cheers
John
http://john-goodwin.blogspot.com/ -
Hello All,
We are using a two tier architecture.
Our Corp server calls the refinery server.
Our CORP MII server uses user id abc_user to connect to the refinery data server.
The user id abc_user has the SAP_xMII_Dynamic_Query role.
The data server also has the checkbox for allow dynamic query enabled.
But we are still getting the following error
Error has occurred while processing data stream
Dynamic Query role is not assigned to the Data Server; Use query template
Once we add the SAP_xMII_Dynamic_Query role to the data server everything works fine. Is this feature by design ?
Thanks,
KiranThanks Anushree !!
I thought that just adding the role to the user and enabling the dynamic query checkbox on the data server should work.
But we even needed to add the role to the data server.
Thanks,
Kiran -
Copy data of two rows together into a new row
Hello everyone.
I have a question about copying data of two existing rows together into a new third row.
See this short example:
This is the current situation. The rows STATE_1 and STATE_2 contain different separated information.
In the past data were saved randomly in one of those rows.
This is the table State:
ID
Cust_ID
STATE_1
STATE_2
STATE_3
1
88
Customer is waiting.
Call from yesterday.
2
11
Mr. Smith, no answer.
Waiting until December
3
11
Pls create PO.
Old PO was cancelled
4
5
No access to system.
From now on everything has to be saved to the empty STATE_3 but I also need the old entries from the past which also have to be copied together into STATE_3
like this:
ID
Cust_ID
STATE_1
STATE_2
STATE_3
1
88
Customer is waiting.
Call from yesterday.
Customer is waiting. Call from yesterday
2
11
Mr. Smith, no answer.
Waiting until December.
Mr. Smith, no answer. Waiting until December.
3
11
Pls create PO.
Old PO was cancelled.
Pls create PO. Old PO was cancelled.
4
5
No access to system.
No access to system.
Is there an easy SQL-command?
Thanks for any help.Hi,
DB2000 wrote:
Hello everyone.
I have a question about copying data of two existing rows together into a new third row.
See this short example:
This is the current situation. The rows STATE_1 and STATE_2 contain different separated information.
In the past data were saved randomly in one of those rows.
This is the table State:
ID
Cust_ID
STATE_1
STATE_2
STATE_3
1
88
Customer is waiting.
Call from yesterday.
2
11
Mr. Smith, no answer.
Waiting until December
3
11
Pls create PO.
Old PO was cancelled
4
5
No access to system.
When you say "row", do you mean "column"?
DB2000 wrote:
Because in this case STATE_1 and STATE_2 are only text of a log file/history.
So I think 1NF isn't really violated and because of performance of the database in this case it's better to put obsolete rows together.
Why do you think that?
The definition of First Normal Form is that every column of every row contains 1 piece of information, not a variable number of pieces. Whether or not that data is only text of a log file/history has nothing to do with it.
You might claim you have good reasons (such as performance) for violating First Normal form, but you can't say that you're not violating it.
Maybe you are looking for
-
Desperate - How can I delete an entire index at once?
I have accidentally entered the index references for a quarterly into the 'topics' panel when they should have been inthe 'reference' panel. (Darned radio buttons....) There are dozens of entries and deleting them individually from the index will tak
-
How do I sync Pages docs between my Macbook and a PC?
I want to sync Pages documents between my Macbook and a PC, for when I don't have the Macbook with me. I created a Pages file and saved it to iCloud, but it doesn't appear in the iCloud Pages web interface, even though other docs created in the web i
-
this is a macbook running 10.6.3 with a fresh install of firefox from the mozilla site == This happened == Every time Firefox opened == after the upgrade from osx 10.6.3 and 3.6.3 install of firefox
-
Custom Object - Instances - How to?
Hello, Does the API calls for managing Custom objects also allow us to manage instances of a DataCard Set or Custom Object? If so, how do we accomplish the mapping between the Custom Object and its instance? Thanks.
-
E900 - a good replacement for an older WRT54G?
I still have one and it's been working for 6 years but I had an issue with it yesterday; AT&T tech support who I have my DSL service with determined one of the ports on the back of the router where my ethernet cable was plugged into was probably no l