CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS BUSINESS INTELLIGENCE DETAILS
    Question :
    i have coloum of id like "abcd-xyz-101-pqrs". i have to split it into 4 parts based on "-". xyz not a constant of 3 characters. some times it may be 4 or 5 charcters. how can i split it.

    Posted by: ramesh on 7/5/2010

    Contact ramesh Contact ramesh
    Category Business Intelligence Interview Questions
    Rating (0.4) By 878 users
    Added on 7/5/2010
    Views 1489
    Rate it!
    Answers:

    Please try bellow query, I hope it will help you.

    Select
    substr("abcd-xyz-101-pqrs",1,instr("abcd-xyz-101-pqrs","-",1,1)-1) AS FirstColumn,
    substr("abcd-xyz-101-pqrs",instr("abcd-xyz-101-pqrs","-",1,1)+1,instr("abcd-xyz-101-pqrs","-",1,2)-1) AS SecondColumn,
    substr("abcd-xyz-101-pqrs",instr("abcd-xyz-101-pqrs","-",1,2)+1,instr("abcd-xyz-101-pqrs","-",1,3)-1) AS ThirdColumn,
    substr("abcd-xyz-101-pqrs",instr("abcd-xyz-101-pqrs","-",1,3)+1,count("abcd-xyz-101-pqrs") AS FourthColumn
    from sample



    Posted by: Sriram    

    Contact Sriram Contact Sriram

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    What are the various modules in Business Objects product Suite?
    View Answer
    Explain the Name of some standard Business Intelligence tools in the market?
    View Answer
    What is hierarchy relationship in a How to connect GDE to Co Operating system in Abinitio?
    View Answer
    What is hierarchy relationship in a dimension.
    whether it is:
    1. 1:1
    2. 1:m
    3. m:m
    View Answer
    Why we can not create an aggregate on an ODS Object?
    View Answer
    How do we Tune the BO Reports for Performance Improvement?
    View Answer
    Explain about Auditing in BO XI R2? What is the use of it?
    View Answer
    What are dashboards?
    View Answer
    How do we enhance the functionality of the reports in BO?
    View Answer
    Name some of the standard Business Intelligence tools in the Market?
    View Answer
    What is BAS? What is the function?
    View Answer
    Why an infocube has maximum of 16 dimensions?
    View Answer
    What is OLAP, MOLAP, ROLAP, DOLAP, HOLAP? Explain with Examples?
    View Answer
    What are the various modules in Business Objects product?
    View Answer
    What is OLAP in Business Intelligence?
    View Answer
    What is a Universe in Business Intelligence?
    View Answer
    What is Business Intelligence?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Business Intelligence Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.03125 Seconds