Initial thought process, Computer Engineering

Initial thought process:

Design a script which was simple and user friendly.  Integrate procedures/functions to extract data under the hood.  I focused on giving the user the option to retrieve information based on a time period, meaning using start date and end date to define a search constraint.  For example, if a user wants information from 1-MAR-12 to 8-MAR-12, he or she can plug those dates in as search parameters.

Queries:  I designed the queries to answer the project questions.

Scripts:  pop_fact_table.sql, which means populate fact table, receives 2 parameters type, DATE, uses the dateas conditions within a select statement to create a cursor.These parameters are used to set a time period boundary.  Also the order_items idsare extracted because they are unique and I used them as a condition to get theoi.movie_id, dml.distributor_id, store_id, o.total_payment, o.tax, number_of_itemsdata from multiple tables.  I used order_completed_date because I felt it was importantto extract information for orders completed instead of just using the ordering date.Ordering date does not mean the order was completed.  Also I fed this date intoa function which could build my time dimension table and return the time_id to insert into the facts table.  Finally, the information gathered from order_items were inserted in the facts table.

  • Fill_time_dim.sql receives a parameter type, DATE, from pop_fact_table.sql, analyzes the date, then determines the month, quarter and year in which it belongs. Finally it uses this data and a generated time_id from sequence to populate the time dimension table.
  • Star_schema_table.sl drops and creates the shell for the 4 dimensions tables and the fact table.
  • Add_constraints.sql sets the 4 dimension primary keys as primary and foreign keys on the facts table.
  • User_interface.sql is used to simulate a user's terminal requesting information. Initially, it builds the table shells and adds constraints. Once the user determines his/her search time period, data is etracted from the operational database and is placed in the facts table.
Posted Date: 4/3/2013 1:23:34 AM | Location : United States







Related Discussions:- Initial thought process, Assignment Help, Ask Question on Initial thought process, Get Answer, Expert's Help, Initial thought process Discussions

Write discussion on Initial thought process
Your posts are moderated
Related Questions
What is replacement algorithm? When the cache is full and a memory word that is not in the cache is referenced, the cache control hardware must decide which block should be del

Define Top-down parsing Techniques Top-down parsing can be observed as an attempt to find left-most derivations of an input-stream through searching for parse trees using a top

Q. Explain Assembly program execution? An assembly program is written according to a strict set of rules. A word processor or editor is used for keying an assembly program in t

Draw the logic diagram of 4-bit Twisted Ring counters and explain its operation with the help of timing diagram. Ans: Twisted ring counter (4 BIT): We ready know that shi

Program about railway reservation system using structure . Get 10 names,their gender ,address , seats availability according to trains and some extra datas


One of the very useful things about Internet is that it enables almost instantly exchange of electronic message (e-mail) across the worlds. E-mail is a standard as well as popular

Q. why we need Web Browser? A Web browser is software program which allows you to easily display Web pages and navigate the Web. The first graphical browser, Mosaic, was develo

#question.A universal shift register can shift in both the left-to-right and right-to-left directions, and it has parallel-load capability. Draw a circuit for such a shift register

In how many ways line of code of assembly language can be divided? A line of code of an assembly language program can be divided in three columns called as fields. The fields d