How to random select 10% of the customer in the whole database in BIEE 11g

Hi
I would like to select 10% of the customer randomly from my database in BIEE, but I found that the function rand() is not for this purpose, how can I do that?
Thanks for help!

Read this thread,
How can i get bind variable value in 9i or 8i?
In 9i without the trace its not possible to capture the bind values.
Aman....

Similar Messages

  • How to randomly select links in e-tester and how to get VU# in e-load

    1. How to randomly select one from links in a webpage in e-tester?
    For example: there is a root-page. On it, there are about 2000 links to its subpages. They all have the following pattern:
    <pre>
    multiline<TD width="50%"><NOBR>
    <img src="/images/tfold.gif" border="0" alt="GXC_.+?" align="texttop">
    {a href="(.+?)"}<font class="titleorimageid1siteid0">GXC_.+?</font>{a} </NOBR>
    </TD>
    </pre>
    So how can randomly select one link and then navigate to it?
    2.how to get VU# in e-load?
    For example: we launch 4000 VU to load-stress our server. But we want to use different user names to login for different VU#. such as VU#1's username is ADF1, VU#2's username is ADF2, VU#100's username is ADF100 and so on. How can we implement the feature?
    Thanks a lot.
    Edited by: user783927 on Dec 1, 2008 5:57 AM
    Edited by: user783927 on Dec 1, 2008 5:59 AM

    Thanks a lot for VU#. Also i got an idea about how to randomly select a link:
    Private Sub RSWVBAPage_afterPlay()
    Dim objReg As New RegExp
    Dim objMatchCol As MatchCollection
    Dim objMatch As Match
    Dim objSubMatch As SubMatches
    Dim doc As String
    Dim str As String
    Dim rNumb As Integer
    RSWApp.GetHtml doc
    With objReg
    .Global = True
    .IgnoreCase = True
    'the kind of urls have the following special pattern
    .Pattern = "pageid=34,([\d]{5})"
    End With
    Set objMatchCol = objReg.execute(doc)
    Randomize
    rNumb = objMatchCol.Count * Rnd
    If objMatchCol.Count >= 1 Then
    If rNumb = objMatchCol.Count Then
    rNumb = objMatchCol.Count - 1
    End If
    End If
    Set objMatch = objMatchCol.Item(rNumb)
    Set objSubMatch = objMatch.SubMatches
    str = objSubMatch.Item(0)
    Call RSWApp.setCustomVariable("var_url", str)
    RSWApp.WriteToLog str
    Set objMatchCol = Nothing
    Set objMatch = Nothing
    End Sub

  • How to resrve the stock to the customer against the sales order

    hi,
    sap gurus,
    good morning to all,
    how to reserve the stock to the customer against the sales order if this process is not MAKE TO
    ORDER SCENARIO.
    the prices of the products will be often changing drastically so
    he is following MAKE TO STOCK Process in his production process.
    so with out using m.t.o. process how to reserve it against the customer.
    for eg:
    in the market when the customer/dealer/stockist coems to know that prices are going to increase
    then obviously he tends to purchase in bulk quantities and reserve it in godown.
    so how to map that process.
    help me on this.
    regards,
    balaji.t
    09990019711

    Dear Balaji,
         This can be done By MM consultant through movement type. to move the stock from unresticted stock to customer stock.
    Regards,
    Sudhir

  • Process for billing the customer if the repair does not fall under warranty

    Hello,
    I got one issue related to repair process, We have restricled the item quantity to only one at item categoty level. BUt i am facing the below problem with my cklient
    what is best practice for billing the customer if the repair does not fall under warranty?
    Please suggest which process i suggest to client

    Hi there,
    When you mean warranty, where is that updated in the system? In any master data or Z table?
    Usual practise is basing on the serial num of the material. From the serial num, users will be able to back track from which sales order this material is initially delivered to the customer. The info is stored in standard tables (for eg EQUI)
    One way of doing this is to define a 100% discount condition type in your pricing. Thsi discount will apply only when the customer is in warranty. For this you will need to write a code in teh requirement routine for that condition type in V/08. If warranty is stored in a Z table, then call that Z table & compare it with your sales order. If yes, only then 100% discount will apply & repair cost will be zero. Else, repair charge will be billed to customer.
    It depends how your business will monitor repairs. If they raise a service order, then you will need to define a service pricing procedure in which you will include the 100% discount. In this case service order is always referenced with ref to a sales order.
    Regards,
    Sivanand

  • Surcharge at the header level only to the customer in the sales document

    Hi guys,
    I have requirement to charge the surcharge at the header level only to the customer in the sales document, the condition type as well as the value should not be distributed to item level
    I have marked the condition as header. But still the value is copied to the item as well,
    If I mark the condition as Group condition, then it distributes the total value to each item in the document according to Qty
    Is there any other way, I could set up through config,
    Regards,
    Rao.

    Hi,
    In T.Code VTFL, check what is maintained for field Pricing Type. If it is B then change it to G or depending on your business select a suitable value.
    This should resolve your issue. Let me know in-case the issue still persisits.
    Regards,
    Rohan Gudavalli

  • How can you reassign or remove a customer in the customer hierarchy?

    hi gurus,
    can you please tell me how to remove or reassign a customer in the customer hierarchy transaction
    thanks,
    paul

    run tranz VDH1 (type hier.type, val.date and sales area)
    you will see a tree-structure
    select node(s) and
    use menu buttons "create.." , "reassign...", "sub-tree.."
    use app. help as well

  • How to randomly select one of two rows?

    I have a table from which I am selecting a husband and wife on separate rows. From each couple I want to select either the husband or the wife.
    I had faulty logic like the below:
    select * from
       (select row_number() OVER (partition by s.case_id order by n.date_created) rn,s.case_id scase_id,first_name,last_name
       from couples) x,
    (select abs(mod(dbms_random.random(),2))+1  randrow from dual) y
      WHERE y.randrow = x.rnwhich doesn't work because there is a separate random number for each row, so you could end up with (for example)
    RN randnum
    1 2
    2 1
    and get a NULL set.
    There must be a way to generate a single random number per case_id, but I'm having trouble thinking how to do it.
    Thanks,
    Jon

    with couples as (select 1         as case_id
                           ,'Sam'     as first_name
                           ,'Bachour' as last_name
                      from dual
                    union all
                     select 1          as case_id
                           ,'Jennifer' as first_name
                           ,'Hawkins'  as last_name
                       from dual
                    union all
                     select 2         as case_id
                           ,'John'     as first_name
                           ,'Smith' as last_name
                      from dual
                    union all
                     select 2          as case_id
                           ,'Nancy' as first_name
                           ,'Smith'  as last_name
                       from dual)
    select *
      from
        (select row_number() over (partition by case_id order by dbms_random.random) rn
               ,case_id
               ,first_name
               ,last_name
           from couples)
    where rn = 1

  • How the customer receives the Dunning Notice

    Dear sap Experts,
    Please tell me the how customer receives the dunning notice? I mean to ask by email or by post. If it is by email then what other extra setting we need to do apart from normal dunning configuration.
    And Please tell me what we do with the dunning charges means where we post these charges. kindly don't tell me what are the dunning charges i know that.
    Your inputs are highly appreciable.
    Thank You.
    Regards,
    Reva.

    In terms of config you cannot select if e mail or printing is how the letters will be produced.
    This will all be done in the ABAP, and SAP Script.
    In terms of different settings, if you want your customers to receive e mails make sure all customers have an e mail address. You could have a rule in ABAP to say if the e mail address is blank print them, if there is a value e mail them.
    Hope this helps.

  • How can I select more than one song from the search results?

    I want to create playlists based on certain words in the song title. For example, I may want to create a playlist of all my songs with LOVE in the title.
    Doing the search is easy, but I can't select more than one song at a time. Is there any way in iTunes 12 for Windows to do this? I found an answer in iTunes for Mac, and it basically says to "un-check "Search Entire Library." " but I don't see that option in iTunes for Windows.
    Here is the link to that question: how can i select more than one song from drop down search bar
    I hope some Windows user can help me out.

    Found the "Search Entire Library" option - click on the small (VERY small for my eyesight) down arrow next to the magnifying glass. Also need to select "Filter by: Songs", and then the songs in the main window show the results.
    I'm going to leave this up on the board because 1) in case someone else has this question, and 2) I don't know how to delete it anyway.

  • How can I select only a small part of the image to clone or edit etc?

    I want to select part of the image to clone is, and just edit the selected part. I know i can do this on photoshop but how do i do it on Aperture?

    You use the "Retouche" brush in Aperture and set it to "clone".
    Option-Click on the location you want to clone from to select a source, and then brush over the location where you want to clone to. The cloned region will follow the shape of the brushed area. You do not lasso the shape to to copy and paste it like in Photoshop.
    For example: Duplicating a penguin: The sourcepoint has been set to the beak of the second penguin, and then I brushed along the path where I want to penguin clone to appear.
    If I brush the whole area eventually the penguin will be copied completely. You'll have to experiment a bit with the brush size and softnees to ensure that the cloned object will blend in.
    Regards
    Léonie

  • How can I select and delete rows based on the value in one column?

    I searched through the discussion board, and found a thread on deleting blank rows, but not sure how to modify it to work with my issue.
    I have put together a rather complicated spreadsheet for designing control systems, it calculates parts needed based on check boxes selected in a second spreadsheet.
    Since not all systems require all parts there are many rows that have a 0 quantity value, I would like to select these rows and delete them once I have gone through the design phase (checking off required features on a separate sheet).
    I like the way the other thread I found will gather all the blank rows at the bottom without changing the order of the rows with data in them.
    I don't understand exactly how the formula in the other thread works well enough to modify it to look for a certain column.
    I hope I made myself clear enough here, to recap, I would like to sort the rows based on a zero value in one (quantity) column, move them (the zero quantity rows) to the bottom of the sheet, and then delete the rows with a zero quantity (I can delete them manually, but would like to automate the sorting part).
    Thanks for any help anyone can provide here.
    Danny

    I apologize but, as far as I know, Numbers wasn't designed by Ian Flemming.
    There is no "this column will be auto-destructing after two minutes"
    You will have to use your fingers to delete it.
    I wish to add a last comment :
    if your boss has the bad habit to look over your shoulder, it's time to find an other one.
    As I am really pig headed, it's what I did. I became my own boss so nobody looked over my shoulder.
    Yvan KOENIG (VALLAURIS, France) mercredi 13 juillet 2011 20:30:25
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How do you select data from tables not in the Properties table list?

    Hi I am new to SAP B1.
    I am amending the production order and wish to add fields from the Bill of Materials table Itt1.  However this table is not in the list of tables for this report.
    1. Do I have to redo the whole report in Crystal or is there a way of using the PLD report?
    2. This table join needs to have 2 fields in the join the father and the child item codes.  How many joins can the PLD report look after?  I assume that Relate to is the first join and next segment is a second join.  Am I right or not as I have been unable to find any reasonable documentation on creating and maintaining PLD reports.
    3. Where can I find information if any on System Variables and what data they represent?
    Thanks
    Chris

    Hi Cris,
    welcome to Sdn forum!
    For question 1, i think you can do this using pld.
    For question 2, to be able to view other tables, you will need to hold the ALT button and press the database table(Properties section on the lower right portion of the PLD screen), you can now view other tables. then to join other tables you will need to RELATE to and Next Segment, you can also find this under Properties and go to Content Tab.
    for question 3, you will need to create a query that will lead you to the exact field name, say for example SELECT Price from POR1, this price is actually variable 81 from purchase order line and the equivalent value is the por1.price..
    Regards,
    Darius Gragasin

  • How do I select and move all elements on the stage?

    I know this is probably easy to someone but I have spent too
    much time on it so I give up. Can someone tell me how to select all
    the elements in every frame on the stage and simply move it up?
    Appreciate any feedback!

    Try this: lock the layers you don't want to move. Then click
    that little square under your timeline that says "edit multiple
    frames". Move the markers at the top of the timeline (looks like
    onion skin markers) to your beg & end points that you wish to
    move, then choose, SELECT ALL from your pull down menu, you will
    now see your desired frames highlighted, and move everything at
    once. It's great I've used it several times.
    If you would've moved the layer like suggested above it would
    only place your items higher in the heirarchy which is not what I
    think you were asking. Good luck.

  • How to random select photos in slideshow mode with iPhoto 7 ?

    iPhoto 6 would do random selection of photos during a slideshow. After I installed iPhoto 7, I am unable to find the random key? Do you know if the feature was dropped?
    Gary

    You need software for it. Do you have iPhoto installed? That is one possibility, but there are many others - you create the slideshow from your photos. Or, you can simply use Quicklook - see here:
    http://osxdaily.com/2012/09/06/8-tricks-mac-os-x-full-screen-slideshow/

  • How do I set the "custom" in the color field labels?

    Hi
    In Lr 4.1 I have just noticed that as well as red, green, yellow, blue & purple, there is a "Custom" feild too.
    How can I configure this, and is there a shortcut I can assign (and also for purple; how do Adobe keep skipping over assigning a shortcut to Purple!!??)
    Thanks

    Assign purple: anything at all that worked! e.g. Ctrl - 9 for example, it doesn't matter what the shortcut is, so long as there is one!!
    Ado not understand your comment about "The colors are just UI elements for the "Label" metadata field and the set assigns which "Labels" are which colors"
    I want to know if its possoble to assign the custom color label.

Maybe you are looking for

  • How to get the values from table region and how to set

    Hi, I have a requirement as Seeded Page Having One Table Region having around 8 columns, In That Item Description field is there. My Requirement is I need add one more field for that Region and assign the value depending Item Description. I will crea

  • Error while running SRW.RUN_REPORT

    Hi All, I have requirement where i need to generate multiple reports with single request. I have created to sample tables test1 and test2 with two columns each.I have created a paper report using first table and saved it as test.rdf in my c: drive an

  • ITunes update error 7 (windows error 1114) on Windows Vista Home Premium SP2

    I have been trying to update iTunes for the past month. I admit that I had not been keeping up with the updates for about a year but now that I want to update it, I am getting an error. Computer: hp Pavilion dv6700 Notebook PC, Intel Core2 CPU T8100

  • DOC BUG: Oracle Application Express Application Builder User's Guide 4.1

    Oracle® Application Express Application Builder User's Guide Release 4.1 Part Number E21674-03 +§ HTML Header and Body Attribute+, Table 8-4 has: > Attribute: Page HTML Body Attribute Description: Enter text or HTML you want to appear before the page

  • 920 cartridge looks different than the old one

    I just bought some new ink cartridges for my Officejet 6500a 710n-z printer.  I bought the same 920 XL cartridges that I have bought and successfully installed before.  However, the most recent ones would not install! These new cartridges are differe