Invalid XML, Expected item name child table but 'row' provided65171
Hello Experts
I am using SAP 8.81, PL05
DTW is at 88.1.4 API Version 8.81.313
I have problem in uploading data via DTW in UDO master type table.
I only have problem in updating data in UDO master type table
Detail log is Invalid XML, Expected item name 'ACC_VS_VIG' but got 'row' provided65171
ACC_VS_VEH - UDO
ACC_VS_VEH - master type - UDT
ACC_VS_VIG -master row type -UDT
DTW ERROR FILE
Code Name U_SrcNme U_SrcRef U_ManfNo U_Manf U_KModNo U_ModelSpc U_KTypNo U_ModelTyp U_BodyType U_EngCapac U_Cylinders U_4WD U_BrakeTyp U_BrakeSys U_Valves U_StartDt U_EndDt U_CurrVolt U_EngKGW U_EngPS U_DriveTyp U_EngType U_FuelType U_Required U_Publish U_Flagged U_FuelMix U_CatlType U_TranType U_EngCC U_ModGen U_TypeDesc U_Doors U_FuelCap U_ABS U_ASR U_Notes
<---Do not fill this row----->
00010477 00010477
ParentKey LineNum Code U_PrdItG U_BasePrc U_Currency U_Required U_Publish U_Notes
<---Do not fill this row----->
00010477 1 00010477 10.78
Please, please give me some suggestions
Keith Lilley
Hi Gordon
Thanks for quick response,
In DTW - Select Business Object I see the following:
+ Human Resources
- User Defined Data
+ Meta Data
+ Tables (UDT)
- Objects (UDO)
UDO_ACC_VS_VEH
After highlighting UDO_ACC_VS_VEH and Next then I see the following under Select Data Source:
ACC_VS_VEH CLICK BOX
ACC_VS_VIG CLICK BOX
I then select the appropriate CSV's. Everything Maps OK, Source Data OK but just noticed the following on Target Data:
+ ... AdminInfo
- ... ACC_VS_VEH
- ....Row
- .... Code
. 00010457
- ... Name
. 00010457
- ... ACC_VS_VIG
.....Row
- .... Row
- .... Code
. 00010457
- ... U_BasePrc
. 10.78
Can you see the extra row with no by it. This is noted in the error message. Any ideas. Also, from the above I assume this implies that ACC_VS_VIG IS the line object of ACC_VS_VEH.
Regards
Keith
Similar Messages
-
Invalid XML, Expected item name child table but got 'row' UDO name
Hi expects
my client is using SAP 2007B, PL15
I have problem in uploading data via DTW in UDO master type table.
I don't have importing data
Only i have problem in updating data in UDO master type table
Detail log is Invalid XML, Expected item name 'TB_SALES_AGTDISC_CH' but got 'row' UDO_obj_sales_agt_disc
TB_SALES_AGTDISC - master type
fields are Code,Name
'TB_SALES_AGTDISC_CH -master row type
fields Code,vaidfrm,validto,disc_ltr
Please give some suggestions
PrasadHi
I checked my previous thread.
But still I am getting problem in importing one additional row in child table.
Message i was getting when i importing via DTW Re: Invalid XML, Expected item name<child table> but got 'row' UDO name
Please give me some links or procedure how to import row in child tabe
Prasad -
We have a XML config file as attachement.
It has many jobs' configuration in it(<Job>).
For every job, therer will be a item of <JobActive> with value of Y or N.
Sometimes, we need to toggle the Y or N for some certain jobs.
I tried to read the <JobName> by the attached vi.
But when I read it, I can only read the items by sequence one by one.
Is it possible to read by the item name or by index?
We will have many <job> in the future.
Thanks,
Attachments:
Temperature Test Data.vi 58 KBHi,
I tried opening up your VI to take a closer look, but unfortunately there are broken wires corresponding to your application. Unfortunately I am not able to test your VI here. Can you please explain your application further so that we can be able to help you out.
Regards,
Nadim R
Applications Engineering
National Instruments -
XML Query filtering by child table column
Hello,
If anyone can help with this one... it would be nice. I need to make the output of an query to be in the format of XML, but the problem is that the initial filtering needs to be done in the child table.
Example:
CREATE TABLE PRIMARY(
ID NUMBER(19,0),
CODE_PRIMARY VARCHAR2(32));
CREATE TABLE SECONDARY(
ID NUMBER(19,0),
IDPRIMARY(19,0),
CODE_SECONDARY VARCHAR2(32));
INSERT INTO PRIMARY(ID,CODE_PRIMARY)
VALUES (1,'A');
INSERT INTO PRIMARY(ID,CODE_PRIMARY)
VALUES (2,'B');
INSERT INTO SECONDARY(ID,IDPRIMARY,CODE_SECONDARY)
VALUES (1,1,'C');
INSERT INTO SECONDARY(ID,IDPRIMARY,CODE_SECONDARY)
VALUES (2,1,'D');
INSERT INTO SECONDARY(ID,IDPRIMARY,CODE_SECONDARY)
VALUES (3,2,'E');
Now what we need is to build an XML tree like the following, INNER JOINING PRIMARY and SECONDARY tables with this condition in the where clause -> WHERE SECONDARY.CODE IN ('C','D')
<result>
<record>
<id>1</id>
<code>A</code>
<childs>
<child>
<id>1</id>
<idprimary>1</idprimary>
<codesecondary>C</codesecondary>
</child>
<child>
<id>2</id>
<idprimary>1</idprimary>
<codesecondary>D</codesecondary>
</child>
</childs>
</record>
</result>
In this example only one record is returned since we only have one record in PRIMARY table that has a child having codesecondary=C or D. The ideia is to get many records... but I think that this is enough for the sake of the example. And the solution is the same.
Thanks in advance!
GMFound the answer. Used distinct keyword instead of grouping the output table columns. This way XMLAgg didn't broke up the result:
SELECT
XMLElement("Processos",
XmlAgg(XMLElement("Processo",
XMLForest(T.ID as "Id",T.CODIGO as "Codigo",T.DESCRICAO as "Descricao"),
XMLElement("Funcionalidades",
SELECT
XMLAgg(
XMLElement("Funcionalidade",F2.ID)
FROM TWBASEDB.LISTA_UNICA_FUNCIONALIDADE F2
WHERE F2.ID_processo=T.ID
and f2.ACTIVIDADE IN ('1_ACTC1','1_ACTC2','1_ACTC3','2_ACTC1')
from
select distinct P.ID,P.CODIGO,p.DESCRICAO
FROM TWBASEDB.LISTA_UNICA_PROCESSOS P
INNER JOIN TWBASEDB.LISTA_UNICA_FUNCIONALIDADE F ON P.ID=F.ID_PROCESSO
WHERE ACTIVIDADE IN ('1_ACTC1','1_ACTC2','1_ACTC3','2_ACTC1')
order by p.id
) T -
FF 3.6 not displaying all items in a table but IE and Chrome work fine.
One of the pages on a web site I created uses a large table to display a list of manufacturers. When you view the page in Firefox some of the table items do not appear. However, in Internet Explorer and Chrome the table displays all of the items as it should.
This is a link to the page: http://simcona.com/commodities.htmlI have this same problem. I can't remember if it started with when I upgraded to Snow Leopard, or when I chose to upgrade to a different version other than 3.6 (although I think it happened with 3.6 as well). I doubt it's any addons, because most of them were disabled when I upgraded to 6, 7, 8. One of them crashed multiple times a day, so I went back to a earlier release. I'm currently using 8.0.1, and Firefox was consistently using 1.3 GB of real memory even after quitting (I usually had to force quit because it would literally minutes for it to quit, maybe never quitting- I left it for 15 minutes once... still hadn't quit). The Flash plug-in alone would sometimes use 500 MB of real memory. After almost 2 years of this I can't deal with it anymore. I love FF and have used it from the beginning...
But when I turned off every addon I have (except for Tree Style Tabs, which is possibly the only thing keeping me from fully switching), and restart FF, FF is using 730 MB of RAM (well it's still climbing 740, now) and 10-20% of CPU, while the Flash plugin is using 15% of CPU. I also noticed that once I closed Gmail, my RAM usage dropped from 1.3 GB to 850 MB. It could've been something else, but that's the main thing I can think of that I did different.
When Chrome is using only 120 GB, 0.5-2% CPU usage, has been open for days, with 3 windows and multiple tabs in each... (Chrome's Flash plugin is only using 4% CPU by the way)... something is wrong with FF. I love FF, but I've grown to hate it. And this is coming from a guy who really, really, REALLY doesn't want to switch. In fact I still use FF, but am slowly weening myself off it it. It's just not worth the slow down from RAM usage and heat from my CPU (FF often spikes to near 100% usage) anymore... -
Child table data Recon is not happening
Hi All,
I have a requirement to create a custom scheduler in OIM11g, to generate recon events.
-I have one parent field - which is 'required' in the RO recon mapping
- Rest 5 fileds are together as one in a child table and again mentioned in RO recon field mappings
While I am able to generate the recon event, but have not been able to pass the child table data/rows, as together, to the child table data in the recon.
*********Also I am able to pass child data and generate an event, if I create 5 child tables- one for each field linked to the parent form by using the following methods:
reconciliationOperationsIntf.createReconciliationEvent(resObjName, usrAttributes,false);
reconciliationOperationsIntf.addMultiAttributeData()
reconciliationOperationsIntf.providingAllMultiAttributeData()
******However my requirement is to have only one child table- with all the 5 fields as rows in that only one child table (whose recon data then should come in recon event).
******I am getting the following error frequently when I am trying to do solve this issue, by using reconciliationOperationsIntf methods
"Oim Child Table Name is null based on child mapping <fieldname> "
Kindly tell what approach should be taken to solve this issue. Any general code for the same, posted will be a great help.
Also tell me if the above issue is some configuration issue with recon mappings or something else.
RegardsHi Suren,
I am creating recon profile whenever I am doing configuration changes .
I have mapped the child table--- inside RO-> Object Reconciliation mapping--> Add Field
I am giving any name to this field, and type as 'multi valued attribute'
Under this above created field , I have then added the 5 fields of Child table.
Created recon profile.
It is still giving the same error as- " oracle.iam.reconciliation.exception.ReconciliationException: Oim Child Table Name is null based on child mapping <Field 1 of the 5 fields>l "
on encoutering this---
reconAPI.addMultiAttributeData(eventkey, <Field 1 of the 5 fields>, map) -
OSB 10.31 - Invalid xml error
Hello,
after updating a jar file containing a few java callouts I get the following error on a proxy service (shown in OSB console in Conflicts):
Invalid xml: Expected element 'stage@http://www.bea.com/wli/sb/pipeline/config' instead of 'stage@http://www.bea.com/wli/sb/stages/config' here in element pipeline@http://www.bea.com/wli/sb/pipeline/config
I tried exporting the proxy service and reading it's XML config. It seems ok - all stages in the pipeline have the same namespace prefixes and definitions. Also, when I compare the XML before and after JAR file update, it's identical.
This proxy service does not do any java callouts, just calls another proxy service that does. It has XOP/MTOM Support enabled (by value).I have this error too.
There was no indication as to which part of the message flow was causing the error.
So I deleted bits until the error went away.
I tracked it down to a Log stage in the Service Error Handler. No idea what was wrong. I deleted it, Saved/Activated, then re-created it, Saved/Activated.
There was nothing wrong with the stage (validated and tested ok), and I re-created it to be identical to the stage I deleted.
But the problem went away.... -
Master Child tables how to get the latest rows from both
Hi,
Need some help with the sql. I have two tables Master & Child. In my Master table I have multiple rows for the same record and in the child table also multiple rows for the same master row how can I get the latest one's from both.
For example Data in my Master table looks like
CONT_ID SEQ_NUM DESCRIPTION
1 189 Update 2
1 188 Update 1
1 187 NewNow in the child table for the same CONT_ID I may have the following rows
CONT_ID UPDATED_DATE STATUS
1 3/16/2010 2:19:01.552700 PM P
1 3/16/2010 12:29:01.552700 PM A
1 3/16/2010 12:29:01.552700 PM P
1 3/16/2010 12:19:01.552700 PM NIn my final query how can I get the row with seq_num 189 as it's the latest in Master table and from child table the row with status of P as it's the latest one based on the time. Here is the query i have but it returns the latest row from the child table only and basically repeats the master table rows as opposed to one row that is latest from both:
ThanksHi,
You can use the analytic ROW_NUMKBER function to find the latest row for each cont_id in each table:
WITH got_m_rnum AS
SELECT cont_id, seq_num, description
, ROW_NUMBER () OVER ( PARTITION BY cont_id
ORDER BY seq_num DESC
) AS m_rnum
FROM master_table
-- WHERE ... -- any filtering goes here
, got_c_rnum AS
SELECT cont_id, updated_date, status
, ROW_NUMBER () OVER ( PARTITION BY cont_id
ORDER BY updated_date DESC
) AS c_rnum
FROM child_table
-- WHERE ... -- any filtering goes here
SELECT m.cont_id, m.seq_num, m.description
, c.updated_date, c.status
FROM got_m_rnum m
JOIN got_c_rnum c ON m.cont_id = c.cont_id
AND m.m_rnum = c.c_rnum
AND m.m_rnum = 1
;If you'd like to post CREATE TABLE and INSERT statements for the sample data, then I could test this.
If there happens to be a tie for the latest row (say, there are only two rows in the child_table with a certain cont_id, and both have exactly the same updated_date), then this query will arbitrarily choose one of them as the latest. -
Generate xml output file from relational table
Hi All,
I'd like to generate an XML file from a relational table but would like to persist the XSD in Oracle does anyone have a working example?
Edited by: houchen on Jun 2, 2009 5:34 AMFrom the FAQ on the {forum:id=34} forum, {thread:id=416001}.
If you are wanting to register the schemas in Oracle, you will find info on that as well in the FAQ. -
Child tables in UDUOusing DI-API
Hi,
I am able to create an UDO through DI with just one table,
I can add a child table, but no columns appear in that child table.
Where do i set the columns of a child table when creating an UDO.
Regards
AdNormally the way I do it is:
Create the Header Table with all needed fields
Create the Lines table with all needed fields
Create the UDO, settings these two tables as the Header and Lines
Maybe I've misunderstood the question? -
How about get item count of table in formGroup.vm
JHeadstart Team:
I want change maxColumns=" 1" or" 2" by item count of table .but I do not know how about get item count of table .
#if (${JHS.current.group.columns} > 10)
#set ($majin = 2)
#else
#set ($majin = 1)
#end
<af:panelForm rows="1" maxColumns="$majin" width="${JHS.current.group.formWidth}" id="${JHS.current.group.shortName}FormItems">
majin
#FORM_ITEMS()
</af:panelForm>You can do this using the following syntax:
#if (${JHS.current.itemContainer.items.size()}>10)
maxColumns="2"
#else
maxColumns="1"
#end
Steven Davelaar,
Jheadstart Team -
How to refresh a child table each time I select a row in the master table
I've 2 tables, a master table and a child table.
When i click on each row of the master table, the child table needs to be refreshed.
I've given the id of table1(master) as the CreatePartialTrigger value in table2(child).
The refresh does happen but it happens in an inconsistent manner.
For eg. in my scenario,
1.I add a row to the master table
2.Click on the create button of the child table, this opens a popup and i enter a few values and the child row gets added.
3.Now when i toggle between the rows in my master table, the refresh does not happen and I see duplicate rows in the child table but in the datebase only one record gets stamped..
Is there any clean way to refresh the child table based on the row selection in the master table.
Kindly let me know.
Table1
<fnd:applicationsTable tableId="table">
<af:table value="#{bindings.Actions1.collectionModel}" var="row"
rows="#{bindings.Actions1.rangeSize}"
fetchSize="#{bindings.Actions1.rangeSize}"
selectedRowKeys="#{bindings.Actions1.collectionModel.selectedRow}"
selectionListener="#{bindings.Actions1.collectionModel.makeCurrent}"
rowSelection="single" id="table1"
contentDelivery="immediate" editingMode="clickToEdit"
columnSelection="multiple" autoHeightRows="10"
summary="#{HcmActionsTopGenBundle['Header.Action.ActionCode']}" rowBandingInterval="0"
styleClass="AFStretchWidth"
partialTriggers="::create ::createMenuItem">
<af:column id="column1" headerText=" " width="5"
rowHeader="true"/>
<af:column sortProperty="ActionCode" sortable="true"
headerText="#{bindings.Actions1.hints.ActionCode.label}" width="150"
showRequired="true" rendered="true" id="c1">
<af:inputText value="#{row.bindings.ActionCode.inputValue}"
label="#{bindings.Actions1.hints.ActionCode.label}"
required="#{bindings.Actions1.hints.ActionCode.mandatory}"
columns="#{bindings.Actions1.hints.ActionCode.displayWidth}"
maximumLength="#{bindings.Actions1.hints.ActionCode.precision}"
shortDesc="#{bindings.Actions1.hints.ActionCode.tooltip}" id="it1"
autoSubmit="true"
/>
</af:column>
</fnd:applicationsTable>
Table 2
<fnd:applicationsTable tableId="table2"
styleClass="AFStretchWidth"
id="AT2"
actionsMenuRendered="false"
secondaryToolbarRendered="false"
createPatternType="secondaryWindow"
createText="#{hcmActionsBundle['Action.Add']}"
createAction="#{backingBeanScope.SetupUiBean.invokeCreatePopUp}"
createPopupId="create1"
editEnabled="false"
createPartialTriggers="table1"Hi Frank,
As you mentioned I already have the id of my master table which is 'table1' as the createPartialTrigger in my child table.
In my case there are 2 scenarios.
I add a row to the Master table and when I click on the create button on the chile table, I get a pop with 'Yes' , 'No' and 'Cancel'
Scenario1
If I click 'Yes' , then I get another popup where I enter the values for the ActionReasonsActionReasonUsagesVO which is a combination of the ActionReasonsEO and the ActionReasonUsagesEO, now when I click on OK, a new row gets created in the ActionReasonsActionReasonUsagesVO.
In the above scenario things work fine, as I toggle between the rows in the Master table the child table gets refreshed.
Scenario2
If I click 'No' I get a search popup where I can query up the ActionReasonsVO and select existing data,on clicking OK, the values get mapped from the ActionReasonsVO to the ActionReasonsActionReasonUsagesVO.
Now when I toggle between the rows in my master table, I observe 2 types of behaviors
1.Due to incorrect refresh, the child table rows vanishes from the UI.
2.There are duplicate rows in the child table.
The issue is specific to this scenario where the refresh of the child table rows does not happen correctly.
Edited by: 944295 on Apr 18, 2013 5:16 PM -
Hi,
DB = Ora 11g
I am truncating a table but it won't allow me because it is referenced by a child table.
I am running this query to find the child table but no row selected.
SELECT a.table_name, c.column_name, b.table_name AS CHILD_TABLE, d.column_name, b.R_CONSTRAINT_NAME FROM user_constraints a,
user_constraints b, user_ind_columns c, user_cons_columns d WHERE a.constraint_type = 'P' AND a.CONSTRAINT_NAME = b.R_CONSTRAINT_NAME AND
b.CONSTRAINT_TYPE = 'R' AND a.table_name = c.table_name AND a.constraint_name = c.index_name AND b.CONSTRAINT_NAME = d.constraint_name
AND a.table_name = '<TABLE_NAME>'Can you give me some other queries please...
ThanksTry simplifying:
SELECT a.owner, a.table_name, b.owner as child_owner,b.table_name AS CHILD_TABLE, b.CONSTRAINT_NAME
FROM all_constraints a, all_constraints b
WHERE a.CONSTRAINT_NAME = b.R_CONSTRAINT_NAME
AND a.OWNER = b.R_OWNER
AND b.CONSTRAINT_TYPE = 'R'
AND a.table_name = '<TABLE_NAME>';Also note:
- I used all_constraints because it is possible that the child table is in a different schema (and consequently added predicates on owner, r_owner)
- I removed the constraint_type='P' predicate - an FK constraint can refer to a unique constraint that is not a primary key. -
Child table provisioning to SQL using DBAT
I have a Multivalued attribute named 'AuthzIds' coming from Sun LDAP thru target reconciliation. I wanted to provision this value to SQL's 'MyAuthz' table (Child of MyUser table) using GTC - DBAT.
USR table -> already provisioned to -> MyUser table
UD_AUTHZ table -> to be provisioned to -> MyAuthZ table.
How will I make this child table provisioning work ? Do I have to write any custom adapter ? I see a task 'Child Table UD_MYAUTHZ row inserted" task in SQL_GTC process, which uses a adpSQL_GTC adapter.
Thanks!
KabiAfter Create User User, you'll have to add one more task which will read the data from iplanet user form and add in Child Table using Form APIs.*
You are suggesting to add a dependent-task to GTC-Process's "create user" task. Is my understanding correct ?
If yes, this may not work for the following reason.
I assume GTC task 'create User' invoked when the use is created in SQL. In my use case, users are created in SQL thru auto provisioning during 'iPlanet trusted Recon'. The SQL child table 'MuAuthz' suppose to be provisioned with child data when I run 'iPlanet Target Recon' (not 'trusted Recon'). Because 'target Recon' brings the mutlivalue attribute AuthzId to iPlanet resource UD_AUTHZ table (already associated to OIM Users). I run the 'iPlanet Target Recon' separately after successful completion of 'trustes recon'. So create user may not be the appropriate place for adding this dependent task, since there will be no child data available to OIM user after 'trusted recon' .
Another question related to this. I see few tasks like "Child Table UD_MYAUTHZ row inserted/ updated/ deleted" in GTC process. What are these tasks used for ? -
Hi all,
Long time ago, I manually created a Database (APGriMMRP) and 3 Tables (dbo.Table_1_XYcoordinates, dbo.Table_2_Soil, and dbo.Table_3_Water) in my SQL Server 2012 Management Studio (SSMS2012). The dbo.Table_1_XYcoordinates has the following columns: file_id,
Pt_ID, X, Y, Z, sample_id, Boring. The dbo.Table_2_Soil has the following columns: Boring, sample_date, sample_id, Unit, Arsenic, Chromium, Lead. The dbo.Table_3_Water has the following columns: Boring, sample_date, sample_id, Unit, Benzene, Ethylbenzene,
Pyrene. The dbo.Table_1_XYcoordinates is a Parent Table. The dbo.Table_2_Soil and the dbo.Table_3_Water are 2 Child Tables. The sample_id is key link for the relationship between the Parent Table and the Child Tables.
Problem #1) How can I print out or export these 3 dbo Tables?
Problem #2) If I right-click on the dbo Table, I see "Start PowerShell" and click on it. I get the following error messages: Warning: Failed to load the 'SQLAS' extension: An exception occurred in SMO while trying to manage a service.
--> Failed to retrieve data for this request. --> Invalid class. Warning: Could not obtain SQL Server Service information. An attemp to connect to WMI on 'NAB-WK-02657306' failed with the following error: An exception occurred in SMO while trying
to manage a service. --> Failed to retrieve data for this request. --> Invalid class. .... PS SQLSERVER:\SQL\NAB-WK-02657306\SQLEXPRESS\Databases\APGriMMRP\Table_1_XYcoordinates> What causes this set of error messages? How can
I get this problem fixed in my PC that is an end user of the Windows 7 LAN System? Note: I don't have the regular version of Microsoft Visual Studio 2012 in my PC. I just have the Microsoft 2012 Shell (Integrated) program in my PC.
Problem #3: I plan to create an XML Schema Collection in the "APGriMMRP" database for the Parent Table and the Child Tables. How can I handle the relationship between the Parent Table and the Child Table in the XML Schema Collection?
Problem #4: I plan to extract some results/data from the Parent Table and the Child Table by using XQuery. What kind of JOIN (Left or Right JOIN) should I use in the XQuerying?
Please kindly help, answer my questions, and advise me how to resolve these 4 problems.
Thanks in advance,
Scott ChangIn the future, I would recommend you to post your questions one by one, and to the appropriate forum. Of your questions it is really only #3 that fits into this forum. (And that is the one I will not answer, because I have worked very little with XSD.)
1) Not sure what you mean with "print" or "export", but when you right-click a database, you can select Tasks from the context menu and in this submenu you find "Export data".
2) I don't know why you get that error, but any particular reason you want to run PowerShell?
4) If you have tables, you query them with SQL, not XQuery. XQuery is when you query XML documents, but left and right joins are SQL things. There are no joins in XQuery.
As for left/right join, notice that these two are equivalent:
SELECT ...
FROM a LEFT JOIN b ON a.col = b.col
SELECT ...
FROM b RIGHT JOIN a ON a.col = b.col
But please never use RIGHT JOIN - it gives me a headache!
There is nothing that says that you should use any of the other. In fact, if you are returning rows from parent and child, I would expect an inner join, unless you want to cater for parents without children.
Here is an example where you can study the different join types and how they behave:
CREATE TABLE apple (a int NOT NULL PRIMARY KEY,
b varchar(23) NOT NULL)
INSERT apple(a, b)
VALUES(1, 'Granny Smith'),
(2, 'Gloster'),
(4, 'Ingrid-Marie'),
(5, 'Milenga')
CREATE TABLE orange(c int NOT NULL PRIMARY KEY,
d varchar(23) NOT NULL)
INSERT orange(c, d)
VALUES(1, 'Agent'),
(3, 'Netherlands'),
(4, 'Revolution')
SELECT a, b, c, d
FROM apple
CROSS JOIN orange
SELECT a, b, c, d
FROM apple
INNER JOIN orange ON apple.a = orange.c
SELECT a, b, c, d
FROM apple
LEFT OUTER JOIN orange ON apple.a = orange.c
SELECT a, b, c, d
FROM apple
RIGHT OUTER JOIN orange ON apple.a = orange.c
SELECT a, b, c, d
FROM apple
FULL OUTER JOIN orange ON apple.a = orange.c
go
DROP TABLE apple, orange
Erland Sommarskog, SQL Server MVP, [email protected]
Maybe you are looking for
-
I am have a PDF-ducument generated with Apache FOP. The PDF document contains a hyperlink. When I open the PDF-document, after generation, in the browser and I click on the hyperlink in the PDF-document. The hyperlink will be opened in the same windo
-
Hi, This is my first post here. My exchange server of late is facing a peculiar problem. I get the error message that I have posted below when sending mails to any outside domain. However when I restart the server the mails can be resend to the addr
-
"Active Constraints" - just an idea
Hi, I just crossposted this to JDO central (General Discussion) in case you are interested in following what goes on over there. Lets say I have a parent child relationship and the child has a collection of things whose contents have to be a subset o
-
Send Struts interview question in my mail id [email protected]
-
Enable tracing in report builder
Hi, I am relatively new to oracle reports and report builder. One of the report in our application is taking long time (5-7 Minutes) to execute. To pin point the reason, I executed the report and generated TKPROF for sql trace file. Execution of quer