Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, May 4, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - Upgrades
Forum to discuss upgrading SalesLogix from version to version. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Upgrades | New ThreadView:  Search:  
 Author  Thread: v7 Upgrade and Deleting PKs and Indexes
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Oct 06 9:57 AM
fiogf49gjkf0d
I am upgrading from 6.2.1 to 7.0. In the documentation (Upgrading Sage CRM SalesLogix to Version 7.0) step 19 states that it is converting currency values from float or real data to a number data type. The documentation states these changes will fail if there are primary or foreign key constraints or unique indexes on the tables being modified. If any of these conditions exist for the following tables, the keys and indexes should be removed before the Upgrade bundle is applied:

leadsource, literature, account, campaign, contract, contractincident, opportunity, opportunity_product, product, productprogram, quota

Sounded strange enough for me to call support. After some discussion on their end the answer came back that I should delete all the indexes and keys for the tables listed above before applying the upgrade bundle. So I go to do that and first table (leadsource) I try to do this to is giving me problems with deleting the primary key. It won't let me because of referential integrity.

I'm now restoring from a backup and writing here to find out what the experience has been with this step?

Thanks,
John G.
[Reply][Quote]
Brian Segers
Posts: 69
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 06 9:26 AM
fiogf49gjkf0d
I have used the object browser in query analyzer to delete the PK and Index's with no problems on multiple upgrades.

Regards,

Brian
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 06 9:29 AM
fiogf49gjkf0d
Ok.. I was using SQL 2005 Enterprise manager. Not sure if this was the issue. I will have to try to dig up a SQL 2000 QA.

So basically you did delete all what was recommended before applying the v7 upgrade bundle?

Thanks,
John G.
[Reply][Quote]
Brian Segers
Posts: 69
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Oct 06 9:23 AM
fiogf49gjkf0d
Yes, for every upgrade except the first and that one was not fun

I believe the upgrade work plan mentions another acceptable tool to make the change as well, don't remember what it was off the top of my head.

Brian
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Dec 06 8:32 AM
fiogf49gjkf0d
I just ran my first test upgrade from 6.2 to 7. I got the messages about the indexes existing, but was able to complete the upgrade anyway. Should I delete the indexes and reinstall the bundle? If so, do I delete all indexes on the stated tables? When I look in the leadsource table for example, I see two indexes..

Thanks
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 06 2:38 AM
fiogf49gjkf0d
No, the index message you are seeing is simply because the bundle tries to create an index (email3 for example) and that index exists already. So, nothing to do.
[Reply][Quote]
LaNae Christenson
Posts: 23
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 06 7:46 AM
fiogf49gjkf0d
So what happens if you don't remove the existing indexes and primary keys?

Also, what is the best way to "put them back" when you are done?
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 06 8:34 AM
fiogf49gjkf0d
As far as I can tell - nothing. When this was queried with SLX during the beta process - they'd had one issue with an upgrade not going well (hence the need to remove). But, frankly, all mine have worked and I've not removed them.

In order to put them back - you have to script them [the indexes], drop them and then re-index afterwards. But, as a process this can't work in remotes situations as those items won't sync.

I wouldn't bother to be honest (and don't).
[Reply][Quote]
LaNae Christenson
Posts: 23
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 06 8:52 AM
fiogf49gjkf0d
Thank you, Mike. Since we are going to run this in dev and test environments first, I will give it a try without first and then deal with it afterwards if it doesn't work.

Regards, LaNae
[Reply][Quote]
Robert Levine
Posts: 132
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Dec 06 4:41 PM
fiogf49gjkf0d
I'm facing the same issue when upgrading from 5.2 to 7.0. I asked the same question in the SalesLogix Newsgroups, and the responders said to first try it without removing the keys and indexes. I've already set up a separate server for Version 7, and I'd like to try it there. My little problem is that I think I first have to apply the upgrade bundles directly to the Version 5.2 database using the 5.2 Administrator. Is there anyway to first restore the 5.2 database to my 7.0 server (which already has the 7.0 programs) and apply the upgrades directly on the new server?
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: v7 Upgrade and Deleting PKs and IndexesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Dec 06 3:05 AM
fiogf49gjkf0d
Everything happens via 7.0 - you don't apply the bundles until after the upgrade. So, no restore to do.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/4/2024 5:10:37 AM