Primary key vs Secondary key - why would a rpt hit one as to the other?

Post Author: kevans
CA Forum: Data Connectivity and SQL
Here's an issue that surfaced when using CRW10, happens with XI as well, but not an issue with CRW8 - each one is hitting the same SQL Server db.
I discovered something today and I'm not sure if this might be the road to a solution, however, I don't know enough about SQL Server and/or Crystal.  First, my reports seem fairly simple in nature, I don't think I'm pulling a million rows of data, maybe but doubt it.  So I run report ABC and I see blocking issues in SQL Server Enterprise Mgr.  If I run report XYZ that isn't too much different than ABC, I do not see blocking issues.  Hmm, what could be different?  In SQL-Mgr when I look at the SPID info generated by the report I can see the tables the report is referencing and below is what I discovered.
The one difference I see is under the "Index" column - the report blocking shows "XPKcall_req" where call_req is the table I'm pulling from.  The report that IS NOT blocking shows call_req_x0.  I checked with our dba and he wasn't sure, other than to say XPK is the primary key index.  Okay, then why is one report hitting the primary key index (whatever that is) and the other isn't?  In Crystal I'm not sure how to tell it to stop doing this, I tried shaking my finger and yelling but like my kids this does little.
Any ideas, with the report that is?

Post Author: kevans
CA Forum: Data Connectivity and SQL
Here's an issue that surfaced when using CRW10, happens with XI as well, but not an issue with CRW8 - each one is hitting the same SQL Server db.
I discovered something today and I'm not sure if this might be the road to a solution, however, I don't know enough about SQL Server and/or Crystal.  First, my reports seem fairly simple in nature, I don't think I'm pulling a million rows of data, maybe but doubt it.  So I run report ABC and I see blocking issues in SQL Server Enterprise Mgr.  If I run report XYZ that isn't too much different than ABC, I do not see blocking issues.  Hmm, what could be different?  In SQL-Mgr when I look at the SPID info generated by the report I can see the tables the report is referencing and below is what I discovered.
The one difference I see is under the "Index" column - the report blocking shows "XPKcall_req" where call_req is the table I'm pulling from.  The report that IS NOT blocking shows call_req_x0.  I checked with our dba and he wasn't sure, other than to say XPK is the primary key index.  Okay, then why is one report hitting the primary key index (whatever that is) and the other isn't?  In Crystal I'm not sure how to tell it to stop doing this, I tried shaking my finger and yelling but like my kids this does little.
Any ideas, with the report that is?

Similar Messages

  • HT204053 It seems as if I have 2 accounts.  I would like to combine one account with the other.  How can I close one apple ID and combine it with the other that I was not aware I had set up???

    I would like to close one account and only use the other.  D

    You can't close or delete accounts (you can only remove any personal info from them and stop using them), and you can't merge accounts or transfer purchases to another account - content will remain tied to the account that downloaded them.

  • Why wont this jar execute (one way fine, the other is not)

    Without using a executable jar this works fine:
    java.exe -classpath myproject\classes;lib1.jar;lib2.jar;lib3.jar MyMainClass
    MyMainClass is my target class stored in myproject\classes
    I make an executable jar called Project.jar (basically all content in myproject\classes with usual manifest file containing target class) and then try
    java.exe -classpath lib1.jar;lib2.jar;lib3.jar -jar Project.jar
    This does not work and gives error:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/beans/factory/InitializingBean
    The class org/springframework/beans/factory/InitializingBean is contained in lib1.jar
    I must be missing something fundamental about creating executable jars?? Any ideas or pointers?

    I've simplified my problem so someone could help me please!!!!
    The following runs fine:
    java -cp .;Model.jar TestThe following fails:
    java -cp .;Model.jar -jar Test.jarException in thread "main" java.lang.NoClassDefFoundError: Model at Test.main(Test.java:8)
    Model.jar contains one class model.Model.class
    Test.jar contains one class Test.class plus manifest file. The Test class simple does the following:
    import model.Model;
    public class Test
      public static void main(String[] args)
        System.out.println("Start");
        Model model = new Model();
        System.out.println("End");   
    }Any ideas why?

  • Why would FCP crash when i click within the effect window?

    Why would FCP crash when I click within the effect window?

    I have an old system, but have not had this problem before.
    It is a MAC G5 tower...
    FCP 5.1.4
    MAC OS X version 10.4.``
    Quicktime 7.6.4

  • Why can i see only one picture in the illustration windows with iTunes 10.5.1?

    why can i see only one picture in the illustration windows since iTunes 10.5.1?

    Assuming Apple doesn't eviscerate the files of the secondary graphics with another upgrade, there could be a plug in that reads the graphic and runs along side iTunes..we should get someone or Apple to program an alternative If we have to accept this downgrade in iTunes proper.
    I've developed a quick workaround, and am still hoping Apple will fix this!
    Go To Get Info on the tune you want to see secondary artwork for.
    Go To the Artwork tab
    Drag the back cover to the desktop, and it will create a new jpg you can open with quick viw or prieview where you can see it large!
    you end up with a lot of jpgs on the desktop to discard!

  • Script works on one site, not the other... why?

    Could someone tell me why this prototype-based lightbox seems
    to work on one
    site but not on the other?
    I literally took the exact same .js & css files, copied
    them over from one
    site to the other, but it's only partially working on the new
    site.
    http://www.vilverset.com/sample.html
    And the original fully-functional one :
    http://www.roxanacampagiorni.com/
    Been troubleshooting this one for days, and I'm stumped.
    Script wants
    nothing to do with lightboxing HTML files on the new site.
    Only straight
    JPGs.

    "Michael Fesser" <[email protected]> wrote in message
    news:[email protected]..
    > .oO(Mark A. Boyd)
    >
    >>Strange. I don't think I've ever seen these headers
    before:
    >>
    >>
    http://www.vilverset.com/tn_posters.html
    >>POST /tn_posters.html HTTP/1.1
    >>HTTP/1.x 405 Method Not Allowed
    >>Allow: GET, HEAD, POST, PUT, DELETE, CONNECT,
    OPTIONS, PATCH, PROPFIND,
    >>PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK
    >>
    >>I suspect a server configuration - or version.
    >
    > I consider it a script problem. Why does it send a POST
    request instead
    > of GET? IMHO the server's response is correct, because
    it doesn't make
    > much sense to POST something to a static .html page.
    That's what I told a helper friend of mine, but he told me
    the POST is done
    by the server, not the JS files. That's why, according to
    him, he couldn't
    tell me what code to change in the .js files.
    But here they are, if you would be so kind as to tell me WHAT
    to replace
    with WHAT so the call is made properly. :-)
    http://www.vilverset.com/scripts/control.modal.2.2.3.js
    http://www.vilverset.com/scripts/effects.js
    http://www.vilverset.com/scripts/prototype.js
    Those are the 3 files needed for the script.
    Should I be banging on Dreamhost's door to fix something, or
    not? Because
    the exact same 3 files will render an HTML page just fine
    over on
    roxanacampagiorni.com.
    Which is the guilty party? The script, or the server config?

  • I want to sync my 3rd party email to  all of my MACs.  If i delete an email on one device i would like it to delete on all the others.

    I want to sync my 3rd party email to  all of my MACs.  If i delete an email on one device i would like it to delete on all the others. Anyone have any luck.  Maybe icloud?  How do i switch it for exsiting emails on Apple mail. thanks!

    sjc47 wrote:
    I was also wondering why iCloud doesn't delete e mail across all devices when I delete it on one device.
    It does, provided it is an iCloud email account (which is an IMAP account).  Email from non-iCloud email accounts such as Comcast, etc. is entirely separate and is not managed in any way by iCloud.
    sjc47 wrote:
    I am also confused by the discussion that POP accounts don't sync using iCloud as I have been using my Comcast POP account as well as several other POP e mail accounts and I receive e mails from all these accounts across all my devices without issue (Mac Mini, MacBookPro 13, iPhone5).
    As mentioned, your non-iCloud POP accounts are entirely separate email accounts and are not managed by iCloud.  You are receiving email from your POP accounts on all your devices because you have the accounts set up on all your devices; but the email is being sent from your other email providers such as Comcast, not by iCloud.
    sjc47 wrote:
    When you say POP accounts don't sync are you all referring to the deleting of e mails which was one of the subjects of the original post or is it something else I'm missing?
    Unlike IMAP accounts, POP/POP3 accounts only deliver email to your devices.  Any subsequent changes that you make an email on any of your devices such as deleting a message, marking it as read, etc., will not be synced to your other devices.  This will give you a little more information on the difference: http://gmailblog.blogspot.com/2008/05/getting-gmail-anywhere-imap-versus-pop.htm l.

  • TS3510 I have 3 different apple devices using the same Apple ID and would like to use FaceTime to call from one device to the other.  Do I need a different Apple ID for one of the devices in order to do that?

    I have 3 different apple devices (iPod Touch, iPad and MacBook Pro) using the same Apple ID and would like to use FaceTime to call from one device to the other.  Do I need a different Apple ID for one of the devices in order to do that?

    I found this on a related question in the Community:
    Yes you can do it. I do it with 4 different devices all using the same Apple ID.
    You need to associate different email addresses for each device in order to use those email addresses as the "contact at" email address. The reason the calls are dropping on you now is that what you are trying to do is like calling yourself on your own phone.
    You can also create new iCloud accounts on each device simply to use for FaceTime, but I'm guessing that the users of the other two devices have their own email addresses which will make this work for you quite easily.
    Take a look at this for more information.
    The seems to go against what Gail said and the issue you raised about buying dup apps was my first concern.  If this other post is correct, how to I set a different "contact at" in the iPod Touch?
    Goose

  • I have two apple accounts and one of which has my music on. I would like to move this music to the other account. Is there a simple way of doing this?

    I have two apple accounts and one of which has my music on. I would like to move this music to the other account. Is there a simple way of doing this?

    There is currently no way to merge accounts.  The best option is to pick one, and use it consistantly.
    HTH.

  • TS3989 Only some of the photos I have taken on my iPhone appear in the photo stream on my iPad even thou they were taken at the same time. Why is this and how can I import the other photos from my iPhone to my iPad?

    Only some of the photos I have taken on my iPhone appear in the photo stream on my iPad even thou they were taken at the same time. Why is this and how can I import the other photos from my iPhone to my iPad?

    If older photos are missing it may be because photo stream photos are only held in iCloud for 30 days.  After that they are removed from iCloud but will remain (up to 1000 photos) on your device until deleted.  Also, only photos taken after enabling photo stream are added to your photo stream, and only when the camera is closed, your device is connected to wifi and you have at least 20% battery life remaining.
    To transfer the missing photos you can either create a shared photo stream containing them and invite yourself to it (see http://help.apple.com/icloud/#mmc0cd7e99), import the photos to your computer and sync them to your iPad, or use an app like PhotoSync to transfer them to your iPad over wifi.

  • Object would have more then one attribute with the tag :VALUE

    I'm creating a new component in Ultiboard - a 100 pin connector.  This connector (Hirose) has 4 rows of 25 pins. Alternate rows are staggered. I'm trying to name each pin with it's appropiate name: A1, A2, A3 ....A50. Then B1, B2, B3 .....B50.
    When I change the VALUE or NUMBER attribute, I get the DRC error  message:
    This action cannot be completed because the resulting Object would have more then one attribute with the tag :VALUE
    Please remove one of the attributes and try again.
    Okay, so I've tried deleting the tag and now I can't name the pin at all. 
    What am I missing?

    You should be in the footprint editor to edit the pin name.  Select tools>>Database>>Database Manager, highlight the component in your database and click on the Edit icon.  In the footprint editor, double click on the pad and a SMT or THT pin Properties dialog appears, select the Attributes tab and highlight the Number row, press the change button and you should be able to change the pin name.   
    Tien P.
    National Instruments

  • I tried two dvd players,one freezes still,the other ok,Why?

    I made a dvd with photshop/premiere 7.All still pictures with some music.I tried the dvd on two sony players.One works great.The other will freeze frame at same still.Why?

    Ok... some thoughts
    Since you ask in the Encore forum, I will presume you created the DVD with Encore... which does, by design, create "legal" discs that are "supposed" to play
    But... as I said, no player is required to work with a burned disc
    Go to http://www.imgburn.com/ and scroll down to the link for the FREE version, now at 2.5
    Tell Encore to create an ISO on your hard drive and use Imgburn to burn to disk... at the SLOWEST setting possible
    As far as the 2 Sony models... I can only GUESS that the newer model has more built-in DRM "crapware" that is getting in the way of playing a burned disc

  • Why would an alias file be larger than the original file?

    I have a simple document that is 106kb. When I create an alias to the file, the alias is 133kb. Why would the alias file be larger than the orginal file when the alias file is simply a redirect to the original file?

    Francine has a good explanation here:
    https://discussions.apple.com/message/10337543#10337543
    Matt

  • Why would i connect a external hardrive to the airport extreme and what is the difference between LAN and WAN gigabit ethernet?

    Hey just wanted to know what is the reason i would connect my external hardrive to the extreme and what is the difference between LAN and WAN ehternet. I know one is local and other is wide but can someone explain in simpler terms.

    Connecting a hard drive to the Airport Extreme makes it available to be shared across all the computers on your network.
    WAN (Wide Area Network) is your connection to the internet
    LAN (Local Area Network) is your internal (or local) ethernet connections (computers, printers, etc...)
    AirPort Base Station: About the WAN and LAN Ports

  • Why would my itouch 3th gen not recognize the mic of the headphones?

    it doesn't recognize the old nor the new set. please, help!
    thanks

    the headphones are ok but in the old set the remote broke two days ago. so, the new ones work in the device and with the remote but the microphone doesn't. does it mean i would never be able to have a microphone in my ipod because something else might be broken?

Maybe you are looking for