Question on Numbers Functionality

Hello,
I am sorry if something like this was already posted - I searched and could not find it.
I just bought my first iMac (first Mac of any kind) yesterday and had iWorks preinstalled. I am a somewhat advanced Excel user, and do not want to have to load Excel on my Mac.
What I need to do is automatically generate one spreadsheet from another, parsing through data and selecting only the matching values and setting them in the new sheet or workbook. I do this with VBA Macros in Excel.
I was wondering if this is possible with Numbers? I have seen that there is no VBA type scripting support, so while I wait for my machine to arrive I was hoping to see if someone could tell me if there is a way to do this or will I need to install windows and Excel?
Thanks!

Thanks for the suggestion. I followed up with Cross Over Mac presales support and they told me Macros are not functional in Cross Over Mac.
I am going to try to use Open Office Calc for my purposes. I recreated my macros in the windows version while I wait for my iMac to arrive. Hopefully tomorrow!
I noticed another post which used applescript to export data from a spreadsheet. Is it possible to use applescript as a seperate program to access data in a Numbers Spreadsheet, and create new spreadsheets? My functionality doesn't need to be embedded in the spreadsheet itself, just needs the ability to open the spreadsheet, read the data and copy it to a new spreadsheet and format it.
Thanks.

Similar Messages

  • Numbers' Functions and Formulas in Multiple Cells, Tables, and Sheets

    Hello,
    I'm stuck with specifics that center around usage, and I get the funny feeling I'm overlooking a simple detail or two.
    If I may, here goes.
    I'm working with a single spreadsheet that has several sheets within it, and each sheet has an identical table. Each table is used to record various data, and I use an additional table in a separate sheet to consolidate some of the information, so that I can track results, at a glimpse, by looking at averages, totals, etc.
    Each data table is organized for consolidation by tracking wins, ties, or losses. It is important to know that each data table only records a single win, tie, or loss along with its other applicable data. And on the actual consolidation table I am trying to tally specific data fields by the use of Numbers' functions and formulas, yet I wish to keep these tallied results organized by the determining factor of whether or not they were gathered from a table that recorded a win, a table that recorded a tie, or a table with a loss.
    To illustrate, each table contains data fields that record start time, finish time, elapsed time, the day of the week, etc. Let's say I have eight tables, and the first two are winning tables, three more are tables that record a tie, and the last three are losing tables. For example, on my consolidated data table I wish to enter a function and formula capturing which of the eight tables are wins, ties, and losses so that I can, at a glance, see how much time elapsed to obtain the wins, ties, and losses. So then, in this example, for wins I want to determine which of those wins took 20 minutes, or which of them took 15 minutes, etc. So then, out of the two wins, let's say both of them took 20 minutes each. I need the numeral 2 to be counted and recorded on the consolidation table since only two tables match the criteria. And I would do the same for all remaining data fields (e.g., start time, finish time, etc.). Just so long as everything is determined by wins, ties, and losses, and then organized by the respective data fields. Simply put, this example determines a total of two wins that meet the data field requirement of 20 minutes. Out of the eight tables (one table per sheet) any other wins would then be organized according to the specific data in the elapsed time data field on it's data table (e.g., 5 minutes, 15 minutes, etc.).
    The exact syntax structure of the functions and formula I'm unsuccessfully using follows below. It only seems to return a result of 1, and I think it is returning this value from the IF Statements. By the way, the Win, Tie, or Loss cell in each data table is cell formatted as a pop-up so I can either select None or 1. But in this example I'm basing this on the time period of 20 minutes, and out of the eight data tables I have two wins which also record the time period as 20 minutes, so I should see 2 and not 1 in the 20 minutes column of the consolidated data table. Also, I tried changing the syntax where I would type "=1" in the IF Statements, but it returned a result of =1, and if I don't include the equals sign and quotation marks the result just shows up as 1.
    My Syntax:
    IF(Trade 1::'Data Recorded (1)' '* Win', 1, IF(Trade 2::'Data Recorded (1)' '* Win',1, IF(Trade 3::'Data Recorded (1)' '* Win',1, IF(Trade 4::'Data Recorded (1)' '* Win',1, IF(Trade 5::'Data Recorded (1)' '* Win',1, IF(Trade 6::'Data Recorded (1)' '* Win',1, IF(Trade 7::'Data Recorded (1)' '* Win',1, IF(Trade 8::'Data Recorded (1)' '* Win',1, IF(COUNTIFS(Trade 1::'Data Recorded (1)' '* Time in Trade (in minutes)', "=20m")+COUNTIFS(Trade 2::'Data Recorded (1)' '* Time in Trade (in minutes)', "=20m")+COUNTIFS(Trade 3::'Data Recorded (1)' '* Time in Trade (in minutes)', "=20m")+COUNTIFS(Trade 4::'Data Recorded (1)' '* Time in Trade (in minutes)', "=20m")+COUNTIFS(Trade 5::'Data Recorded (1)' '* Time in Trade (in minutes)', "=20m")+COUNTIFS(Trade 6::'Data Recorded (1)' '* Time in Trade (in minutes)', "=20m")+COUNTIFS(Trade 7::'Data Recorded (1)' '* Time in Trade (in minutes)', "=20m")+COUNTIFS(Trade 8::'Data Recorded (1)' '* Time in Trade (in minutes)'))))))))))
    Please bear in mind that the COUNTIFS portion of the above syntax structure is something I'm already successfully using to count the totals of other things not mentioned above, and I'm hesitant to delete it since it already works to my satisfaction when I want to, for example, determine the total number of overall wins. So, just for illustration purposes, I might have an overall wins column in my consolidation table that records how many wins there are, regardless of organization by elapsed time, or any other data field. In other words, the COUNTIFS syntax structure already works to my satisfaction. I'm not sure if it's possible to alter it so that it isn't so long, but what's there does work just when counting total numbers, as just mentioned.
    In summary, I'm wondering which function I can use with the COUNTIFS function to determine which of my eight data tables are winning tables, but break those wins down further based on criteria like elapsed time, and in the above example the time elapsed is 20 minutes. As you may see above, I'm unsuccessfully using the IF function. Finally, I've looked at the function browser descriptions of things like LOOKUP, HLOOKUP, VLOOKUP, INTERSECT.RANGES, and a few others. And so far I haven't made good use of any of them the way I've done when I use the COUNTIFS function by itself when only counting overall totals. But now I must determine totals that meet certain criteria, as explained above.
    Please help if you dare (smile). This is a huge project I'm undertaking, and so as not to cause confusion I have not included all of the details. But rather, I've taken a small sampling and set it to the side for experimentation. If this small sample works out to my satisfaction I can simply copy and paste the syntax in all other respective cells in the consolidation table, changing only reference locations, and perhaps conditions or values. One thing is certain, I don't intend on giving up on it.
    Thank you for your time and advice.
    Blessings!
    Message was edited by: solo68
    Added image.

    I'd like to edit the last paragraph of my second posting, but for some reason an entirely new posting is being created when I attempt to do this. So when reading this post, please use it to replace only the last paragraph of my second post containing the four inserted images.
    Last paragraph begins:
    In closing, I need each cell in each column of each row in my consolidation table to remain as is. I have my reasons for doing this, and they all serve a specific purpose. The only exception would be the formatting of the last three rows as footer rows. Most importantly, and I should have made this abundantly clear earlier, my apologies, I need a single function and formula in cell E7 of my consolidation table that will firstly determine which data tables are winning tables while secondly and simultaneously counting which of those winning tables have elapsed times of 20 minutes. Perhaps, now this better explains why my syntax is written the way it is written. In the example I provided, if the proper function and formula were written it would result as 2 in cell E7 in my consolidation table. If there is anything else specific you need of me in order to assist me, please request it. Thank you.
    Last paragraph ends:
    Additionally, to t quinn:
    First off, thank you for returning to assist me. I really do appreciate your efforts. Please be aware that I'm avoiding going into details about each and every portion of my spreadsheet because I wish to avoid discussion that is off topic. As I stated earlier, I'm new to using these features of Numbers. My spreadsheet encompasses a much larger amount of data than I'm referring to in the example in my first post. But in my example I'm isolating just the information concerning what I'm now trying to accomplish to finish my spreadsheet project. Moreover, most of what I've done up to this point I was able to figure out on my own, or get help from watching videos on YouTube, or simply using the application help menu. Please be aware that I consulted all of these, repeatedly. I even contacted AppleCare, and was told this sort of support is not available. In spite of this, I've accomplished a great deal in my first large spreadsheet project. Please be aware that when I wrote my second post and specifically responded to you, I didn't want to be rude or ungrateful, and I still don't, but maybe the suggestions you and Hiroto made about gathering the count of wins, ties, and losses are something I've already done. I think I've done that separately. These counts are already in separate cells, and they are working fine. In my first post where I inserted only one image you can see examples of this in my consolidation table image, in cells B3 and E6. I apologize for not making this abundantly clear earlier. Furthermore, the portion of my syntax that shows the COUNTIFS is the exact way I accomplished this, and it is written the way it is written because I need separate sheets, each with their own data tables. Again, in cell E7 I need to determine which of the eight data tables that record wins are also recording 20 minutes, but I need this in a single function and formula with the result appearing only in cell E7. Once this is figured out I will adjust the syntax to do the same thing with every column (these are not shown but they exist) in my consolidation table for the last three footer rows, named Win Column Totals, Tie Column Totals, and Loss Column Totals. The last three rows being footer rows may not be necessary, and if so, I can convert them back to normal rows. Nonetheless, my consolidation table is counting the totals of all data in all data tables. This much I've already accomplished. Now I have one last function and formula I'm working on in order to determine which of the eight data tables record wins, ties, or losses while it simultaneously counts which of the wins, ties, or losses fall within certain categories like elapsed time, and this will be shown on my consolidation table only in the last three rows. Yes, I've gotten the total wins counted, and separately counted the total number of times 20 minutes was the elapsed time used, but so far, just looking at my consolidation table I don't know if the total number of times 20 minutes was used was with a win, tie, or loss. That's what I need to know now. Everything else is already accomplished. So then my consolidation table will show the totals for all data fields in my eight data tables as illustrated in cells B3 and E6. The last three rows of my consolidation table will break this down in a single function and formula with one row for wins, a second for ties, and a third for losses. And each of these respective last three rows will in the same function and formula determine if the win, tie, or loss also is one of the data fields in my eight data tables. How? By the use of columns in my consolidation table. Remember, each of my eight data tables are identical. In the example in my first post I only used one data field, elapsed time (Time in Trade), to illustrate in one column on my consolidation table what I'm trying to accomplish with all of the columns not shown in my consolidation table. Once this is figured out I can adjust it to complete the remainder of the consolidation table. Thank you, t quinn.
    To all reading this and attempting to offer assistance, if for any reason I'm still not explaining myself clearly, please continue to ask me more specific questions. I realize it's hard to communicate this way, and if Apple allowed us to upload the actual spreadsheet it would make this entire forum a better place to communicate. But that's going off topic, so let's simply focus on the matter at hand. Thank you.
    Blessings!

  • Join numeric with join numbers function

    Hi !  a small question from a guy that didnt use labview for a while !
    i need to use the join number function to join two DBL number A and B to form a new number A.B, just like the join numbers function
    in the example i would like the results after the join number function to be 1.5 
    however i understand that the function merge bytes/words together and the result is far from what i expect ....  any ways to 
    A and B are extracted from modbus READ register command and are unsigned 16 bit
    seems easy enough but i need a good refreshment on how those bits, bytes and numeric works together..   doh !
    thank for everyone involved, Kudos to all labview champions!
    Solved!
    Go to Solution.
    Attachments:
    join numbers.png ‏108 KB
    test comm.png ‏91 KB

    Hi yan,
    it seems you really need a refreshment on all those bits/bytes/numeric representations
    Typecasting floats (DBL) to U16 will probably never result in the desired value.
    Why do you convert your U16 modbus values to DBL anyway? Stick with U16 and you will have no problems using JOIN or any other bit-banging function...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Question about 2 functions.

    OK, new question from me.
    I have two functions, bassicly they are smilar, but the problem is that I need that second function to start up or become active, after certain amount of time or when "x" reaches 1000. How can I do this?
    And second question is, both functions make objects apper on stage in exact coordinates (5 spots), how can I make that objects woun't apper on the same spot, bassicly it would check if that position is occupied, it chooses other spot. (spot choosing is performed by random)
    Oh, and third question.
    I want to make the object to be active for two seconds, and then it disapper, my thought was to make tween, but couldn't find the type of appearance.

    1. You can check the condition to determine if you should do something, i.e.
    if (x >= 1000) {
        // do something
    2. First randomise an Array [Spot 1, Spot 2, Spot 3, Spot 4, Spot 5], then place your object to the spot in the order of the array item.
    3. My favorite way is to use TweenLite.delayedCall(). For example if you want to remove something in 2 seconds time you do:
    TweenLite.delayedCall(2, remove, [anObject]);
    function remove(displayObject:DisplayObject):DisplayObject {
        return removeChild(displayObject);
    (You can use Timer class etc for this but TweenLite wins always )

  • Question about the function module (RFC_READ_TABLE)

    Dear everyone
    Could I ask you a question about the function module (RFC_READ_TABLE)?
    I was asked if it's possible to create a report which compares the data between different SAP systems (both production systems).
    Now, the easiest way would be to use the function module (RFC_READ_TABLE) within a SAP infoset query (SQ01 type query).
    But I heard the rumor that using the function module (RFC_READ_TABLE) is not advisable due to the security reason.
    However, I am not exactly sure what sort of security problems this function module can possibly have...
    Would you help me on this?
    I also would like to know if using "remote enabled module" type function module can always overcome this possible security issue.
    Or, are there any points that I need to be careful about even when I use "remote enabled module" function module?
    Thank you very much in advance.
    Takashi

    Dear Fred-san
    Thank you very much for your support on this.
    But, may I double check about what you mentioned above?
    So, what you were mentioning was that if some user executes the query with
    the function module (RFC_READ_TABLE), under the following conditions, he can access to
    the HR data even when he does not have the authorizations for HR transactions?
    <Conditions>
    1. the user has the authorization for HR database tables themselves
    2. RFC_READ_TABLE is called to retrieve the data from HR database
    <example>
    Data: LF_HR_TABLE like  DD02L-TABNAME value 'PA0000'.
    CALL FUNCTION 'RFC_READ_TABLE'
       EXPORTING
        query_table                = LF_HR_TABLE
      TABLES
       OPTIONS                    =
       fields                     =
       data                       =    .
    But then, as long as we call this function module for a non-critical tables such as
    VBAP (sales order) or EKKO (purchase order) within our query, it wouldn't seem to be
    so security risk to use RFC_READ_TABLE...
    Besides, each query (infoset query) has got the concept of user groups, which limits
    the access to the queries within the user group.
    ※If someone does not belong to the user group, he cannot execute the queries within that
       user group, etc
    So, my feeling is that even infoset queries does have authorization concept...
    Would you give me your thought on this?
    I also thank you for your information for SCU0.
    That is an interesting transaction
    Kind regards,
    Takashi

  • Is anyone from Apple Support reading these questions regarding Numbers for IOS crashing?

    Is anyone from Apple Support reading these questions regarding Numbers for IOS crashing?

    This is a user – user forum.
    Leave Apple feedback here: https://www.apple.com/feedback/numbers_ios.html

  • I am questioning about Numbers?

    I am questioned by numbers operating system with this statement. What is my misunderstanding?
    The operator"+" expects a number, date or duration, but cell Transcations::B11 contains a string.
    Thank you

    The most common cause of this error message is that you entered a Date in a format that isn't recognized by Numbers. It also can arise from typographical errors, such as adding a space or other character instead of a number. For instance, typing the letter "O" instead of the intended zero, or the letter "L" instead of the number one.
    Jerry

  • Rounding question in Numbers

    Why does =ROUND(16.9*2.35,2) = 39.71 instead of 39.72?

    It is not a bug. I'll try to explain once again for you and whoever else might have the same question.
    Numbers follows the IEEE standard for floating point math. Computers do math in base-2 (binary) with only a set number of digits of precision, not in base-10 with infinite precision like you would do on a piece of paper. If a base-10 number cannot be exactly represented in base-2 with a set number of digits, it gets rounded. Guess what that does? It creates small errors. Therefore, floating point math calculations may have small errors when compared to doing the same calcuation on a piece of paper using base-10 numbers. The important thing is that as long as the standard is followed, the same calculation will always give the same result. Consistency is very important with standards
    The difference between Excel and Numbers:
    Later versions of Excel "optimize" the results of the floating point math to better fit customer expectations. In other words, Excel tries to remove those small errors. Numbers does not, it follows the standard exactly. Earlier version of Excel ('95 and earlier) did not "optimize", they followed the standard.
    In your example, the Excel result is what you as the customer expected.  The Numbers result is correct in accordance with the standard but it does not meet your expectations. Personally, these little errors bother me too but I do not consider the result to be "wrong" and it is certainly not a bug.
    What can go wrong with "optimization":
    Try these two formulas in both Excel and Numbers
    =(4/3-1)*3-1
    and the exact same thing with a set of parentheses around it
    =((4/3-1)*3-1)
    In Numbers you get the same IEEE standard result for both: -2.22044604925031E-16
    In Excel the first one results in 0 while the second is what Numbers gave.  Oops, by straying from the standard and trying to "optimize" the results, Excel is inconsistent with itself.
    Try =(1+5/2^52)-1 in Excel
    You would expect the result to be =5/2^52 which is 1.11E-15 but what Excel gives you is a big fat zero because the correct result got "optimized" away. It gives the WRONG answer. It is wrong according to your paper and pencil calculation and wrong in accordance with the standard.
    Numbers gives 1.11E-15 which is the correct result.
    And yet another:
    The result of =0.1-0.3+0.2 should be zero, right.
    In Numbers, the result due to floating point error = 2.776E-17. This is correct in accordance with the standard but not what you would get on paper.
    In Excel the result is zero, as you would have expected.
    Now try =1/(0.1-0.3+0.2).  Should be infinity in Excel, right? Oops, it's not, it is 3.6E16, same as in Numbers. Excel is once again inconsistent with itself.
    Bottom line: when the standard is not followed, you don't know what to expect.
    I don't know what Apple will choose to do in new versions of Numbers. They may try to "optimize" like Excel (but consistently I would hope) because there are many more cases of simple calculations giving what appear to be strange answers than there are cases of small numbers getting "optimized" to zero. I would support the change.

  • Very basic function question from numbers virgin

    I have been working on a numbers table sent to me and adjusting data, need to calculate column totals but the function key on the toolbar is not 'highlighted' so I can't click on it to caluculate the sum. can't work out how to do this or find another way round it. don't want to create a new table. any advice? thanks

    photogogirl, if you haven't given up yet, here is another suggestion.
    Looks like that toolbar menu named Function also is not available if you have a range of cells selected that include a footer cell. The person that sent the file to you may have activated the footer row. If so, and since you said you are trying to sum columns, I would select ONLY the footer cell in the column you want to sum and then select Sum from the toolbar Function menu. Also, notice as you select single cells, you can see the underlying formula (if it exists in the selected cell) right under the toolbar. You can select any single cell and type the formula there directly if you like.
    gluck.
    Rob

  • Hp 35s integrating with complex numbers/functions

    Are there any examples of how to integrate a complex function for
    the HP 35s..the manual suggests its possible..but, I can not find one
    example...anywhere... I am just interested in testing.....I do
    not want to break things into parts etc...I just want to try
    e^z for example, where z is complex..any help?
    I have tried xiy, rTheta, x+iy...syntax errors or non existent..funny

    Hi,
    The manual states that complex numbers can be used with EXP(x), but it does not mention anything about using complex numbers for integration. Edit: I missed some text in the manual, see below.
    As far as I can tell it cannot do integration with complex numbers. (The 50g can do this.)
    However, you may get a more definitive answer if you ask your question here:
    http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/forum.cgi
    EDIT: that forum has moved to a new version:
    http://www.hpmuseum.org/forum/forum-4.html
    Note: I do not work for HP, I just like playing with calculators :-)

  • Questions on the functionality of Crystal Reports 2011

    Dear all ,
    i recently got in contact with Cyrstal Reports and have to conduct an analysis about its functionalities and possibilites.
    I have some questions which could not be answered using internet research and would be very happy if some of you (who are certainly more experienced) could give me some short answers on them.
    1. I know that you need SAP NetWeaver in order to run Business Objects Analyits for MS Offic, but do i need the NetWeaver application also for Cyrstal Reports (CR) ? In my case I have an Oracle database and have not the possibility to change to a Netweaver data warehouse
    2. I have a PPT Master document (with predefined action titles, headings etc.). Is it possible to create my charts with CR and then automatically integrate them in my Powerpoint Master? I know that CR can create .png (and other) but I want that the user can change the diagram in powerpoint (e.g. changing colours)
    Is that possible ?
    3. When having a direct connection to Powerpoint, is there a way that i can identify updated graphics ? I´m thinking of some kind of red dot that symbolized users that this graphic has changed.
    4. Is there a way to integrate CR directly in PPT that users have the possibility to create reports in PPT or do I always have to use the CR interface?
    Would be very happy if you just could give me some brief answers on the questions cause I have not much experience in the field (as my questions already indicate Wink )
    Thanks and Greetings,
    Dan

    Good afternoon.  I have attempted to address your questions below.  Please review my answers and let me know if you need more details.
    Regards,
    Coy
    Product Manager - SAP Crystal Reports
    1. I know that you need SAP NetWeaver in order to run Business Objects Analyits for MS Offic, but do i need the NetWeaver application also for Cyrstal Reports (CR) ? In my case I have an Oracle database and have not the possibility to change to a Netweaver data warehouse
    Crystal Reports does not require SAP NetWeaver in order to function. In fact, Crystal Reports is a desktop tool used to create reports. You can then publish those reports to the SAP BusinessObjects BI Platform, embed them in custom applications, or view them directly via a desktop viewer (or in another format).
    2. I have a PPT Master document (with predefined action titles, headings etc.). Is it possible to create my charts with CR and then automatically integrate them in my Powerpoint Master? I know that CR can create .png (and other) but I want that the user can change the diagram in powerpoint (e.g. changing colours)
    Is that possible ?
    It is possible to integrate Crystal Reports content directly into Microsoft Office documents by using the SAP BusinessObjects LiveOffice tool.
    3. When having a direct connection to Powerpoint, is there a way that i can identify updated graphics ? I´m thinking of some kind of red dot that symbolized users that this graphic has changed.
    This is not possible "out of the box", but may be possible via some custom addon.
    4. Is there a way to integrate CR directly in PPT that users have the possibility to create reports in PPT or do I always have to use the CR interface?
    Please see the answer above for #2.
    Edited by: Coy Yonce on Jul 25, 2011 11:01 PM
    Edited by: Coy Yonce on Jul 25, 2011 11:02 PM

  • Question on the function okFindIndex

    Hello all,
    I have some questions on programming palm application by using Olite502 and codewarrior.
    In the palm database, there is a table call PDA_CASE, I that table, there are 4 fields, i.e. CASE_NO, ID, TEL, ADDRESS.
    Now, in my application, i have create an index with the field(ID and TEL). The code is as follow:
    err = okCreateIndex( env, grpCaseSummary2Ref, clsCaseSummary2Ref, 2, (okU4B*)indexCaseSummaryBy_cin, OK_BTREE, OK_PRIMARY_KEY, &idxCaseSummary_cin );
    Now, Can I ask how to use the function okFindIndex to return the key, so that I can use the function okCreateIterator to retrieve the data in my specified order?
    Thanks
    Kewell

    Hi,
    Do you still need help w/ this post or has it already been resolved?
    Thank you.

  • Few questions about sql2008 functions and commands

    hello,
    I am learning sql2008 implementation and maintenance,I am just 2 weeks bussy.there is some questions in my mind wich I can't answer it.
    1-when I can use  USE MASTER statement
    2-can a database for example (test) have many and unlimmited file groups?
    3-what is the diferrence between file and filegroup! is the term of file means  tables in filegroup?
    4-with boundary points does mean the data type when creating partition function!
    5`what is diferrence between full text index and index,where you have to use the index and wher you have to use full text index?
    6-each filegroup must have one partition or one partition can have many filegroups in partition scheme!
    7-do you have to partition every scheme or not! where do you have to partition a scheme and where not?
    8-can you give a little example with switch operator!
    9-again do you have to partition every table and index in the real world or not!
    thanks
    johan
    h.david

    Hi,
    Let me try to answer your questions:
    You need to use USE MASTER whenever you need to do some work in the MASTER database and the database context is not that.
    Yes, a database can have many filegroups. Please check this article:
    http://msdn.microsoft.com/en-us/library/ms179316.aspx
    Please check this article:
    http://msdn.microsoft.com/en-us/library/ms179316.aspx
    As per BOL:
    boundary_value is a constant expression that can reference variables. This includes user-defined type variables, or functions and user-defined functions. It cannot reference Transact-SQL expressions.
    boundary_value must either match or be implicitly convertible to the data type supplied in
    input_parameter_type, and cannot be truncated during implicit conversion in a way that the size and scale of the value does not match that of its corresponding
    input_parameter_type. For more details check
    http://msdn.microsoft.com/en-us/library/ms187802.aspx
    For simplicity: Full-Text index is used to search in a LOB/text data in a column, index is used to speed up your queries. Please check these articles:
    http://msdn.microsoft.com/en-us/library/ms142571.aspx,
    http://msdn.microsoft.com/en-us/library/ms189271.aspx
    As per BOL: When you create a partition scheme, you define the filegroups where the table partitions are mapped, based on the parameters of the partition function. You must specify enough filegroups to hold the number of partitions. You can specify that
    all partitions map to a different filegroup, that some partitions map to a single filegroup, or that all partitions map to a single filegroup. You can also specify additional, "unassigned" filegroups in the event you want to add more partitions later. For
    more info, please check
    http://msdn.microsoft.com/en-us/library/ms188730.aspx
    8. Please read the concept of partitioning here:
    http://msdn.microsoft.com/en-us/library/ms190199.aspx and for SWITCH operator, please check the sliding window example at here:
    http://msdn.microsoft.com/en-us/library/aa964122(SQL.90).aspx
    9. It depends :) but you always will have at least 1 partition!
    I hope it helps.
    J.
    There are 10 type of people. Those who understand binary and those who do not.

  • Question regarding decode function.

    Hi friends,
    I have a question regarding using decode.
    I'm try'g to explain my problem using emp table.
    Can you guys please help me out.
    For example consider emp table, now i want to get all manager id's concatenated for 2 employees.
    I tried using following code
    declare
    v_mgr_code  number(10);
    v_mgr1      number(4);
    v_mgr2      number(4);
    begin
    select  mgr into    v_mgr1
    from    scott.emp
    where   empno = 7369;
    select  mgr into    v_mgr2
    from    scott.emp
    where   empno = 7499;
    select v_mgr1||'-'||v_mgr2 into v_mgr_code from dual;
    end;now instead of writing 2 select statements can i write one select statement using decode function ?
    Edited by: user642856 on Mar 8, 2009 11:18 PM

    i don't know wheter your looking for this or not.if i am wrong correct me.
    SELECT Ename||' '||initcap('manager is ')||
    DECODE(MGR,
            7566, (SELECT Ename
                    FROM Emp
                    WHERE Empno = 7566),
            7698, (SELECT Ename
                    FROM Emp
                    WHERE Empno = 7698),
            7782, (SELECT Ename
                    FROM Emp
                    WHERE Empno = 7782),
            7788, (SELECT Ename
                    FROM Emp
                    WHERE Empno = 7788),
            7839, (SELECT Ename
                    FROM Emp
                    WHERE Empno = 7839),
            7902, (SELECT Ename
                    FROM Emp
                    WHERE Empno = 7902),
            'Do Not Know')  Manager from empor
    SELECT Ename||' '||initcap('manager is ')||
    DECODE(MGR,
            7566, (SELECT empno
                    FROM Emp
                    WHERE Empno = 7566),
            7698, (SELECT empno
                    FROM Emp
                    WHERE Empno = 7698),
            7782, (SELECT empno
                    FROM Emp
                    WHERE Empno = 7782),
            7788, (SELECT empno
                    FROM Emp
                    WHERE Empno = 7788),
            7839, (SELECT empno
                    FROM Emp
                    WHERE Empno = 7839),
            7902, (SELECT empno
                    FROM Emp
                    WHERE Empno = 7902)) manager
    from empEdited by: user4587979 on Mar 8, 2009 9:52 PM

  • Numbers functions problem

    I can't get my functions to show.  I have used them before but can't now.  If I dump the Numbers program and reload will I be charged again and wii I lose my spreadsheets?

    Busy day, so just getting back to your request. Here's what I have for you to consider:
    Fill Data table, Column B with:
    =IF(COUNTIF(OFFSET($A$1, 0, 0, ROW()), A)=1, MAX(OFFSET($A$1, 0, 1, ROW()-1))+1, "")
    Fill ListDistincts table, Column A with:
    =IFERROR(OFFSET(Data :: $A$1,MATCH(ROW()-1,Data :: B,0)-1,0),"")
    Fill ListDistincts table Column B with:
    =COUNTIF(Data :: A,A)+ROW()/1000
    Fill RankDistincts table, Column A with:
    =LOOKUP(LARGE(ListDistincts :: $B,ROW()-1), ListDistincts :: B,ListDistincts :: A)
    Fill RankDistincts table, Column B with:
    =COUNTIF(Data :: A,A)
    Column B in the Data table finds the distinct text strings that you want to identify and count.
    The ListDistincts table is an intermediate table that can be hidden. I created it to allow the topics to be listed by frequency of occurrence in the last table.
    Are we close?
    Jerry

Maybe you are looking for