Simplesoft Solutions Blog

Database migration MS SQL Server 2000 to 2005 post changes

December 20th, 2011 by Paul

I have been thinking about the changes that occur with the differences between MS SQL Server 2000 and MS SQL Server 2005.  Here are some specific steps that should be taken to ensure that you proactively avoid problems with your SalesLogix database.  One big item is to adjust the compatibility level.

These steps are very specific to make sure that the process is completed in the best possible manner. I would confirm them with your DBA to determine if he suggests anything additional. There is no ‘undo’ button on the setting changes and it is per database on a SQL server instance setting.

===========================================

Standard Disclaimers

1.      Kick off the users.

2.      Perform off hours.

3.      Back up your database.

===========================================

Steps

1.      Change the compatibility level (2000 to 2005 etc.)

2.      Run the following scripts in Query Analyzer on the appropriate SalesLogix database

a.      Run the statement and review the results

b.      If there are messages in the first statement (step 3), run query statement (step 4)

DBCC CHECKDB with all_errormsgs

– This statement may take a while to run, on average 7 to 10 minutes

DBCC UPDATEUSAGE (databasename)

– Will update the database for the differences in the pages and row counts, etc. Replace (databasename) with the actual database name

EXEC sp_MSforeachtable @command1=”print ‘?’ DBCC DBREINDEX (‘?’)”

– This is a standard MS SQL Server 2005 reindex statement

EXEC sp_updatestats

– This is a stored procedure for updating the stats

DBCC CHECKDB with all_errormsgs

– Check the database at the end to make sure everything looks fine

3.      Make sure the normal database maintenance tasks and jobs are fully operational

Here is also a helpful reference link: http://msdn.microsoft.com/en-us/library/ms176064.aspx. Let me know if you need additional assistance. We are more than willing to assist, but wanted you to have the information at your disposal.

“Any fool can make things bigger, more complex, and more violent. It takes a touch of genius-and a lot of courage-to move in the opposite direction.”

Albert Einstein

If you would like to learn more tips, or if you have a CRM topic you would like us to write about, please contact Simplesoft Solutions, Inc. in one of our Cincinnati/Dayton (OH), Charleston (WV), or Charlotte (NC) surrounding area office locations:

Dayton, Ohio Office:
Simplesoft Solutions, Inc.
550 N. Main St. Suite A
Springboro, OH 45066
Phone: (937) 885-1204 x 3204
Fax: (937) 885-3580
sales@simplesoft.net

Ripley, WV Office:
Simplesoft Solutions, Inc.
710 Random Rd.
Ripley, WV 25271
Phone: (304) 521-2387
Fax: (937) 885-3580
sales@simplesoft.net

Charlotte, NC Office:
Simplesoft Solutions, Inc.
3635 Eastover Ridge Drive
Charlotte, NC 28211
Phone: (704) 910-3872
Fax: (937) 885-3580
sales@simplesoft.net

Comment on this Post

A small decision can save you a million headaches in life and SalesLogix!

July 13th, 2010 by Janetta

You know how in life you run into those small things where you wished you had slowed down to make a better decision… Like where to place the butter tub in the refrigerator, so it doesn’t fall out and bust all over the kitchen floor.  I can only hope this is resonating with some of you and you aren’t all the type who very strategically place your grocery items in their assigned quadrants in the fridge.  I work with some of you quadrant folks, but many of you will understand my perspective.

I know from experience there are plenty of you who have painstakingly planned, with your user departments, the best “pick lists” possible for all areas of SalesLogix.  Now, you wonder “how did that data get in there?” You forgot one very important step; way back in the beginning.  You forgot to lock down the pick list so the users could not add their own values. Maybe you didn’t know it was possible, maybe you thought by giving them so many choices they wouldn’t add their own, or maybe you thought it would be nice to provide your users that flexibility.  Whatever the reason … I bet most of you are second guessing your decision now.  I was working with a client in the Cincinnati, OH area last week, training them on building query groups in SalesLogix, and they were shocked at some of the values in their data.

We are talking about two tiny little checkboxes.  These two checkboxes will save you hours of frustration.  See below!   You need both ‘Text must match a list item” and “Users can not edit items” to fully lock down pick lists. The Picklist Manager can be found in the Administrative Client under Manage>Pick Lists:

Note:  The default setting for pick lists does allow users to Add items of their own (unchecked).

OK, so now you know to go back and lock down the pick lists,  but what about all that data you don’t want in your pick lists?  I have a good answer for you and another area of SalesLogix to explore in this article.  There is a SalesLogix maintenance tool called “Replace Data” that can help get your data back under control.  This menu is available through the Sales Client, as an administrative user, from the Tools>Manage>Replace Data menu option.

Use the Replace Data Wizard to replace one or more values with another value in the ACCOUNT, CONTACT, or OPPORTUNITY tables. You can only replace data in accounts, contacts, and opportunities to which you have access rights. The Replace Data Wizard works with the current account, contact, or opportunity group.

The first screen of the replace data wizard prompts you to choose which type of records to update (Account, Contact or Opportunity).

The next decision is the type of data replacement to perform on the current group

The last screen prompts for a target field and value. If you have chosen a replacement type that requires more input values (search and replace, for example) this is where you will be prompted for those as well.

*Simplesoft Solutions recommends that all of the actions described in this post be performed by and limited to Administrative SLX Users.

If your SalesLogix data cleansing  job is bigger than you can handle, contact us a sales@simplesoft.net to discuss the data cleansing services we provide at Simplesoft Solutions, Inc.

Dayton, Ohio Office:
Simplesoft Solutions, Inc.
550 N. Main St. Suite A
Springboro, OH 45066
Phone: (937) 885-1204 x 3204
Fax: (937) 885-3580
sales@simplesoft.net

Comment on this Post

Simplesoft Solutions Bottom
Register | Log in