Understanding number datatype [A help for beginners]

I would like to share some practical aspects of Oracle Number datatype. Please visit following link.
http://mamohiuddin.blogspot.com/2007/03/practical-approach-to-understand-oracle.html
Thank you,
aijaz

My only comment would be, since this posting of yours is being made in March 2007, wouldn't it make sense to ensure that it's all correct for the latest version of Oracle (10.2) as 9iR2 is a little "old hat" now. I'm not saying that there is anything wrong with what you've demonstrated, but you only quote it as being compatible with 9iR2 and 10.2 has now been available for a good couple of years.

Similar Messages

  • Help For Beginners in BW

    Hi I am studying in BW and was wondering if anyone who can suggest any documentation or really good book (other than FUFU's) which can provide step by step guide to learn BW will be greatly appreicated.
    Mukesh

    hi Mukesh,
    there are lots of 'getting started' here
    https://www.sdn.sap.com/irj/sdn/developerareas/bi
    https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/e78a5148-0701-0010-7da9-a6c721c6112e [original link is broken]
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/a8cd1f71-0a01-0010-4783-f119b6132d25 [original link is broken]
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/ac0ca14e-0a01-0010-7596-c8756f80a56e [original link is broken]
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/e1859e4e-0a01-0010-c099-c247943aef37 [original link is broken]
    BW books
    SAP BW Data Retrieval - Mastering the ETL Process
    by Norbert Egger, Jean-Marie Fiechter, Ralf-Patrick Sawicki, Robert Salzmann, and Thomas Thielen
    http://www.sappress.com/product.cfm?account=&product=H990
    Mastering the SAP Business Information Warehouse
    by Kevin McDonald, Andreas Wilmsmeier, David C. Dixon
    http://www.amazon.com/gp/product/0471219711/ref=pd_bxgy_text_b/102-7679650-5957713?%5Fencoding=UTF8
    “Business Information Warehouse for SAP” Naeem Hasmi
    http://www.amazon.com/gp/product/0471236349/102-7679650-5957713?v=glance&n=283155
    sample chapter
    http://infoframeworks.com/BW/SAP_BW_3rd_Party_Access_ETL_Tools.htm
    others
    SAP BW Data Modeling
    by Norbert Egger, Jean-Marie Fiechter, and Jens Rohlf
    http://www.sappress.com/product.cfm?account=&product=H989
    SAP BW Professional by Norbert Egger
    http://www.amazon.com/gp/product/1592290175/ref=pd_sim_b_2/102-7679650-5957713?%5Fencoding=UTF8&v=glance&n=283155
    SAP BW: A Step by Step Guide for BW 2.0 (Paperback)
    by Biao Fu, Henry Fu
    http://www.amazon.com/gp/product/0201703661/ref=pd_sim_b_3/102-7679650-5957713?%5Fencoding=UTF8&v=glance&n=283155
    SAP and BW Data Warehousing by Arshad Khan
    http://www.amazon.com/exec/obidos/tg/detail/-/B0007MYREQ/ref=pd_sim_b_5/102-7679650-5957713?%5Fencoding=UTF8&v=glance
    also take a look threads
    Re: How to begin with BI...
    Re: SAP BW beginner
    hope this helps.

  • Help for beginners

    Are there any guides out there for someone who knows how to use
    Linux, but not Oracle and how to write CGI's to access an Oracle
    database? I have written CGI programs within Visual Basic for NT
    before (yuk) and understand CGI programming concepts, but would
    like to check out Oracle under Linux and Apache (unfortunately,
    everyone at work is thinking NT/SQL Server).
    Is there some sample C or C++ source code out there to get people
    started? Are there PERL bindings to access an Oracle database?
    In general, how to those wishing to re-claim their database-souls
    get started with Oracle under Linux?
    Thanks
    null

    Marc Fearby (guest) wrote:
    : Are there any guides out there for someone who knows how to use
    : Linux, but not Oracle and how to write CGI's to access an
    Oracle
    : database? I have written CGI programs within Visual Basic for
    NT
    : before (yuk) and understand CGI programming concepts, but would
    : like to check out Oracle under Linux and Apache (unfortunately,
    : everyone at work is thinking NT/SQL Server).
    : Is there some sample C or C++ source code out there to get
    people
    : started? Are there PERL bindings to access an Oracle database?
    : In general, how to those wishing to re-claim their
    database-souls
    : get started with Oracle under Linux?
    : Thanks
    You need to install the Perl modules DBI and the Oracle DBD. They
    are available from any CPAN site (you can find one near you from
    http://www.perl.com/). These two modules contain a wealth of
    information as to how to get started with Perl CGI and
    Oracle/Linux. Just try "perldoc DBI" and/or "perldoc Oracle"
    after installing the modules.
    Robert XU
    null

  • GoldenGate help for beginners - a short tutorial

    Some newly posted material is on:
    http://www.oracle.com/technetwork/middleware/goldengate/learnmore/index.html
    Towards the bottom there is a link for:
    Oracle GoldenGate Tutorial for Oracle to Oracle Version 10.4
    Which points to:
    http://www.oracle.com/technetwork/middleware/goldengate/learnmore/ogg-tutorial-ora-to-ora-10-4-177139.pdf
    It's regarding OGG 10.4 but as a beginner's guide this should transfer just fine to OGG 11.1. Periodically check out the first link for future additions.
    Have fun,
    -joe

    There's also lots and lots of examples, and they're getting updated regularly, here:
    http://apex.oracle.com/pls/apex/f?p=44785:24:10014305479309::::P24_CONTENT_ID,P24_PREV_PAGE:5153,24
    Have fun,
    -joe

  • Just have a question on how these community site will help for beginners on their day to day life

    Hi Frnds,
       I am new to the Tech Support field and just want to know when I face any issue on the VMware vSphere 5.1 product if I post question here how soon will I get response from the experts in community site... pls let me know this so that going forward I can post more and more questions...
    Regards,
    Pavan Kumar. S

    Hello and welcome to the communities.
    Note: Discussion successfully moved from vSphere 5.1 to Virtual Lounge
    The VMware communities are made up of volunteers, including some VMware employees. The time it takes to get a response can vary, depending on the nature of the question. It is important to remember that these communities are not the official support channel for VMware products. The people that contribute here volunteer their time and expertise, and because of this there are no guarantees. Many questions get answered immediately, so using the communities as a starting place is often a good approach.

  • Need help for understanding the behaviour of these 2 queries....

    Hi,
    I need your help for understanding the behaviour of following two queries.
    The requirement is to repeat the values of the column in a table random no of times.
    Eg. A table xyz is like -
    create table xyz as
    select 'A' || rownum my_col
    from all_objects
    where rownum < 6;
    my_col
    A1
    A2
    A3
    A4
    A5
    I want to repeat each of these values (A1, A2,...A5) multiple times - randomly decide. I have written the following query..
    with x as (select my_col, trunc(dbms_random.value(1,6)) repeat from xyz),
    y as (select level lvl from dual connect by level < 6)
    select my_col, lvl
    from x, y
    where lvl <= repeat
    order by my_col, lvl
    It gives output like
    my_col lvl
    A1     1
    A1     3
    A1     5
    A2     1
    A2     3
    A2     5
    A3     1
    A3     3
    A3     5
    A4     1
    A4     3
    A4     5
    A5     1
    A5     3
    A5     5
    Here in the output, I am not getting rows like
    A1     2
    A1     4
    A2     2
    A2     4
    Also, it has generated the same set of records for all the values (A1, A2,...,A5).
    Now, if I store the randomly-decided value in the table like ---
    create table xyz as
    select 'A' || rownum my_col, trunc(dbms_random.value(1,6)) repeat
    from all_objects
    where rownum < 6;
    my_col repeat
    A1     4
    A2     1
    A3     5
    A4     2
    A5     2
    And then run the query,
    with x as (select my_col, repeat from xyz),
    y as (select level lvl from dual connect by level < 6)
    select my_col, lvl
    from x, y
    where lvl <= repeat
    order by my_col, lvl
    I will get the output, exactly what I want ---
    my_col ....lvl
    A1     1
    A1     2
    A1     3
    A1     4
    A2     1
    A3     1
    A3     2
    A3     3
    A3     4
    A3     5
    A4     1
    A4     2
    A5     1
    A5     2
    Why the first approach do not generate such output?
    How can I get such a result without storing the repeat values?

    If I've understood your requirement, the below will achieve it:
    SQL> create table test(test varchar2(10));
    Table created.
    SQL> insert into test values('&test');
    Enter value for test: bob
    old   1: insert into test values('&test')
    new   1: insert into test values('bob')
    1 row created.
    SQL> insert into test values('&test');
    Enter value for test: terry
    old   1: insert into test values('&test')
    new   1: insert into test values('terry')
    1 row created.
    SQL> insert into test values('&test');
    Enter value for test: steve
    old   1: insert into test values('&test')
    new   1: insert into test values('steve')
    1 row created.
    SQL> insert into test values('&test');
    Enter value for test: roger
    old   1: insert into test values('&test')
    new   1: insert into test values('roger')
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select lpad(test,(ceil(dbms_random.value*10))*length(test),test) from test;
    LPAD(TEST,(CEIL(DBMS_RANDOM.VALUE*10))*LENGTH(TEST),TEST)
    bobbobbobbobbobbobbobbobbobbob
    terryterry
    stevestevesteve
    rogerrogerrogerrogerrogerrogerrogerrogerrogerYou can alter the value of 10 in the SQL if you want the potential for a higher number of names.
    Andy

  • How to convert number datatype to raw datatype for use in data warehouse?

    I am picking up the work of another grad student who assembled the initial data for a data warehouse, mapped out a dimensional dw and then created then initial fact and dimension tables. I am using oracle enterprise 11gR2. The student was new to oracle and used datatypes of NUMBER (without a length - defaulting to number(38) for dimension keys. The dw has 1 fact table and about 20 dimension tables at this point.
    Before refining the dw further, I have to translate all these dimension tables and convert all columns of Number and Number(n) (where n=1-38) to raw datatype with a length. The goal is to compact the size of the dw database significantly. With only a few exceptions every number column is a dimension key or attribute.
    The entire dw db is now sitting in a datapump dmp file. this has to be imported to the db instance and then somehow converted so all occurrences of a number datatype into raw datatypes. BTW, there are other datatypes present such as varchar2 and date.
    I discovered that datapump cannot convert number to raw in an import or export, so the instance tables once loaded using impdp will be the starting point.
    I found there is a utl_raw package delivered with oracle to facilitate using the raw datatype. This has a numbertoraw function. Never used it and am unsure how to incorporate this in the table conversions. I also hope to use OWB capabilities at some point but I have never used it and only know that it has a lot of analytical capabilities. As a preliminary step I have done partial imports and determined the max length of every number column so I can alter the present schema number columns tp be an apporpriate max length for each column in each table.
    Right now I am not sure what the next step is. Any suggestions for the data conversion steps would be appreciated.

    Hi there,
    The post about "Convert Numbers" might help in your case. You might also interested in "Anydata cast" or transformations.
    Thanks,

  • Need help or documentation for beginners with SAP BI7

    I am relatively new to SAP (less than a year) and I am still having difficulties understanding the basics about SAP.  I write queries and reports and would appreciate any links or books that would help guide me.  I have bought a book through SAP Press but I need a SAP for beginners books that is really easy to understand.
    Thanks

    Hi......
    Check this link :
    http://www.youtube.com/watch?v=nWsvV6Z64yw&feature=related
    Also you will get everything in SAP Library : help.sap.com
    Regards,
    Debjani..........

  • Excuse me, but I don't understand How I can contact a ADOBE expert to ask about my problem? I don't found a mail, or chat or other else...is it possible? Only help for Customer is on the Forum?!?!?

    Excuse me, but I don't understand How I can contact a ADOBE expert to ask about my problem? I don't found a mail, or chat or other else...is it possible? Only help for Customer is on the Forum?!?!?
    Someone can help me...thanks in advance.
    f

    While it is possible you have a faulty unit I'd agree that the menu system took a step backwards with the itunes store centric take 2.0+ software. I think I'm in the minority here though. Apart from the 2.0+ top level interface being butt ugly and confusing to navigate, it simply isn't as responsive as 1.0/1.1 and I think most of this is to do with displaying a combined sync/stream menu. if you sync stuff try setting 'show only synced items' in the AppleTv device tabs in iTunes and see if it makes the issue go away - easy to revert back.
    Huge libraries (number of files not actual size of the files) can also be problematic given AppleTV's modest hardware specs but that's more exception than the rule.
    With streaming/syncing combined I also think any network deficiencies show up more than they used to.

  • Users of imovie experience a lot of problems and crying for help and no one at Apple did not respond I do not understand how a company like Apple puts experts to help users Please note that anonymous experts in Internet offer their help for money

    Users of imovie experience a lot of problems and crying for help and no one at Apple did not respond
    I do not understand how a company like Apple puts experts to help users
    Please note that anonymous experts in Internet offer their help for money

    Users of imovie experience a lot of problems and crying for help and no one at Apple did not respond
    I do not understand how a company like Apple puts experts to help users
    Please note that anonymous experts in Internet offer their help for money

  • I have Adobe Acrobat 9 Pro and the serial number.  It is asking for an older serial number?  Please help?

    I have Adobe Acrobat 9 Pro and the serial number.  It is asking for an older serial number?  Please help?

    Hi juneb55782770,
    I believe that you have an upgrade version of Adobe Acrobat Pro, in this case it will ask for the serial number of the previous qualifying version.
    You can find your old serial number using this link : Find your serial number quickly
    Hope this will resolve your issue.
    Please reply if you still experience any issue.
    Regards,
    Aadesh

  • What's the phone number I should call for help with my iPhone and ihome dock?

    What's the phone number I should call for help with my iPhone and ihome dock?

    http://www.ihomeaudio.com/support/

  • Can someone help me in understanding Public ,Private ,VIP&SCAN for RAC11gr2

    Can someone help me in understanding Public ,Private ,VIP&SCAN for RAC11gr2 as i am new to RAC 11gr2 installtion process

    user12085983 wrote:
    Can someone help me in understanding Public ,Private ,VIP&SCAN for RAC11gr2 as i am new to RAC 11gr2 installtion processThe public IP address is assigned dynamically using dynamic host configuration protocol (DHCP), or defined statically in a domain name system (DNS) or in a hosts file. It uses the public interface (the interface with access available to clients).
    Oracle Clusterware uses interfaces marked as private for internode communication.
    The virtual IP (VIP) address is registered in the grid naming service (GNS), or the DNS. Select an address for your VIP that meets the following requirements:
    * The IP address and host name are currently unused (it can be registered in a DNS, but should not be accessible by a ping command)
    * The VIP is on the same subnet as your public interface
    Oracle Database 11g release 2 clients connect to the database using single client access names (SCANs). The SCAN and its associated IP addresses provide a stable name for clients to use for connections, independent of the nodes that make up the cluster. SCAN addresses, virtual IP addresses, and public IP addresses must all be on the same subnet.
    The SCAN is a VIP name, similar to the names used for VIP addresses, such as node1-vip. However, unlike a VIP, the SCAN is associated with the entire cluster, rather than an individual node, and associated with multiple IP addresses, not just one address.

  • Search help for material number in table control

    Hi
    I have a table which i have generated using table control wizard.
    I have used an interal table while creating the table control through wizard.
    In this internal table i have field matnr.Now my requirement is to have a search help for this field.
    I want a default search help for material as you get one instandard transactions.
    In my other i have ip/op field i.e matnr and i have used the field directly from ztable,it has got the search help but since i am using the internal table i am notting getting a search help .
    can anyone tell how to assign a search help to my table control material field

    hi deepthi,
    chk a sample one which will help u. <b><i>f4 hlp in table control</i></b>
    * Screen flow logic........
    PROCESS BEFORE OUTPUT.
    *MODULE PBO_MODULE.
    PROCESS AFTER INPUT.
    *MODULE PAI_MODULE.
    PROCESS ON VALUE-REQUEST. "F4
      FIELD EKPO-EBELP MODULE help_ekpo.
    * populate screen field from within PROCESS ON VALUE-REQUEST(F4) call
    *&      Module  help_responsibility  INPUT
    *       text
    MODULE help_ekpo INPUT.
    **Transport values to table dynpro/screen table control
      DATA: l_stepl LIKE  sy-stepl,
            l_indx  LIKE  sy-stepl.
      DATA: dynpfields        LIKE dynpread OCCURS 5 WITH HEADER LINE.
    * Adjust for scroling within table control
      CALL FUNCTION 'DYNP_GET_STEPL'
        IMPORTING
          povstepl        = l_stepl
        EXCEPTIONS
          stepl_not_found = 0
          OTHERS          = 0.
      l_indx = tc_ekpotable-top_line + l_stepl - 1.
              "tc_ekpotable should already have been declared
      REFRESH dynpfields.
      CLEAR   dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELN'.
      dynpfields-fieldvalue = '00010'   "wa_ekpo-ebeln.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELP'.
      dynpfields-fieldvalue = '00020'   "wa_ekpo-ebelp.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = 'SAPLZZ_EKKO'    "Program name
          dynumb     = '0100'           "Screen number
        TABLES
          dynpfields = dynpfields
        EXCEPTIONS
          OTHERS     = 0.
    ENDMODULE.                 " help_ekpo  INPUT
    rgds
    Anver
    <b><i>if hlped kindly mark points</i></b>

  • Help for formatting a number

    Hello,
    Can someone help me !
    I have a JTextField who is bonding with an attribute of a viewObject.
    How can I do for formatting the value of the textField to display it as a currency number ?
    Please help me.

    Braim,
    formatted text fields in Java 1.4 would do this for you. JDeveloper 9.0.4 (supporting formatted text fields) is not out yet, but you can check the JDeveloper10g Preview release on OTN. Here formatted text fields are a native component in JClient.
    Anyway, you can use Java 1.4 with JDeveloper 9.0.3 projects, but you will have to manual code the formatted text field usage
    Frank

Maybe you are looking for

  • Itunes 11 will not open itunes.exe entry point not found

    Every time I try to launch itunes this message box shows up: iTunes.exe - Entry Point Not Found The procedure entry point kCVKmageBufferChromaSubsampling_420 could not be located in the dynamic link library CoreVideo.dll When I click ok another messa

  • Streaming Video problems with Latest update of Lion.

    Having major issues with streaming youtube videos since the latest Lion update.  The videos play halfway through and then just stop, every video that I try.  Other news websites that used to play flawlessly are also hanging up. Is this a youtube issu

  • Can you do webreporting with WAS6.40(only ABAP stack)

    Hi gurus, I have one question: Is it possible to do webreporting with a WAS6.40(only abap)without a java stack. Only the ABAP stack is installed. So design/publish reports with the BEx Web Application designer Thanks for your reactions in advance.

  • Why can't I connect via Bluetooth on iPhone 5

    I am unable to connect anything via Bluetooth on my iPhone 5. It constantly searches but never finds anything. Help need to be able to use my hands free ear piece. Any advise appreciated :-/

  • How do I transfer imported songs, to one Album?

    Hello, and sorry if this is a terrible, easy question to answer. I recently purchased my new iPod, nano to be correct, and started to import songs. When I imported from a CD, it came up as: Track 1 Track 2 Track 3 etc. I want to convert, al this musi