Sample  Xi Project  needed

Hi Experts,
   Please provide me a sample xi project with description and possibly code.I am badly looking for any kind project in XI as currently i got one good oppurtunity in XI.
Your help is highly appreciable and many many thanks in advance. I will be greatfull to you if you could send to my mail id : <u><b>[email protected]</b></u>
once again thanks a lot in advace
cheers
Tarun

Hi Tarun
You can find lots of scenarios in the weblogs section. There are some fantastic contribution made by our SDN member folks on the weblogs.
Few links for you,
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
similarly there many many more. Just do a search and you will find loads of info.
cheers
Sameer

Similar Messages

  • Need sample ALSB project migration to OSB 11g environment

    Hi
    I'm looking for sample ALSB project migration to OSB 11g environment and as well as steps to automate deployment of OSB 11g projects by using WLST
    Can some one please help me out in regards to the same
    Thanks
    Ram.S

    Please find the build.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <project name="ConfigExport">
    <property file="./build.properties"/>
    <property name="metadata.dir" value="${workspace.dir}/.metadata"/>
    <property name="domain.export.script" value="export.py" />
    <property name="domain.import.script" value="import.py" />
    <path id="library.osb">
    <fileset dir="${osb.home}/modules">
    <include name="com.bea.common.configfwk_1.6.0.0.jar"/>
    <include name="com.bea.core.xml.xmlbeans_2.2.0.0_2-5-1.jar"/>
    </fileset>
    <fileset dir="${weblogic.home}/server/lib">
    <include name="weblogic.jar"/>
    </fileset>
    <fileset dir="${osb.home}/lib">
    <include name="alsb.jar"/>
    </fileset>
    </path>
    <taskdef name="wlst"
    classpathref="library.osb"
    classname="weblogic.ant.taskdefs.management.WLSTTask"/>
    <target name="exportFromOSB">
    <wlst fileName="${domain.export.script}" debug="true" failOnError="false" classpathref="library.osb"
    arguments="${wls.username} ${wls.password} ${wls.server} ${export.project} ${export.jar} ${export.customFile}">
    <script>
    adminUser=sys.argv[1]
    adminPassword=sys.argv[2]
    adminUrl=sys.argv[3]
    exportJar = sys.argv[5]
    customFile = sys.argv[6]
    passphrase = "osb"
    project = sys.argv[4]
    connect(adminUser,adminPassword,adminUrl)
    domainRuntime()
    </script>
    </wlst>
    </target>
    <target name="importToOSB">
    <wlst fileName="${domain.import.script}" debug="true" failOnError="false" classpathref="library.osb"
    arguments="${wls.username} ${wls.password} ${wls.server} ${import.project} ${import.jar} ${import.customFile}">
    <script>
    adminUser=sys.argv[1]
    adminPassword=sys.argv[2]
    adminUrl=sys.argv[3]
    passphrase = "osb"
    project=sys.argv[4]
    importJar=sys.argv[5]
    customFile=sys.argv[6]
    connect(adminUser,adminPassword,adminUrl)
    domainRuntime()
    </script>
    </wlst>
    </target>
    <target name="exportFromWorkspace">
    <!--delete failonerror="false" includeemptydirs="true"
    dir="${metadata.dir}"/-->
    <java dir="${osb.home}/lib" classpathref="library.osb"
    jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar"
    fork="true" failonerror="true" maxmemory="768m">
    <jvmarg line="-XX:MaxPermSize=256m"/>
    <arg line="-data ${workspace.dir}"/>
    <arg line="-application com.bea.alsb.core.ConfigExport"/>
    <arg line="-configProject ${config.project}"/>
    <arg line="-configJar ${config.jar}"/>
    <arg line="-configSubProjects ${config.subprojects}"/>
    <arg line="-includeDependencies ${config.includeDependencies}"/>
    <sysproperty key="weblogic.home" value="${weblogic.home}"/>
    <sysproperty key="osb.home" value="${osb.home}"/>
    <sysproperty key="osgi.bundlefile.limit" value="500"/>
    <sysproperty key="harvester.home" value="${osb.home}/harvester"/>
    <sysproperty key="osgi.nl" value="en_US"/>
    <sysproperty key="sun.lang.ClassLoader.allowArraySyntax" value="true"/>
    <sysproperty key="osgi.bundlefile.limit" value="750"/>
    <sysproperty key="middleware.home" value="${fmw.home}"/>
    </java>
    </target>
    </project>
    With the target:importToOSB,I was able to successfully import into OSB11g environment
    but with target:exportFromOSB or exportFromWorkspace I'm unable to export from OSB11g environment
    to my local directory
    So my intention is to get the OSB11g exported into my local directory
    Can you please help me out in getting this resolved
    Thanks
    RS

  • CLI146 c:/Sun/AppServer/samples/bp-project/passwordfile does not exist in t

    Hi ,
    I got this error,kindly help me on this issue.
    i installed
    jdk1.5.0_11-------------C:\Program Files\Java\jdk1.5.0_11
    netbeans----------------C:\Program Files\netbeans-5.5
    java EE5 sdk-----------C:\Sun\AppServer
    check:
    tools:
    create-pool-local:
    Registering jdbc-connection-pool PetstorePool.
    ds=org.apache.derby.jdbc.ClientDataSource
    check:
    tools:
    create-jdbc-connection-pool:
    CLI146 c:/Sun/AppServer/samples/bp-project/passwordfile does not exist in the file system or read permission denied.
    create-resource-local:
    Registering jdbc resource jdbc/PetstoreDB.
    check:
    tools:
    create-jdbc-resource:
    CLI146 c:/Sun/AppServer/samples/bp-project/passwordfile does not exist in the file system or read permission denied.
    delete-db:
    driver=org.apache.derby.jdbc.ClientDriver
    url=jdbc:derby://localhost:1527/petstore;create=true;
    user=APP
    password=APP
    D:\javapetstore-2.0-ea1\setup\setup.xml:58: org.apache.derby.client.am.SqlException: Connection authorization failure occurred. Reason: userid invalid.
    BUILD FAILED (total time: 1 second)
    i need help from u .
    i created password file c:\1.txt
    it contains AS_ADMIN_PASSWORD=adminadmin
    is it enough
    or any other i need to enter

    While creating a Flex project using Flex builder, did you
    select the server type for your project? If you did not select a
    server type for your flex project, did you configure your compiler
    to include your services-config.xml using the -services argument?
    In your project's compiler settings, add -services
    "configurationfiles/services-config.xml" argument to the compiler
    arguments. The path should point to your services-config.xml.
    If the above mentioned steps were completed and still your
    facing problem, can you please try running "clean" on your project.
    Hope this helps.

  • My project need to be saved as a Video_TS/Audio_TS file for burning purposes with a company that does bulk burring. how do i go by this?

    my project needs to be saved as a Video_TS/Audio_TS file for burning purposes with a company that does bulk burring. how do i go by this?

    VIDEO_TS (and an empty audio_ts) folders are part of a standardised DVD structure.  So, what you need a DVD-authoring tool.  FCPX offers to create a very simple DVD, one movie, two designs (black or white), no menu, done.  Older Macs came pre-installed with iLife/iDVD  … export your project as a 'Master', drag into iDVD, select any design template ...   Apple axed 'disk creation' about 7 years ago ... the AppStore is crowded with other, convenient, consumer, template based  tools. Professional structured DVDs are only optional with obsolete DVDSP (part of FC-suite) or Adobe Encore .....

  • [svn] 713: Merging recent sample eclipse project changes for framework and rpc flex library projects to the trunk

    Revision: 713
    Author: [email protected]
    Date: 2008-03-03 10:19:09 -0800 (Mon, 03 Mar 2008)
    Log Message:
    Merging recent sample eclipse project changes for framework and rpc flex library projects to the trunk
    QA: No
    Doc: No
    Bugs: N/A
    Modified Paths:
    flex/sdk/trunk/development/eclipse/flex/framework/.actionScriptProperties
    flex/sdk/trunk/development/eclipse/flex/framework/.flexLibProperties
    flex/sdk/trunk/development/eclipse/flex/rpc/.actionScriptProperties

    Thats good news.

  • [svn:fx-trunk] 5554: Updating airframework and flex4 sample eclipse projects to more closely match the options set in the equivalent build .xml.

    Revision: 5554
    Author: [email protected]
    Date: 2009-03-25 13:46:00 -0700 (Wed, 25 Mar 2009)
    Log Message:
    Updating airframework and flex4 sample eclipse projects to more closely match the options set in the equivalent build.xml.
    Modified Paths:
    flex/sdk/trunk/development/eclipse/flex/airframework/.actionScriptProperties
    flex/sdk/trunk/development/eclipse/flex/airframework/.flexLibProperties
    flex/sdk/trunk/development/eclipse/flex/flex4/.actionScriptProperties

    If you're still using Buckminster 3.6, I strongly suggest switching to 3.7 - it has a number of bug fixes and improvements. This applies to both headless, and the IDE (assuming Eclipse 3.7 Indigo).
    Matthew

  • Plz send me sample implimentation project.

    hi,
        anybody plz send me sample implementation project,and also roles and responsibilities about that project.
    regards,
    balaram.

    please share what you got. many thanks, in advance!

  • For h.264 encoding, what size does the project need to be to avoid black bars on the top and bottom.

    For h.264 encoding, what size does the project need to be to avoid black bars on the top and bottom. I am exporting the mp4 to Brightcove.

    Hi there,
    Which version of Adobe Captivate (If it is Adobe Captivate) is it and which Operating System is it?
    Thanks.

  • Incorrect INSERT in the sample Employee project

    Hi,
    In the sample Employee project provided with the 10.1.2 release the following code generates an incorrect insert (the runtime is 10.1.3 (Build 051113)).
    UnitOfWork uow = this.getSession().acquireUnitOfWork();
    Employee newEmployee = new Employee();
    newEmployee.setFirstName("Joseph");
    newEmployee.setLastName("Fletcher");
    PhoneNumber phone = new PhoneNumber();
    phone.setAreaCode("123");
    phone.setNumber("4567890");
    phone.setType("Home");
    newEmployee.addPhoneNumber(phone);
    uow.registerNewObject(newEmployee);
    uow.commit();
    Triggers the following exception:
    TopLink Warning]: 2006.01.24 04:01:47.894--UnitOfWork(23525817)--Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 051113)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01400: cannot insert NULL into ("POMOWNER"."PFWPOC_PHONE"."EMP_ID")
    Error Code: 1400
    Call:INSERT INTO PFWPOC_PHONE (TYPE, P_NUMBER, AREA_CODE, EMP_ID) VALUES ('Home', '4567890', '123', NULL)
    Query:InsertObjectQuery(PhoneNumber[Home]: (123) 456-7890)
    [TopLink Finer]: 2006.01.24 04:01:47.909--ClientSession(19523049)--Connection(29494967)--rollback transaction
    Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 051113)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01400: cannot insert NULL into ("POMOWNER"."PFWPOC_PHONE"."EMP_ID")
    Error Code: 1400
    Call:INSERT INTO PFWPOC_PHONE (TYPE, P_NUMBER, AREA_CODE, EMP_ID) VALUES ('Home', '4567890', '123', NULL)
    Query:InsertObjectQuery(PhoneNumber[Home]: (123) 456-7890)
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:658)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:707)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:496)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:442)
         at oracle.toplink.publicinterface.Session.executeCall(Session.java:717)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:238)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:156)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:172)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:433)
         at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:60)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:622)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:586)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:479)
         at oracle.toplink.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:110)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:259)
         at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:603)
         at oracle.toplink.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:519)
         at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:100)
         at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:72)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2528)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:981)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:938)
         at oracle.toplink.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:240)
         at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:217)
         at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:173)
         at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3123)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1240)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1328)
         at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1095)
         at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:864)
         at com.oocl.csc.frm.pom.test.TestBidirRel.testBidirRel(TestBidirRel.java:80)
         at com.oocl.csc.frm.pom.test.TestBidirRel.main(TestBidirRel.java:107)
    Caused by: java.sql.SQLException: ORA-01400: cannot insert NULL into ("POMOWNER"."PFWPOC_PHONE"."EMP_ID")
    Indeed the EMP_ID cannot be null as it is part of the PK. This should not be null.
    Regards,
    -horea

    Hi Chris,
    Thank you for looking into this. I checked your suggestions and in our sessions.xml file we do define a custom sequence table (seems to be working fine in all other projects), the same defined via the project MW.
    Also, the insert in the employee table seems to be generated correctly:
    [TopLink Fine]: 2006.01.25 02:41:29.930--ClientSession(27651180)--Connection(3834717)--INSERT INTO POC_EMPLOYEE (EMP_ID, GENDER, VERSION, F_NAME, L_NAME, COUNTER, MANAGER_ID, END_DATE, START_DATE, BKUP_KEY, MAIN_KEY, START_TIME, END_TIME, ADDR_ID) VALUES (302, NULL, 1, 'Joseph', 'Fletcher', 0, NULL, NULL, NULL, NULL, NULL, {ts '2000-02-01 09:00:00.617'}, {ts '2000-02-01 17:00:00.617'}, NULL)
    Below is the sessions.xml we use.
    Regards,
    -horea
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink-sessions version="10g Release 3 (10.1.3.0.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="session-broker">
    <name>FooBroker</name>
    <event-listener-classes/>
    <profiler>toplink</profiler>
    <logging xsi:type="toplink-log">
    <log-level>all</log-level>
    <logging-options>
    <log-exception-stacktrace>false</log-exception-stacktrace>
    <print-thread>false</print-thread>
    <print-session>true</print-session>
    <print-connection>true</print-connection>
    <print-date>true</print-date>
    </logging-options>
    </logging>
    <session-name>FooSession</session-name>
    </session>
    <session xsi:type="server-session">
    <name>FooSession</name>
    <event-listener-classes/>
    <primary-project xsi:type="xml">TestEmployeeProject.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <user-name>foo1</user-name>
    <password></password>
    <sequencing>
    <default-sequence xsi:type="table-sequence">
    <name>Custom</name>
    <table>POC_SEQUENCE</table>
    </default-sequence>
    </sequencing>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <connection-url>xxxxxxxxx</connection-url>
    </login>
    <connection-pools>
    <read-connection-pool>
    <name>ReadConnectionPool</name>
    </read-connection-pool>
    <write-connection-pool>
    <name>default</name>
    </write-connection-pool>
    </connection-pools>
    <connection-policy/>
    </session>
    </toplink-sessions>

  • I am not able to open, compile and build sample plugin projects from Indesign CS4 SDK

    Hi,
    I am new to Indesign plugin development.
    I have downloaded Indesign CS4 SDK Products version for Windows.
    I have downloaded Adobe Indesign CS4 trial version.
    I have Microsoft Visual C++ 6.0 . I want to build sample SDK examples given
    in SDK. But when I open them from visual c++ /prj folder the project is not
    getting opened.
    I want to load Dollyxs and build it and using that develop some projects.
    Also want to build and run the SDK examples .
    So can anybody help about what software I need n which version of visul c++
    is needed for this.And how to Install
    them.
    Thanks n Regards,
    Ravi Sharma

    Hi,
    Thank u very much for your response.
    Now I am getting error as :Error spawning cmd.exe. while I am building project (Indesign cs4-Windows).
    I have set properties for .fr and .rc files .Am I missing any other setting to be made.
    Can u help me?
    Regards,
    Ravi Sharma

  • EXS samples in Project Folder...

    When I tell Logic to copy my samples to the project folder (using the Assets section of the Project Settings), is Logic still using the samples from their original location during playback, or is it now playing the files from my Project Folder?
    I'm hoping it's still using the original files, which are located on a different drive than my Project Folder. I think copying the samples to the PF is just for the convenience of having all my project material in one place... True?

    Yes this is true. If I am not sending the project elswhere I don't resave the samples thus avoiding wasting lots of hd space for duplicates.

  • Upgraded to Crystal Reports XI R2 - Project needs to be upgraded

    Post Author: GlennH
    CA Forum: Crystal Reports
    Two issues I am facing:
    1.  Whenever I open my existing project that I have added Crystal capabilities to I get a message box stating that "One or more projects in Solution "..." needs to be updated to use Crystal Reports XI Release 2.  If you choose "Yes", the update will be applied permanently.  If you choose "No", some design-time features may not work properly. Would you like to upgrade your solution?"
    For this message box I always click "Yes" - everytime I open the project.  Apparently permanent is not permanent!
    2.  After I click "Yes" above I always need to add the following two references to my web project in order to get my web solution to build without errors.  The errors state something to the effect that the version referenced in my project does not match version so-and-so.
    So, the problem is I can not open or build the project without user intervention.  It has been frustrating for me, but will be a show-stopper when we go into the automated build process.
    I am running VS 2005 with SP1 on Windows XP SP2.  All project files and the .sln file are writeable.
    Any help would be appreciated.
    Thanks,
    Glenn

    Post Author: jcm746
    CA Forum: Crystal Reports
    Having same problem.  Found out that the upgrade=yes option was removing some of the assemblies in the web.config file.  I now answer no every time I start VS2005.
    John

  • TV monitor display project, need advice.

    So I will be starting a project soon for my job. It will require some content for a store lobby TV display screen. Basically I will be making some content, whether it be scrolling images, animations, or maybe a video clip playing automatically. I will have maybe all of these things to be played throughout the day in the lobby of my work for customers to be viewing. This is the first time I have taken on a project such as this and I'm not sure where to start. I need advice on what type of information I need in order to begin this such as what size to start my project as, format, etc. Thanks!

    Hi,
    You have two options:
    1. Create the Edge Animation on the Computer, and play the animation and use some screen capture software that will give you a video. This video you can play on your lobby TV  in loop.
    2. If the lobby TV is a smart tv (i.e. it has browser to navigate the webpage), then you can host the Edge animation content files on some server, and navigate to the server url, which will play the animation on the browser in the TV.
    hth,
    Vivekuma

  • Sample select query needed

    hi
    sample table can be considered as scott.emp table
      CREATE TABLE "EMP"
       (     "EMPNO" NUMBER(4,0),
         "ENAME" VARCHAR2(10 BYTE),
         "JOB" VARCHAR2(9 BYTE),
         "MGR" NUMBER(4,0),
         "HIREDATE" DATE,
         "SAL" NUMBER(7,2),
         "DEPTNO" NUMBER(2,0)
    -- INSERTING into EMP
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7369,'SMITH','CLERK',7902,to_date('17-DEC-80','DD-MON-RR'),800,20);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7499,'ALLEN','SALESMAN',7698,to_date('20-FEB-81','DD-MON-RR'),1600,30);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7521,'WARD','SALESMAN',7698,to_date('22-FEB-81','DD-MON-RR'),1250,30);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7566,'JONES','MANAGER',7839,to_date('02-APR-81','DD-MON-RR'),2975,20);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7654,'MARTIN','SALESMAN',7698,to_date('28-SEP-81','DD-MON-RR'),1250,30);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7698,'BLAKE','MANAGER',7839,to_date('01-MAY-81','DD-MON-RR'),2850,30);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7782,'CLARK','MANAGER',7839,to_date('09-JUN-81','DD-MON-RR'),2450,10);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7788,'SCOTT','ANALYST',7566,to_date('19-APR-87','DD-MON-RR'),3000,20);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7839,'KING','PRESIDENT',null,to_date('17-NOV-81','DD-MON-RR'),5000,10);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7844,'TURNER','SALESMAN',7698,to_date('08-SEP-81','DD-MON-RR'),1500,30);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7876,'ADAMS','CLERK',7788,to_date('23-MAY-87','DD-MON-RR'),1100,20);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7900,'JAMES','CLERK',7698,to_date('03-DEC-81','DD-MON-RR'),950,30);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7902,'FORD','ANALYST',7566,to_date('03-DEC-81','DD-MON-RR'),3000,20);
    Insert into EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO) values (7934,'MILLER','CLERK',7782,to_date('23-JAN-82','DD-MON-RR'),1300,10); In this we can see we do not have any data for the hiredate between '01-feb-81' and '20-feb-81' . But the select statement must retrun
    values in between those days too with ename,job AS NULL and empno, mgr,sal as 0,depno can be 0 or any number.
    i have tried something and i got the count for few columns . THe query goes something like this.
    this works on a given date range . Both queries given below
    select rt.business_date,
    ( select count(ename) from emp  where trunc(hiredate) = trunc(rt.business_date) )  ename ,
    ( select count(empno) from emp  where trunc(hiredate) = trunc(rt.business_date) )  empno ,
    ( select count(job) from emp  where trunc(hiredate) = trunc(rt.business_date) )  job,
    ( select count(mgr) from emp  where trunc(hiredate) = trunc(rt.business_date) )  mgr ,
    ( select count(deptno) from emp  where trunc(hiredate) = trunc(rt.business_date) )  deptno
    FROM (select ((TO_DATE(p_startdate,'mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt
                 WHERE TRUNC(rt.business_date) BETWEEN TO_DATE(p_startdate,'mm/dd/yyyy') AND  TO_DATE(p_enddate,'mm/dd/yyyy')
            SAMPLE OUTPUT FROM select statement has to be something like this :
    empno     ename      job     mgr     HIREDATE     SAL     DEPTNO     
    7369     SMITH     CLERK     7902     17-Dec-80     800     20     
    0     NULL     NULL     0     14-Feb-81     0     0     
    0     NULL     NULL     0     15-Feb-81     0     0     
    0     NULL     NULL     0     16-Feb-81     0     0     
    0     NULL     NULL     0     17-Feb-81     0     0     
    0     NULL     NULL     0     18-Feb-81     0     0     
    0     NULL     NULL     0     19-Feb-81     0     0     
    7499     ALLEN     SALESMAN     7698     20-Feb-81     1600     30     
    7521     WARD     SALESMAN     7698     22-Feb-81     1250     30     
    7566     JONES     MANAGER     7839     2-Apr-81     2975     20     
    7698     BLAKE     MANAGER     7839     1-May-81     2850     30     
    7782     CLARK     MANAGER     7839     9-Jun-81     2450     10     
    7844     TURNER     SALESMAN     7698     8-Sep-81     1500     30     
    7654     MARTIN     SALESMAN     7698     28-Sep-81     1250     30     
    7839     KING     PRESIDENT     (null)     17-Nov-81     5000     10     
    7900     JAMES     CLERK     7698     3-Dec-81     950     30     
    7902     FORD     ANALYST     7566     3-Dec-81     3000     20     
    7934     MILLER     CLERK     7782     23-Jan-82     1300     10     
    7788     SCOTT     ANALYST     7566     19-Apr-87     3000     20     
    7876     ADAMS     CLERK     7788     23-May-87     1100     20     Edited by: sri on Oct 19, 2011 8:36 AM
    Edited by: sri on Oct 19, 2011 8:56 AM

    Hi,
    You changed your first message.
    sri wrote:
    hi,
    i want the table data to be displayed as shown . in the quereis we are getting count of those records for that date. But i want something different . if we can see some dates there are no records but in the select statement we need to display the records in the given range of dates.
    the out put can be cosnidered something like this:
    THe select statment need to display hiredates data for 14 - 20 feb as shown below and this we do not have in our base table emp.
    empno     ename      job     mgr     HIREDATE     SAL     DEPTNO     
    7369     SMITH     CLERK     7902     17-Dec-80     800     20     
    0     NULL     NULL     0     14-Feb-81     0     0     
    0     NULL     NULL     0     15-Feb-81     0     0     
    0     NULL     NULL     0     16-Feb-81     0     0     
    0     NULL     NULL     0     17-Feb-81     0     0     
    0     NULL     NULL     0     18-Feb-81     0     0     
    0     NULL     NULL     0     19-Feb-81     0     0     
    7499     ALLEN     SALESMAN     7698     20-Feb-81     1600     30     
    7521     WARD     SALESMAN     7698     22-Feb-81     1250     30     
    7566     JONES     MANAGER     7839     2-Apr-81     2975     20     
    7698     BLAKE     MANAGER     7839     1-May-81     2850     30     
    7782     CLARK     MANAGER     7839     9-Jun-81     2450     10     
    7844     TURNER     SALESMAN     7698     8-Sep-81     1500     30     
    7654     MARTIN     SALESMAN     7698     28-Sep-81     1250     30     
    7839     KING     PRESIDENT     (null)     17-Nov-81     5000     10     
    7900     JAMES     CLERK     7698     3-Dec-81     950     30     
    7902     FORD     ANALYST     7566     3-Dec-81     3000     20     
    7934     MILLER     CLERK     7782     23-Jan-82     1300     10     
    7788     SCOTT     ANALYST     7566     19-Apr-87     3000     20     
    7876     ADAMS     CLERK     7788     23-May-87     1100     20
    Use a FULL OUTER JOIN instead of LEFT OUTER JOIN, like this:
    WITH     all_dates  AS
         SELECT     startdate + LEVEL - 1     AS dt
         FROM     (
                   SELECT     TO_DATE ('02/14/1981', 'MM/DD/YYYY')     AS startdate
                   ,     TO_DATE ('02/20/1981', 'MM/DD/YYYY')     AS enddate
                   FROM     dual
         CONNECT BY     LEVEL <= 1+ enddate - startdate
    SELECT       NVL (e.empno, 0)          AS empno
    ,       e.ename
    ,       NVL (a.dt, e.hiredate)     AS hiredate
    --  add other columns
    FROM                 all_dates     a
    FULL OUTER JOIN      emp          e  ON  a.dt = e.hiredate
    ORDER BY  NVL (a.dt, e.hiredate)
    ;

  • OT: U.S. Midwest flood relief project needs volunteers

    Greetings everybody,
    I discovered this organization recently, Hands On Disaster
    Response
    http://www.hodr.org). They provide
    opportunities for short-term volunteer
    work in disaster locations, with what appears to be very
    little red tape. I
    haven't been on a project yet, but got on their email list,
    and they just
    sent me this letter (below), which I thought some people here
    might be
    interested in.
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    The Midwestern United States have been inundated by record
    breaking flooding
    creating a great need for volunteer support. Hands On has
    launched Project
    Cedar Rapids which opened June 23 and will run for 30 days,
    providing
    volunteer assistance to communities affected by the flooding.
    We need volunteers to come join our project! If you cannot
    come and join our
    team in Iowa, then please consider donating to support these
    efforts and the
    people of IOWA! You can make a donation that you know will be
    used
    effectively through the Please Give page on our website or
    through PayPal.
    Please also check the Volunteer Info section of our website
    and photos for
    updated information as it becomes available.
    We will be focusing our efforts in Cedar Rapids and Palo, IA.
    In Palo, a
    town of 500 homes, 470 were flooded. In Cedar Rapids, Iowa's
    second largest
    city, an estimated 4,000 homes were inundated by the
    overflowing river.
    Residents are very proactive and have already started
    removing the
    water-logged contents of their homes, lining the streets with
    debris. We
    anticipate working alongside residents, helping with gutting
    of homes, and
    will remain open and flexible to the changing needs of the
    communities.
    We will update our website
    http://www.hodr.org/ and our
    Twitter micro-blog
    http://twitter.com/HODRops
    with updates and projects as they evolve.
    See you in Iowa!
    Bill Driscoll Jr.
    Operations Director
    Hands On Disaster Response
    Project Cedar Rapids

Maybe you are looking for