GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Abinitio
Go To First  |  Previous Question  |  Next Question 
 Abinitio  |  Question 132 of 196    Print  
What is Conditional DML? Can anyone please explain with example.

  
Total Answers and Comments: 2 Last Update: December 07, 2006     Asked by: Godhuly 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 19, 2006 07:47:00   #1  
Sachin        

RE: What is Conditional DML? Can anyone please explai...

The DML that is used as a condition is known as conditional DML..

Suppose we have data that includes the Header Main data and Trailer as given below:

10 This data contains employee info.

20 emp_id emp_name salary

30 count

So the DML for the above structure would be:

record

decimal ( ) id;

if (id 10)

begin

string ( ) info;

end

else if (id 20)

begin

string ( ) emp_id;

string ( ) name;

string ( ) salary;

end

else if (id 30)

begin

decimal ( ) count;

end

end;

This is


 
Is this answer useful? Yes | No
December 07, 2006 04:20:13   #2  
Mukund        

RE: What is Conditional DML? Can anyone please explai...

Conditional dml is a DML which is separated based on a condition.

eg:Suppose ur DML have Header detail and Trailer parts u need to separate these coz we need to have detailed part .

record

if (record_type 0)

/*corresponding header information*/

end header;

if(record_type 1)

/*corresponding detail information */

end detail;

if(record_type 9)

/*corresponding trailer information*/

end trailer;

end;

here 0 corresponds to header 1 corresponds to detail and 9 corresponds to trailer.not only 0 1 9.we can use 000 111 999 or H D T etc depending upon ur convenience.

hope this might sooths u.

cheers

mukund


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : When you use truncate all the space alloted for the records along with records gets deleted and if you use delete only the records are deleted and the space allocated for the records remains unaltered. ...

Latest Answer : Lookup is basically a specific dataset which is keyed. This can be used to mapping values as per the data present in a particular file (serial/multi file). The dataset can be static as well dynamic ( in case the lookup file is being generated in previous ...

Latest Answer : I think you've the misunderstanding.  Using utility mode does not need to disable constraints nor indexes, if you use the conventional path load (say Oracle).For direct path, you might need to.Basically, api mode is using oci calls, so it is ...
Read Answers (4) | Asked by : Godhuly

Latest Answer : Environemental variables server as global variables in unix envrionment. They are used for passing on values from a shell/ process to another. They are inherited by Abinitio as sandbox variables/ graph parameters like AI_SORT_MAX_COREAI_HOMEAI_SERIALAI_MFS ...
Read Answers (1) | Asked by : Godhuly

What is the difference between sandbox and EME, can we perform checkin and checkout through sandbox/ Can anybody explain checkin and checkout?thanks advsatish kumar
Read Answers (3) | Asked by : satish kumar

Latest Answer : Hi Vector is nothing but Array's in C. for example Transactions[0] Transactions[1] Transactions[2]Customer ID n dt Amount dt Amount dt AmountC002142 2 1994.03.23 ...
Read Answers (2) | Asked by : prakash

Latest Answer : .dbc file contains all the connectivity info which the user needs to connect to the database. dbc means database configuration file. It will contain the server name, userid, password, type of db, stuffs like that..cfg -- cfg means configuration file. ...
Read Answers (3) | Asked by : Godhuly

Latest Answer :  Conditional dml ,is a DML which is separated based on a condition.eg:Suppose ur DML have Header ,detail and Trailer parts,u need to separate these coz we need to have detailed part .record if (record_type == 0)/*corresponding header information*/end ...
Read Answers (2) | Asked by : Godhuly

Latest Answer : Writting a wrapper script helps u 2 to run the graph in  sequence as u want.Example:when u need to run 3 graphs but the condition is after the first graph ran successfully u need to take the feed generated by it and use it in next graph ...
Read Answers (1) | Asked by : jai

Can anyone please explain with example how does m_mkfs command work to create MFS? What is its syntax?
Read Answers (2) | Asked by : Gadhuly


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving Typed Data

ODP NET Retrieving Typed Data While retrieving values from OracleDataReader we can extract information available in individual columns of a particular row either by using column ordinal position values or column names mosgoogle Retrieving Typed Data Using Ordinals ODP NET provides data specific enum
 

ODP.NET - Retrieving Data Using OracleDataReader

ODP NET Retrieving Data Using OracleDataReader OracleDataReader is simply a read only and forward only result set It works only if the database connection is open and it makes sure that the connection is open while you are retrieving data As the data that it retrieves is read only it is a bit faster
 

ODP.NET - Fundamental ODP.NET Classes to Retrieve Data

ODP NET Fundamental ODP NET Classes to Retrieve Data To retrieve data from an Oracle database using ODP NET we need to work with a few of the ODP NET classes At this point we will discuss the most fundamental classes available in ODP NET for retrieving data mosgoogle The following is the list of fun
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape