Some tags are not showing in SQL when executing the script as per Date

A) When i am executing below script
Select ToP 10000 [T_idx],[T_Tag], [T_date], [T_counter] from dbo.[total] ORDER BY T_DATE desc
i am able to see all tags with respect to date except some tags prefix with ----PO, this 'PO' tags also present in the same table, with same time and date like other tags
B) When executing below script
Select top 10000 * FROM dbo.[total] where T_Tag like '%PO%' ORDER BY T_DATE DESC
i am able to see all tags related to  PO
How i can all tags including 'PO' with one script. can any one help me ??
acmi

Venkat,
Select ToP 10000 [T_idx],[T_Tag], [T_date], [T_counter] from dbo.[total] ORDER BY T_DATE desc
The above query MAY or MAY NOT give the records with taag ---PO as they might belong to a later data which might not fit into the top 10,000 dates of the table. This shud be the problem.
If you want to see all the data irrespective of the number of rows, then below shud help:
Select
[T_idx],[T_Tag], [T_date], [T_counter]
from dbo.[total]
ORDER BY T_DATE desc
If you need the rows that CONTAIN --PO then folowing shud do it:
SELECT
[T_idx],[T_Tag], [T_date], [T_counter]
FROM dbo.[total]
WHERE T_Tag like '%PO%'
ORDER BY T_DATE desc
If you need just the top 10,000 rows of the above result, then just add a TOP clause as below:
SELECT
TOP 10000
[T_idx],[T_Tag], [T_date], [T_counter]
FROM dbo.[total]
WHERE T_Tag like '%PO%'
ORDER BY T_DATE desc
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'>

Similar Messages

  • Some Devices are not showing up at all in the Discovery reports

    Hi all,
    The first time I ran the CS device discovery I got 50 reachable devices. I scheduled the Device Discovery to be run every week. I added more subnets to the discovery but unfortunately the last discovery shows only 31 devices from the first discovered devices (50). I checked the DCR and there is only 44 devices out of the 50!
    My question is:
    Should not the scheduled Device Discovery discovers all devices -the previously discovered ones and the new ones-?
    Why the rest of the devices are not showing up at all in the discovery reports (neither reachable nor unreachable) although all of them are pingable and responding to the snmpwalk tool from the CWLMS server.
    Your kindly respond is highly appreciated.
    Thanks in advance.

    I ran the discovery again with the same settings after enabling debugging and I checked the following log files:
    1. in the ngdiscovery.log I found a lot of errors all about Duplicate IpAddress example:
    ERROR  [DeviceManager : EvalTask-DiscoveryThreadPool-06 addNewDevice]  : Duplicate IpAddress (127.0.0.51) found in addNewDevice().Device 1 ip = 10.8.113.29 , id1 = 127.0.0.51*F1COR.xyz.com*.1.3.6.1.4.1.9.1.283, Device 2 ip = 10.8.113.106 , id2 = 127.0.0.51*LCD.xyz.com*.1.3.6.1.4.1.9.1.283
    ERROR  [DeviceManager : EvalTask-DiscoveryThreadPool-08 updateDevice]  : Duplicate IpAddress (127.0.0.51) found in updateDevice().Device 1 ip = 10.8.113.93 , id1 = 127.0.0.51*UDS.xyz.com*.1.3.6.1.4.1.9.1.283, Device 2 ip = 10.8.113.73 , id2 = 127.0.0.51*F2COR.xyz.com*.1.3.6.1.4.1.9.1.283
    ERROR  [DeviceManager : EvalTask-DiscoveryThreadPool-09 addNewDevice]  : Duplicate IpAddress (10.8.113.42) found in addNewDevice().Device 1 ip = 10.8.113.42 , id1 = null, Device 2 ip = 10.8.113.86 , id2 = 10.8.118.251*OPS.xyz.sa*.1.3.6.1.4.1.9.1.501
    2. in the CSDiscovery.log:
    Error while changing the permission of the file C:\PROGRA~1\CSCOpx\objects\csdiscovery\1348\DiscoveryStatusObj
    I checked the file and the casusers has a Modify permission
    My Question is:
    1. what is the meaning of those output exactly?
    2. If CWLMS found duplicatedd IP address how it works in terms of (ignoring, updating existing devices, Adding the new devices, ... etc)
    Many thanks for your help.

  • Reg Batch in delivery  some items are not showing gross weight please help

    please give me your help
    in Deliveries some items are not showing gross weight
    please give me some help

    Dear Ramsuresh,
              Check are maintaining gross weight in the Master data of those items or not.
    If not maintain in the Material master then create delivery
    I hope it will help you
    Regards,
    Murali.

  • Some videos are not showing in Apple TV playlist after upgrade to 6.0.  Can play on Macbook itunes and using airplay to Apple TV.  Anybody else have this issue?

    Some videos are not showing in my Apple TV playlists after upgrade to 6.0.  They were there prior to upgrade and I can play on Macbook itunes and also using using airplay to Apple TV.  Anybody else have this issue?

    Ok, so I'll try again.  Thank you for the idea of looking in Home Videos, which is where all my "lost" videos are listed.
    Is there a way to get them to display under their appropriate genre in the Movie section, which is where they all were listed prior to the os6 update?  It does me no good to have hundreds of movies categorized in iTunes via a genre only to have them appear in Home Videos on ATV.  These are not "home movies." They are legit mp4 movies that worked great under v5.

  • MY LAYER STYLES AND PHOTO EFFECTS ARE NOT SHOWING UP WHE I CLICK THE BOX, NO DROP SHADOW, ETC

    MY LAYER STYLES AND PHOTO EFFECTS ARE NOT SHOWING UP WHE I CLICK THE BOX, NO DROP SHADOW, ETC,
    I ALSO GET AN ERROR WHEN I OPEN THE EDITOR ONTITLECREATEWITHPARONS COULD NOT BE LOCATED IN THE DYNAMIC LINK ONCORE2DLL

    Seems like the database has been accidently deleted. Browse here on how to get it back http://forums.adobe.com/thread/759100

  • My photos are not showing up as layers in the layers panel, only as one layer, so I can't make any changes to the layers.  Does anyone know why this is happening?  Am I downloading them from my camera wrong?

    My photos are not showing up as layers in the layers panel, only as one layer, so I am not able to make changes to the layers.  Does anyone know why this is happening?   Am I downloading them from my camera wrong?  I have watched the video and the photos don't open that way on my layers panel. Any help would be appreciated, I would like to edit out the background and turn it a different color.

    barba87623950 a écrit:
    My photos are not showing up as layers in the layers panel, only as one layer, so I am not able to make changes to the layers.  Does anyone know why this is happening?   Am I downloading them from my camera wrong?  I have watched the video and the photos don't open that way on my layers panel. Any help would be appreciated, I would like to edit out the background and turn it a different color.
    Photos from cameras or scans have only one layer (the 'background' layer).
    You can start with that 'background' layer and duplicate it or add other layers in the editing process. For instance you can make a selection of a subject and put it on another layer; a common use is to desaturate the 'background' and to keep the color in the selected subject in your newly created layer.

  • Printers are not showing up anymore when user want to select a printer

    I was looking for a Basis forum but couldn't find it. So, I guess this is the best forum where I can post my question.
    Our end users used to be able to select printers but now all printers are not showing up anymore in their output device list. The only printer shown is LOCL.
    This problem just happened from one day to another and now nobody can select printers. The just can print to their LOCL printer
    Any idea or suggestion?
    Marco

    Hi
    Try to check if something is changed in the user profile, try to see the authorization S_SPO_DEV
    Max

  • Charts are not showing up in WEBI after the SAP Integration

    folks,
                  I have successfully iinstalled the following
                  BOBJ XI R3.1 Java version
                  Crystal Reports 2008 with SP1
                  Xcelsius 2008 enterprise
                  SAP GUI
                  Java Connector
                  SAP Integration tool kit.
    Now in WEBI when I want to draw some charts which are not showing up. Please give me some suggestions.
    Regards,
    preddy

    HI,
    I would suggest you open this in the WEb Intelligence forum unless this only happens with SAP based reports.
    Ingo

  • My pictures are not showing up as icons in the library.

    My pictures are not showing up in the library as icons. They are still there, but I have to guess which one is which and when I click on one, I can see it.  This is only for the pics I have taken for the last few weeks.  My older pictures I can see as icons.  How can I fix this?

    Hi dlaporte73,
    Does removing and reinserting your battery help? Is this happening when your BlackBerry Torch smartphone is in portrait view or does it happen in landscape view also? This KB article may provide more information.  "Thumbnails appear blank in the picture viewer of the BlackBerry Torch smartphone" http://blackberry.com/btsc/KB23935
    Let me know if that helps.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • SSRS 2012 some users are not able to edit reports in the server

    Hello All,
    I am install reporting services SharePoint native mode but some users are not able to edit reports on server error is "Application cannot be started contact your application vendor" but this users edit reports on their client machine
    using report builder 3.0.
    Please help me

    Hi harshad_mule,
    Because Report Builder in the Report Manager is a ClickOnce application, the error message means that one or more of the files listed in the application manifest cannot be found on the server, so the application cannot be started. Based on my research, frequently
    this means that the application is somehow corrupted, or that the ClickOnce store is corrupted.
    To fix this issue, we can try to refer to the following steps:
    If Report Builder is corrupted, we can update the Reporting Services to repair this.
    Check that the Report Builder application is existing
        Open the Report Server folder. By default, the folder is located in: C:\Program Files\Microsoft SQL Server\MSSQL.<X>\Reporting Services\ReportServer\ReportBuilder
        Make sure the file "ReportBuilder.application" is existing in the folder mentioned above.
    If it is existing, please use the following URL to access the Report Builder directly:
    http://<server>/ReportServer/ReportBuilder/ReportBuilder.application
    And this issue can also be caused by browser. Because not all report functionality is supported by all browsers in Reporting Services. So please use IE browser to start Report Builder to try it again.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • VF46 is VF44 are not showing any records, while executing

    Dear All,
    Yesterday, we have notice that T. Codes: VF44 and VF46 are not giving any records, while executing.
    Even if, we do PGI, its not reflecting in VF44.
    Could anybody suggest the probable cause and solution?
    Best Regards,
    Amit

    Hi,
    you must first execute the transaction VF42, remove all fields marked (seems to do nothing, but it makes when you run the VF44 has data)
    best regards

  • Network protocols are not showing in sql server network configuration manager

    Hi,
    We are running 64 bit SQL server 2012 SP1 version. Everything was working fine but suddenly SQL server network configuration showing blank.
    So please suggest how do I get it back.

    Hello,
    Could you please try to repair the installation?
    http://technet.microsoft.com/en-us/library/cc646006(v=sql.110).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Not showing correct output when parsing the date

    //WAP the gives the details of employees
    import java.io.*;
    import java.util.*;
    import java.text.Format;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    class employee
      private String nm,curr_dt;
      private Date dob,doj;
      private int salary;
               employee()
                  nm="\0";
                  dob=null;
                  doj=null;
                  curr_dt=null;
                  salary=0;
               void getdata()throws IOException
                  String dt;
                  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                  //we can create date with these 3 type of objects
                  Format fm=new SimpleDateFormat("dd-mm-yyyy");
                  DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
       //object of base class are type compatible with the object of derived class
                  SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
                  System.out.print("\nEnter the name of Employee : ");
                  nm=br.readLine();
                  try{
                  System.out.print("\nEnter the date of birth of Employee : ");
                  dt=br.readLine();
                  dob=(Date)fm.parseObject(dt);
                  System.out.print("\nEnter the date of joining of Employee : ");
                  dt=br.readLine();
                  doj=df.parse(dt);
                  }catch(ParseException e){
                  Date d=new Date();
                  curr_dt=sdf.format(d);
                  System.out.print("\nEnter the salary of employee : ");
                  salary=Integer.parseInt(br.readLine());
               void putdata()
                  System.out.println("\n\n\nEmployee Name : "+nm);
                  System.out.println("\nDate of birth : "+dob);
                  System.out.println("\nDate of joining : "+doj);
                  System.out.println("\nCurrent date : "+curr_dt);
                  /*if((doj-curr_dt)>1)
                       salary+=3000;
                  System.out.println("\nSalary of Employee : "+salary);
    class emp
      public static void main(String str[])throws IOException
           employee emp[]=new employee[1];
           System.out.println("\nEnter the detail of employees \n\n");
           for(int i=0;i<1;i++)
                emp=new employee();
    emp[i].getdata();
    System.out.println("\n\nDetail of employees are\n\n");
    for(int i=0;i<1;i++)
    emp[i].putdata();
    }*Output:*
    Enter the detail of employees
    Enter the name of Employee : Rajendra Sharma
    Enter the date of birth of Employee : 10-10-1979
    Enter the date of joining of Employee : 05-09-2004
    Enter the salary of employee : 2000
    *it is not showing date in the "dd-mm-yyyy" format and not showing correct month as well*
    Detail of employees are
    Employee Name : Rajendra Sharma
    Date of birth : Wed Jan 10 00:10:00 IST 1979
    Date of joining : Mon Jan 05 00:09:00 IST 2004
    Current date : 17-08-2008
    Salary of Employee : 2000                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    Use below code that will help u to sort ur problem.
    import java.io.*;
    import java.util.*;
    import java.text.Format;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    class employee
    private String nm,curr_dt;
    private Date dob,doj;
    private int salary;
    private String dobb,dojj;
    employee()
    nm="\0";
    dob=null;
    doj=null;
    curr_dt=null;
    salary=0;
    void getdata()throws IOException
    String dt;
    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
    //we can create date with these 3 type of objects
    DateFormat fm=new SimpleDateFormat("dd-mm-yyyy");
    DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
    //object of base class are type compatible with the object of derived class
    SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
    System.out.print("\nEnter the name of Employee : ");
    nm=br.readLine();
    try{
    System.out.print("\nEnter the date of birth of Employee : ");
    dt=br.readLine();
    dob=(Date)fm.parseObject(dt);
    dobb= fm.format(dob);
    System.out.print("\nEnter the date of joining of Employee : ");
    dt=br.readLine();
    doj=df.parse(dt);
    dojj = df.format(doj);
    }catch(ParseException e){
    Date d=new Date();
    curr_dt=sdf.format(d);
    System.out.print("\nEnter the salary of employee : ");
    salary=Integer.parseInt(br.readLine());
    void putdata()
    System.out.println("\n\n\nEmployee Name : "+nm);
    System.out.println("\nDate of birth : "+dobb);
    System.out.println("\nDate of joining : "+dojj);
    System.out.println("\nCurrent date : "+curr_dt);
    /*if((doj-curr_dt)>1)
    salary+=3000;
    System.out.println("\nSalary of Employee : "+salary);
    class emp
    public static void main(String str[])throws IOException
    employee emp[]=new employee[1];
    System.out.println("\nEnter the detail of employees \n\n");
    for(int i=0;i<1;i++)
    emp=new employee();
    emp[i].getdata();
    System.out.println("\n\nDetail of employees are\n\n");
    for(int i=0;i<1;i++)
    emp[i].putdata();
    thanks,
    prabhu selvakumar.

  • Flash not showing up AFTER I upload the Scripts folder

    I added a Flash object to a page in dreamweaver. The object
    does not appear in any browser after upgrading to DW 8.02. The
    flash object plays by itself. It plays when previewed in a template
    (a dwt file) in the browser. However when placed on a html file
    based on a template nothing shows up. I have never had this problem
    before. Also, I am still having the same problem AFTER I added the
    Script folder as suggested in other posts on this forum. Can
    someone offer a suggestion? Thanks in advance.

    This file -
    http://www.cis.laguardia.edu/Scripts/AC_RunActiveContent.js
    is not on the server. That's where this call expects it to be
    <td colspan="2" valign="top"><script
    type="text/javascript">
    AC_FL_RunContent(
    'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','714','height','54','src','../Flash/TOP','quality','high','pluginspage','http://www.ma cromedia.com/go/getflashplayer','movie','../Flash/TOP'
    ); //end AC code
    </script>
    and this one -
    <script type="text/javascript">
    AC_FL_RunContent(
    'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','501','height','115','src','../Flash/BOTTOM','quality','high','pluginspage','http://ww w.macromedia.com/go/getflashplayer','movie','../Flash/BOTTOM'
    ); //end AC code
    </script>
    and it's where this line says it is -
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    but it's not.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mister Tacks" <[email protected]> wrote in
    message
    news:ej0gj1$801$[email protected]..
    > The page can be found at
    http://www.cis.laguardia.edu.

  • Some folders are not showing when I insert external thumb drive

    When I insert a thumb drive into usb slot, I do not see all the folders which contain Jpeg files. How do I overcome the problem ?

    Sorry if I didnt ask the question properly because my Eng is bad
    But I am not intended to write on those drives, I have no third party software installed
    I just want to read those files, I copy those files through Windows 7 on my bootcamp partition
    However, I can't read those specific files on my NTFS drive in MAC OS, but I know its there because when I plug into another PC, they are showing up fine

Maybe you are looking for

  • Need help with selecting an LCD TV that can wirelessly connect to my laptop

    I specifically need to have the ability to view my laptop's display wirelessly on the tv.  My office is going to use it as a presentation display so when I'm in a power point presentation on my laptop it is actually displayed on the tv.  Please let m

  • Managed Metadata appearing in wrong columns after Restoring a site to a new Site Collection

    I've restored a site with some libraries that have Managed Metadata (MM) columns from one site collection into another site collection inside the same web app so it should all subscribe to the same Managed Metadata Service Application. There are two

  • Element 11 crashing

    I just bought photoshop element 11 and it cashes every single time I try to open a file.

  • Can't open Final Cut Express HD v.3.51

    really annoying when you pay a lot of money for an application and are trying to get some work done and you get this message:"This software requires certain hardware or software which is missing. • Quartz Extreme Support." What is this all about? Tha

  • 2 Client of ECC pointing to one BI Client

    Hi, I have a requirement at BMW Inc to test the unconsolidated FI data from ONE ECC CLIENT in QA System and then I have a Consolidated FI Data from another ECC Client in Quality system. Can I HAVE ONE BI system to receive the data from both ecc clien