Can one build a data warehouse using SQL rather than Warehouse Builder?

I would like to build a data warehouse purely using SQL statements. Where can I find the data warehouse extension of SQL statements?

I am exploring the internal workings of Warehouse Builder.
I have written a SQL script to generate sample data to be inserted into tables, then write SQL script to do Extraction, Transformation and Loading using MERGE,, GROUP BY CUBE, DECODE, etc.
If anyone has any experience of just using SQL to perform ETL, would you share your expeience here? Thanks.

Similar Messages

  • Can one iTunes Radio account be used on more than one device at the same time?

    With an iTunes Match account, can ad-free iTunes Radio be used on two devices at the same time on that same account?

    Hi,
    Yes.
    Jim

  • Concatenate using SQL rather than Oracle functions Oracle 8i

    Is it possible to concatenate field values using SQL alone and not an Oracle function
    For the following dataset I would like the results to be the following
    1 User_lastname1 2,7
    2 User_lastname2 2,7
    3 User_lastname3 2
    4 User_lastname4 7
    CREATE TABLE users
    ( user_id NUMBER(10)
    , user_lastname VARCHAR2 (50)
    , workgroup NUMBER(10)
    INSERT ALL
    INTO users(user_id, user_lastname, workgroup) VALUES (1, User_lastname1, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (1, User_lastname1, 7)
    INTO users(user_id, user_lastname, workgroup) VALUES (2, User_lastname2, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (2, User_lastname2, 7)
    INTO users(user_id, user_lastname, workgroup) VALUES (3, User_lastname3, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (4, User_lastname4, 7)

    Maybe (provided a user is not a member of more than six workgroups)
    select user_id,
           user_lastname,
           max(decode(rno,1,workgroup,null)) || max(decode(rno,2,','||workgroup,null)) ||
                                                max(decode(rno,3,','||workgroup,null)) ||
                                                max(decode(rno,4,','||workgroup,null)) ||
                                                max(decode(rno,5,','||workgroup,null)) ||
                                                max(decode(rno,6,','||workgroup,null)) string
      from (select user_id,
                   user_lastname,
                   workgroup,
                   row_number() over (partition by user_id,user_lastname order by workgroup) rno
              from users
    group by user_id,
              user_lastname
    order by user_id,
              user_lastnameor (provided a user is not a member of more than five workgroups)
    select user_id,
           user_lastname,
           string
      from (select user_id,
                   user_lastname,
                   row_number() over (partition by user_id,user_lastname order by workgroup) rno,
                   workgroup || lead(','||workgroup,1) over (partition by user_id,user_lastname order by workgroup) ||
                                lead(','||workgroup,2) over (partition by user_id,user_lastname order by workgroup) ||
                                lead(','||workgroup,3) over (partition by user_id,user_lastname order by workgroup) ||
                                lead(','||workgroup,4) over (partition by user_id,user_lastname order by workgroup) string
              from users
    where rno = 1
    order by user_id,
              user_lastnameRegards
    Etbin

  • Data persistence using SQL/J

    Hi !
    I am trying to achieve data persistence using SQL/J.
    The env / tools that I am using are WLS 4.5.1
    Oracle 8i, SQL/J.
    SQL/J works fine with the two - tier applications but with WLS the connectivity is not been arrived at.
    Any help would be wewlcome.
    Thanks,
    Archana

    Are you using an Oracle JDBC driver in WLS or not?
    (1) If the answer is no, then you should replace:
    oracle.sqlj.runtime.Oracle.connect(<url>,<user>,<pwd>);
    (and similarly Oracle.getConnection())
    with:
    import sqlj.runtime.ref.DefaultContext;
    <load JDBC driver, if necessary>
    DefaultContext.setDefaultContext(new DefaultContext(<url>,<user>,<pwd>,false));
    (2) Actually, forget (1): in the middle tier you should never use a default context at all (every thread must have its own connection context):
    DefaultContext ctx = new DefaultContext(...);
    #sql [ctx] { ..SQL statement.. };
    (3) If you do not use an Oracle JDBC driver, then say in your sqlj command line:
    -profile=false
    (this omits Oracle customization and makes the .ser file smaller)
    Also, you only need runtime.zip at runtime, anyway. And for non-Oracle JDBC drivers you can remove the whole oracle.* hierarchy from runtime.zip.
    (4) You do need to deploy those .ser files with the bean. Or use -ser2class and deploy class files with the bean.
    (5) Finally, it appears the WLS deployment tool has not heard about SQLJ - it may only understand .java files. In this case you have to translate all .sqlj files (and the .ser files) into .java files before putting these into WLS:
    (a) run SQLJ over the .sqlj source with the -compile=false option. This produces .java files.
    (b) you can also turn the .ser files into .java files by running:
    java sqlj.runtime.profile.util.SerProfileToClass -nc *.ser
    (issue the line without arguments to get an option synopsis)
    You'd want to do (a) and (b) via a Makefile and not do it by hand more than once.
    (c) During deployment time and runtime you must have runtime.zip (modulo comments in (3)) in the respective CLASSPATHS of the deployment tool and of the server.
    Sorry these answers were rather generic - I still could not tell exactly how you are failing in WLS.

  • Can we make a data connection using a WADL file?

    Can we make a data connection using a WADL file for REST web services?

    Can we make a data connection using a WADL file for REST web services?

  • Can anyone confirm if you can in fact shoot/edit (perhaps using a less than best video setting) on a Canon XA20 or Sony HXR-NX30U with iMovie 10 (Mavericks)? I do not want to convert files. Thx.

    Can anyone confirm if you can in fact shoot/edit (perhaps using a less than best video setting) on a Canon XA20 or Sony HXR-NX30U with iMovie 10 (Mavericks)? I do not want to convert files. Thx.

    Hi road.north,
    Welcome to the Support Communities!
    The article below will help you determine which cameras are supported for iMovie '10
    Apple - iLife Help - iMovie Supported Cameras
    http://help.apple.com/imovie/10/cameras/en/index.html?lang=en_US
    Cheers,
    - Judy

  • Why won't Compressor let me submit? And why use compressor rather than FCP?

    Hey I'm using Compressor with Final Cut Hd and a Powermac g5.
    So from Final Cut I've gone to 'Export' using 'Using Compressor', for a piece of Quicktime that I want to convert to Mpeg 4. IN compressor, I've set a MPEG 4 conversion, and I've set a destination. But the 'submit' button hasn't come on, and I can't go ahead with the operation. Can anyone tell me the basic things that would prevent me going ahead with the conversion here - no matter how obvious? I'm a new user, and I don't know what I'm doing wrong... any hints?
    Secondly, why do I need to use compressor for this - what's the advantage of using Compressor rather than using the QTconversion panel export from Final Cut Pro?
    Thanks for your help with these issues - you guys rock!
    Best
    Richard

    You may not have enough free hard drive spacein your destination folder or your destination folder is Write protected. I've had that problem and compressor will not always tell you why its not giving you the ok to submit yu kind of have to figure it out. *** far as the benifit of useing it the only rel one is that you can continue to use final cut to do other work while compressor is working, ut that only works if you first export it as a fcp Quick time move and then open compressor and drag and drop the fcp full dv or hdv quick time movie into compressor for compression. affter that you can quite compressor without even saving it and it will continue to work in the background only using what ever cpu power you aren't using allowing you to continue to work on other parts or projects.

  • [svn:fx-3.x] 9493: Applying patch (SDK-22435) submitted by Aaron Boushley which updates ObjectUtil to use toXMLString rather than toString for XML objects .

    Revision: 9493
    Author:   [email protected]
    Date:     2009-08-23 16:09:56 -0700 (Sun, 23 Aug 2009)
    Log Message:
    Applying patch (SDK-22435) submitted by Aaron Boushley which updates ObjectUtil to use toXMLString rather than toString for XML objects.
    QE notes:  None
    Doc notes: None
    Bugs: SDK-13919
    Reviewer: N/A
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22435
        http://bugs.adobe.com/jira/browse/SDK-13919
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/utils/ObjectUtil.as

  • Can i send images by email as attachments rather than embedded in email

    can i send images by email as attachments rather than embedded in email

    How the email message looks in Mail is fairly irrelevant to how it will look to the recipient.  An image attached to an email message is an attachment regardless of how the client displays it.  Some will display it inline, others as an icon in a list of attached files.  Regardless, it is an attachment and should be capable of being opened, saved to another location, etc.
    Unfortunately, some Windows email clients (*cough* Outlook *cough*) are absolutely crippled when it comes to email standards, and make it difficult for recipients to view or save some attached images.  You can better ensure success with Outlook by using Windows-friendly attachments and only sending plain text email, rather than HTML email.  However, Outlook is still Outlook, and it does not play well with others.
    If you must communicate with people who use Outlook  try uploading your photos to an album on Picasa, Flikr, Shutterfly, etc, and then send people a link instead.  Or convince them to use a real email client, like Thunderbird.

  • [svn:fx-trunk] 5061: Changed the skin to use hostComponent rather than fxComponent so that binding happens on a strongly typed instance .

    Revision: 5061
    Author: [email protected]
    Date: 2009-02-24 14:18:51 -0800 (Tue, 24 Feb 2009)
    Log Message:
    Changed the skin to use hostComponent rather than fxComponent so that binding happens on a strongly typed instance. By doing this we save the overhead of calling describeType() and doing RTTI. Also updated the backgroundColor to be cast to uint until the getter/setter is updated to return that (currently it is object)
    QE: No
    Doc: No
    Checkintests: Pass
    Reviewer: Ryan F & Glenn
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxApplicationSkin.mxml

    Revision: 5061
    Author: [email protected]
    Date: 2009-02-24 14:18:51 -0800 (Tue, 24 Feb 2009)
    Log Message:
    Changed the skin to use hostComponent rather than fxComponent so that binding happens on a strongly typed instance. By doing this we save the overhead of calling describeType() and doing RTTI. Also updated the backgroundColor to be cast to uint until the getter/setter is updated to return that (currently it is object)
    QE: No
    Doc: No
    Checkintests: Pass
    Reviewer: Ryan F & Glenn
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxApplicationSkin.mxml

  • [svn:osmf:] 14927: Refactor sample to use MediaPlayer rather than traits.

    Revision: 14927
    Revision: 14927
    Author:   [email protected]
    Date:     2010-03-22 17:12:29 -0700 (Mon, 22 Mar 2010)
    Log Message:
    Refactor sample to use MediaPlayer rather than traits.  Fix typo in another example.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/DynamicStreamingSample.mxml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/traceproxy/TraceListene rProxyElement.as

  • How do I add more than one column to a table using SQL?

    Hi
    I need to add 3 columns to a table using SQL
    the syntax
    "ALTER TABLE TEST ADD COLUMN newcol1 float";
    works fine - for adding one coumn only.
    For multiple columns I tried various permutations along the lines of
    "ALTER TABLE TEST ADD (COLUMN newcol01 float, COLUMN new2 float,COLUMN new3 float)";
    "ALTER TABLE TIPSTEST ADD COLUMN new1 float"
    "ALTER TABLE TIPSTEST ADD COLUMN new2 float"
    "ALTER TABLE TIPSTEST ADD COLUMN new3 float"
    etc., but this doesn't work.
    From a web search it sounds like SQL can only add one column at a time.
    I have a workaround : create intermediate temporary tables , copying data and adding
    one column at each stage. It seems a fairly awkward way of programming though.
    Am I missing something simple : is there a way to add multiple columns in one go?
    Thanks

    OK : solved an underlying problem with this one myself
    for the code
    String createString;
    createString =  "select COFFEES.* INTO NEWCOFFEES FROM COFFEES"; // example
              Statement stmt;
              try {
                   stmt = a_Globals.database1Connection.createStatement();
                          stmt.executeUpdate(createString);
                   stmt.close();
                   a_Globals.database1Connection.close();
              } catch(SQLException ex) {
                   System.err.println("SQLException: " + ex.getMessage());
              }                    commenting out the line:
    a_Globals.database1Connection.close();
    Allowed the subsequent SQL statement(s) to work OK. Looks like this was the cause of several
    difficulties, preventing me doing several SQL instructions in turn.
    Thanks for the responses.
    Mike2z

  • Checking correct data format using sql query

    1) I got column date of joining which accepts date in below format
    DD-MON-YYYY
    DD-MON-YY
    MON-DD-YYYY
    MON-DD-YY
    Month DD,YYYY
    Question:- how do i check whether all dates in Date of joining column are in above format or not using sql query?
    2) I got one more date column which accepts date in below format
    MMDDYYYY
    YYYYMMDD
    MM/DD/YYYY
    MM/DD/YY
    YYYY/DD/MM
    Question:- how do i check whether all dates in date column are in above format or not using sql query?
    sorry if it is a very simple question since I am new to sql and trying to learn ......Thanks for the answers from the group............

    In short, NO, it's not possible.  If you store dates correctly in the database as DATE datatype then you don't have this problem.  If you store them as VARCHAR2 you have a problem.
    So, you get a date of 20092012
    Is that 20th September 2012?  or is it 20th December 2009?
    What about...
    11-Jan-12
    Is that 11th January 2012 or 12th January 2011?
    Dates should never be stored on the database as strings.  That is why Oracle gives you a DATE datatype so you can store them properly.
    Also, when dates are passed from an application to the database, the application should be passing them as DATE datatype, and the application interface should be designed to accept dates from the user in a format specific to their country/locality and it would then know what that format is and automatically convert it to a DATE datatype before it gets anywhere near the database or any SQL.

  • Multiple date formats using sql developer

    Hello!
    i have 2 date fields in a table.. one is populated using trunc(<date1>) and the other is to_date(<date2>,'YYYYMMDD HH24MISS'). We want <date1> to display as MM/DD/YYYY and <date2> to display as MM/DD/YYYY HH:MI:SS AMPM. When we set the date format under Preference -> Database -> NLS parameter in SQL Developer with a time format it adds 12:00:00 to <date1>, if we take it out, it drops the time in <date2>. What can we do?
    thanks!

    I think what the original poster wanted was to display the two date columns using different formats in the table "Data" tab and AFAIK that is not possible. Setting a date format in the Preferences accomplishes the same thing as the statement
    ALTER SESSION SET NLS_DATE_FORMAT='<some format>';
    in command-line SQL*Plus. To do what the OP wants they'll need to create a view that has a SELECT something like this:
    SELECT TO_CHAR( date1, 'YYYY-MM-DD' ) date1
    , TO_CHAR( date2, 'YYYY-MM-DD HH24:MI:SS') date2
    FROM some_table;
    One thing the OP needs to keep in mind is that the DATE datatype stores both date and time together. If they insert a date alone, the time defaults to midnight. (This is stated in the Oracle SQL Reference.)
    Ed. H.

  • Data Loading using SQL* Loader giving errors..

    While loading the data using SQL* Loader, I came across the following errors:
    - SQL*Loader-00604 Error occurred on an attempt to commit
    - ORA-01041 internal error. hostdef extension doesn't exist
    My Control and Data files have proper Carriage Returns i.e. the last line of both the files is blank.
    So, if somebody know about this, plz help me.
    Thanx

    ORA-00604 error occurred at recursive SQL level string
    Cause: An error occurred while processing a recursive SQL statement (a statement applying to internal dictionary tables).
    Action: If the situation described in the next error on the stack can be corrected, do so; otherwise contact Oracle Support Services
    This kind of error occurs when data dictionary is
    query a lot.
    Joel P�rez

Maybe you are looking for

  • Multi Time Zone No Longer Available

    I use Outlook 2010 on a Windows 7 machine. Since upgrading to the new iCloud panel, Microsoft outlook has lost the multi time zone support. Also, appointments seem to be recorded in incorrect time zones. I do a lot of travel for work, and my outlook

  • Option Click Get Info for Old GUI?

    The new GUI for Get Info in iTunes 12 is not only incredibly lacking but also an insult to long time iTunes users. It makes the most simple of tasks become incredibly laborious. For starters I am trying to add the "track x of x" field and cannot for

  • I can't find the form I saved

    Good Evening, I created a form last week, I saved it several times and worked on it for a few days and acquired a link.  Now I can't find it when I sign in and people have submitted there information that I can't view because the form is nowhere to b

  • Transferring application to my MBP

    I've just acquired two used iBooks as gifts for relatives entering high school. The two iBooks are coming with some software programs that I use routinely - and some that I don't have but would like to. In these cases the software on the iBook is a n

  • HT201209 I entered the code for an app. Put my apple id after the code. Dialogue box said downloading, but no app to be found. Pls help. Thx

    I entered the code for an app. Put my apple id after the code. Dialogue box said downloading, but no app to be found on my iPad 3. Pls help. Thx