To check no. of records available in infoset

Dear Experts,
How to find no. of records available in infoset other than using infoset context menu display data option. This required since volume of data available in the infoset is very huge  and hanging very badly.
Regards
Alex

Hi Alex,
              Infoset does not store information in any tables like DSO and Cube. So there is no way to find the number of records in an Infoset. Data is actually stored in the underlying objects which we use to create an Infoset like Infoobjects, DSO and Cube. when we execute an Infoset it takes information dynamically at runtime from its underlying objects based on the join condition.
Thankyou.

Similar Messages

  • Check for duplicate record in SQL database before doing INSERT

    Hey guys,
           This is part powershell app doing a SQL insert. BUt my question really relates to the SQL insert. I need to do a check of the database PRIOR to doing the insert to check for duplicate records and if it exists then that record needs
    to be overwritten. I'm not sure how to accomplish this task. My back end is a SQL 2000 Server. I'm piping the data into my insert statement from a powershell FileSystemWatcher app. In my scenario here if the file dumped into a directory starts with I it gets
    written to a SQL database otherwise it gets written to an Access Table. I know silly, but thats the environment im in. haha.
    Any help is appreciated.
    Thanks in Advance
    Rich T.
    #### DEFINE WATCH FOLDERS AND DEFAULT FILE EXTENSION TO WATCH FOR ####
                $cofa_folder = '\\cpsfs001\Data_pvs\TestCofA'
                $bulk_folder = '\\cpsfs001\PVS\Subsidiary\Nolwood\McWood\POD'
                $filter = '*.tif'
                $cofa = New-Object IO.FileSystemWatcher $cofa_folder, $filter -Property @{ IncludeSubdirectories = $false; EnableRaisingEvents= $true; NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite' }
                $bulk = New-Object IO.FileSystemWatcher $bulk_folder, $filter -Property @{ IncludeSubdirectories = $false; EnableRaisingEvents= $true; NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite' }
    #### CERTIFICATE OF ANALYSIS AND PACKAGE SHIPPER PROCESSING ####
                Register-ObjectEvent $cofa Created -SourceIdentifier COFA/PACKAGE -Action {
           $name = $Event.SourceEventArgs.Name
           $changeType = $Event.SourceEventArgs.ChangeType
           $timeStamp = $Event.TimeGenerated
    #### CERTIFICATE OF ANALYSIS PROCESS BEGINS ####
                $test=$name.StartsWith("I")
         if ($test -eq $true) {
                $pos = $name.IndexOf(".")
           $left=$name.substring(0,$pos)
           $pos = $left.IndexOf("L")
           $tempItem=$left.substring(0,$pos)
           $lot = $left.Substring($pos + 1)
           $item=$tempItem.Substring(1)
                Write-Host "in_item_key $item in_lot_key $lot imgfilename $name in_cofa_crtdt $timestamp"  -fore green
                Out-File -FilePath c:\OutputLogs\CofA.csv -Append -InputObject "in_item_key $item in_lot_key $lot imgfilename $name in_cofa_crtdt $timestamp"
                start-sleep -s 5
                $conn = New-Object System.Data.SqlClient.SqlConnection("Data Source=PVSNTDB33; Initial Catalog=adagecopy_daily; Integrated Security=TRUE")
                $conn.Open()
                $insert_stmt = "INSERT INTO in_cofa_pvs (in_item_key, in_lot_key, imgfileName, in_cofa_crtdt) VALUES ('$item','$lot','$name','$timestamp')"
                $cmd = $conn.CreateCommand()
                $cmd.CommandText = $insert_stmt
                $cmd.ExecuteNonQuery()
                $conn.Close()
    #### PACKAGE SHIPPER PROCESS BEGINS ####
              elseif ($test -eq $false) {
                $pos = $name.IndexOf(".")
           $left=$name.substring(0,$pos)
           $pos = $left.IndexOf("O")
           $tempItem=$left.substring(0,$pos)
           $order = $left.Substring($pos + 1)
           $shipid=$tempItem.Substring(1)
                Write-Host "so_hdr_key $order so_ship_key $shipid imgfilename $name in_cofa_crtdt $timestamp"  -fore green
                Out-File -FilePath c:\OutputLogs\PackageShipper.csv -Append -InputObject "so_hdr_key $order so_ship_key $shipid imgfilename $name in_cofa_crtdt $timestamp"
    Rich Thompson

    Hi
    Since SQL Server 2000 has been out of support, I recommend you to upgrade the SQL Server 2000 to a higher version, such as SQL Server 2005 or SQL Server 2008.
    According to your description, you can try the following methods to check duplicate record in SQL Server.
    1. You can use
    RAISERROR to check the duplicate record, if exists then RAISERROR unless insert accordingly, code block is given below:
    IF EXISTS (SELECT 1 FROM TableName AS t
    WHERE t.Column1 = @ Column1
    AND t.Column2 = @ Column2)
    BEGIN
    RAISERROR(‘Duplicate records’,18,1)
    END
    ELSE
    BEGIN
    INSERT INTO TableName (Column1, Column2, Column3)
    SELECT @ Column1, @ Column2, @ Column3
    END
    2. Also you can create UNIQUE INDEX or UNIQUE CONSTRAINT on the column of a table, when you try to INSERT a value that conflicts with the INDEX/CONSTRAINT, an exception will be thrown. 
    Add the unique index:
    CREATE UNIQUE INDEX Unique_Index_name ON TableName(ColumnName)
    Add the unique constraint:
    ALTER TABLE TableName
    ADD CONSTRAINT Unique_Contraint_Name
    UNIQUE (ColumnName)
    Thanks
    Lydia Zhang

  • Check input  values are available in Hex

    how to check input values are available between 0x0000000000000001 to
    0xFFFFFFFFFFFFFFFE
    i am using following code. but error will come
    public boolean hexCheck16(String hex)
    String hex_min = "0x0000000000000001";
    String hex_max = "0xFFFFFFFFFFFFFFFE";
         int min1 = Integer.parseInt(hex_min.substring(2).toString(),16);
         int max2 = Integer.parseInt(hex_max.substring(2).toString(),16);
         int num = Integer.parseInt(hex.toString(), 16);
         if(num >= min1 & num <= max2)
         return true;
         else
         return false;
    Error is : java.lang.NumberFormatException: For input string: "FFFFFFFFFFFFFFFE"
    how to solve?

    Use BigInteger (and lose the "0x").

  • Getting error:  *cannot check out a record*  in URM

    We have recently implemented URM and it seems to be working fine as far as checking in records and the dispositions working. The problem occurs if someone tries to check out a record. An error comes up saying that a record cannot be checked out. Am I missing something here? Shouldn't I be able to check out a record, update it and then check in a new version?

    No, that's the point of records, they are not alterable.

  • Showing ' No Records available' message in a h:dataTable

    Hi ,
    I am using JSF dataTable to show my data in tabular format. The data is comming from a database. And everything is working finely.
    But I would like to show a message like " No Records Available" in the dataTable if there has no data to be shown.
    Is it possible to show these type of messages in a dataTable?
    Could anybody please give a solution?
    Regards,
    Francis

    You can play with the rendered attribute.<h:dataTable rendered="#{!empty myBean.data}">
    </h:dataTable>
    <h:outputText value="No records found." rendered="#{empty myBean.data}" />Or use facesmessages.

  • Thanks for the Firefox 4 upgrade. Here is my concern - Previously, the "Check for updates" option is found under the Help menu. In Firefox 4, I cannot find this option; how will we be able to check if there are available updates?

    Previously, the "Check for updates" option is found under the Help menu. In Firefox 4, I cannot find this option; how will we be able to check if there are available updates?
    Can this new version update itself automatically? How do I set this option?

    Why do developers move stuff just to move it?

  • Cannot check In workflow record

    Hi Guru's ,
    We are having some issues in Workflow
    When i process the workflow  Named "PurchOrg Data"as WorkflowNext step-Stop,record is still in cheked out state ,although the stop step has Record checkout property as ChekIn.
    And now there is no workflow in Workflow tab.So to checkin this record ,I right clicked on record Workflow Add to job-- Purch Org Data.
    Now it gives me error "Record is currently usedin Workflow".
    How do I check In this record (as there is no workflow in workflow tab)???
    Also I cannot delete it as it is in checkout state..
    Did anyone had this issue befor..
    Regards
    Vikrant M Kelkar

    HI Vikrant
    You need to join the checkout process first. when the record was checked out we have an option of using checkout exclusive or non exclusive.
    In case the record has been checked out exclusive the owner of the checkout needs to allow another user to join the checkout process.
    In case record is checked out non exclusive anyone can join the checkout process and the owner need not invite to join.
    hope this helps-
    Best regards
    Ravi

  • Check which data records have been updated or created by the business rule.

    Dear all,
       Is there any way to check which data records have been updated or created by the business rule?
       For ex:
       When I run a data package which execute some standard store procedure and the log shows :
    Executing SPRUNCONVERSION  'LEGALAPP', [ACTUAL], [GGGG],'GLOBAL','SPSCOPE_42412','SPLOG_125272'
    SPRunConversion Version 2.06
    20071200 - 210 Rows Calulated
    20071200 - 84 Rows Updated
    Anyway to see the data content of "84 Rows Updated "?
    Best Regards,
    Jeff

    Yes each aplication has 3 fact tables:
    FACTWB:Real time storage, when you send data it is stored here and this is linked to the FACTWB partition in OLAP which is a ROLAP partition to enable real time updates of the data.
    FAC2: Short term storage. If too many records are in the FACTWB the aplication becomes slow because these records need to be queried by the OLAP engine everytime new records are send to the database. To clean up te real time storage you can do a lite optimize, which will move the FACTWB records to the FAC2 partition. this lite optimize can be done even when users are in the system.
    FACT: this is the long term storage. When your reporting is finished you can run a full optimize to clean up both FACTWB and FAC2 tables and store it in the FACT table. This contains all your historical records.
    Evertime you run a reort, SAP BPC is looking at all 3 partitions and combines the data of the 3 partitions to present the correct value in your report. Remember that BPC is posting differences in the WB and not the final values. So if you have for example a record with 10 in the FAC2 partition and you send 12 to the database for that intersection, BPC will post only 2. When running a report it combines the 10 and the 2 which makes 12.
    Hope this makes it more clear.
    Joost
    Edited by: Joost Hoppenbrouwers on May 6, 2008 12:19 PM : Seems that James and I where writing pretty much the same post at the same time

  • Sortdump when checking number of records of an SAP table

    When trying to check number of records in an SAP table from SE16, that ends with shortdump as below.
    SQL error in the database when accessing a table.
    Database error text........: "601 Could not continue scan with NOLOCK due to
    data movement."
    Internal call code.........: "RSQL/COUN//BIC/B0000116000 "
    Thank you in advance for quick response.

    Hi,
    please follow note 142731 and do a complete database check. This error is often caused by database corruptions.
    Best regards
      Clas

  • Authorization level check for Condition records.

    Hi,
    Hi Gurus,
    Pls help me out in the the following scenario.
    I want to activate Authorization level check for Condition records.
    For example, Product price PR00 is being entered by first level.
    After verification done by second level only, that condition record to be used for sales order processing.
    I have gone through Process status & Release Status. But once it is Blocked  i am not able to release it...
    Rgds,
    Amol

    Amol,
    Please confirm transaction code you are using in this scenario to release. I can help with this, just a little more detail.
    Thanks,
    Jay

  • Check whether master record conversions exist

    Dear All,
    I have copied the requests from developement server to quality server for SD IMG configrations.
    When i am doing consistency check in Developement server there is no error.
    However when i check the same in quality server I am getting the following error.
    Check whether master record conversions exist
    Dist. channel is missing for condition conversion 1000 10
    Dist. channel missing for customer/material conversion 1000 10
    Check whether master record conversions exist
    Division is missing for condition conversion 1000 10
    Division missing for customer conversion 1000 10
    Can some body help me to solve this problem.This very urgent and will really appreciate your timely support.
    Thanking you,
    Best regards,
    R.Srinivasan
    Check whether master record conversions exist
    Division is missing for condition conversion 1000 10
    Division missing for customer conversion 1000 10

    Experiencing the same problem also.
    Right now, i'm re transporting the DEV config for Define Dist Channel, Define Division, Assign Dist channel to sales org, Assign Division to sales org, and Set up sales area. I hope once i transport them again in this order, the issue will be resolved is QAS.
    Anyone know what i should do?

  • How check if selected record already locked?

    Hi everybody,
    Please, how can I check if selected record(s) already locked by another user
    to prevent Oracle error.
    Thank you.
    Dmitry

    Great question. You can use a product called CleanEnter to prevent duplicates being created for Contacts (or Accounts or Leads) by checking against ANY field you wish including the Custom field you are mentioning.
    To learn more about CleanEnter, go to http://www.activeprime.com/cleanenter/
    Happy to discuss if you would like.
    Cheers,
    Greg
    [email protected]
    617-247-9908 x21

  • Checking of duplicate record

    am wondering how to write code that will check the new item if it is already existing in the table before it can be inserted...am just new in forms. thanks.

    According to online help, CHECK_RECORD_UNIQUENESS is only valid from the On-Check-Unique trigger and only performs what Forms does by default -- checks if the record has already been inserted into the table. Just set the Enforce Primary Key property to Yes for the block, and this happens automatically.
    If you want to check right after the user enters the primary key for a new record, you can do it in the When-Validate-Item trigger:
    declare
       record_count number := 0;
    begin
       select count(*) into record_count from <tablename>
       where <primary_key_column> = :<block.primary_key>;
       if record_count > 0 then
          message('This record is already in the database.');
          raise form_trigger_failure;
       end if;
    end;

  • "waht you hear" (disabled and unplugged devices checked) not in recording devices

    ["waht you hear" (disabled and unplugged devices checked) not in recording devices? I have scoured the windows7 and creative forums and cannot find a solution.
    PLEASE HELP!
    I did a fresh re-install of windows7 32bit.
    The previous install was running Creative Driver .04.0900 for an onboard Sound Blaster 24bit
    chip(CA006-DAT), on a MSI/K8N/NEO4/SLI/Platinium mobo.
    I open audio controls, then recording devices. Check disabled and disconnected devices.
    "What you hear" appears and I am able to beat match Arkaos, R4, Gforce,...
    The current install, same hardware, installed Creative Driver .04.0900 as well as Creative
    Audio Control Panel and Creative software Autoupdate thru Windows Update.
    I open audio controls, then recording devices. Disabled and disconnected devices were already
    checked. "What you hear" not listed, only Microphone, CD Audio, & Line-In.
    If I open properties for devices, Recording or Playback, there is now a Sound Blaster tab. Open SB
    tab and select settings for Creative Audio Control Panel.
    Hedphone Detec., Performance, Restore Defaults, Speakers, EAX Effects, CMSS-3D, SPDIF I/O tabs on
    panel.
    "What you hear" device shows up nowhere.

    If u have a Dell Branded X-FI sound card and are using vista there is no "what u hear" go to the Dell XPS forum and read the FAQ at the top of the forum. "Stereo Mix/What you hear/waveout mix"

  • Message app in my IPad 2 has never worked and still doesn't with the new IOS8. Cannot send either text or audio recording messages. Have checked Settings to no avail. Neither "Send" nor "microphone " buttons are active.

    See above.

    Hey mercurymike811,
    Thanks for the question. I understand that you are experiencing issues sending iMessages from your iPad. The following resource provides troubleshooting steps that may help to resolve your issue:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Thanks,
    Matt M.

Maybe you are looking for

  • I have a lacie drive attached to my airport but it will not mount

    I have an Aiport Extreme and I just purchased a Lacie 2d Quadra drive to attach to it. However, it will not mount. I have tried to power it off and on, replaced the USB cable but it will not wake up. The blue light will flicker for a moment then go d

  • SXI_CACHE Error :  if_http_client receive http_communication_failure

    Dear All,      I am trying to do a Cache refresh in SXI_CACHE and i am getting an error. The error i am getting is <b>if_http_client receive http_communication_failure</b> i have maintained in pipeline url of XI-Business system as <b>http://<hostname

  • Ipad mini missing ipod application

    I have a new ipad mini2. I am trying to set up sharing to use music files on my server. The instructions indicate to open the Ipod application in Settings (just below the Safari icon). I don't have that icon and can't seem to get either the Music app

  • AUSST fresh synchronization - server not responding ...

    Hello. We have just subscribed a number of people to CCT. I have created the necessary packages successfully. Now, I am in the process of setting up AUSST for the first time. I have tried on both a Windows Server 2003 SP3 and Windows Server 2008R2 se

  • Password protect saving changes in code

    Hello,  Is there a way to password protect sa ving changes in the block diagram?  I don't want to password protect viewing the code, only making changes. much thanks!