Showing posts with label tasked. Show all posts
Showing posts with label tasked. Show all posts

Friday, March 30, 2012

MS 2005 Reporting Services Matrix - % Change Issue ....Help!

Hello Everyone,

I have been tasked with creating a report using Reporting Services from an excel report that was wasting a lot of manual effort and time. I have searched boards and I am having the hardest time trying to find a way to do the following in Reporting Services within a Matrix:

Spring Summer Fall

2005 2006 2007 %Change 2005 2006 2007 % Change 2005 2006 2007 %Change

Reponses 219 310 410 100 100 200 300 100 2000 3000 200 -2800

FRC% 102% 103% 200% 97% 23% 25% 10% -15% 20% 32% 10% -22%

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

I can not find out how to do a percent change (the column in red) subtracting just the final or most right two columns of the resulting matrix columns, not an average or some other function over the entire row....

Please help, I know others have had the same issue...

Thank You,

I would think you would just need to incorporate this into your select statement. Select the difference between the two most recent years as percentChange. Then in your report, add a column with the percentChange field as the data value.|||Thank You for your reply...I will try that and post back...|||

Yep that was the answer...

Thanks...

Monday, March 19, 2012

Moving SQL Server 2000 to a new machine

Hello all,
Recently I was tasked to move our entire SQL Server 2000 to a new server. I
work as a programmer so I have limited knowledge working with SQL Server, bu
t
not enough to handle the task I been given without direction and assistance.
This is where you people come in. THANKS IN ADVANCE!!!!
Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
server will be running 2003 and we'll need to install SQL Server 2000 servic
e
pack 3. I was wondering if anyone experience the same task and if so, how
you went about moving the entire SQL Server 2000 to the new server? What
problems did you encounter and how you resolved it? Will it be possible to
copy over the system databases from the source SQL Server to the target SQL
Server under a new operating system and service pack and still work? Or wil
l
I have to script out all the system level components and rebuild it on the
target SQL Server and then restore the user databases?
I have to make sure all of our DTS packages, management services, database
maintenance plans, replication and link servers are counted for and in
working order. God help me.
Any help or links would be greatly appreciated.
Thank you very much.I would be looking for another job at the same time. You know... just in
case. Also review your contract with the employer ensure that you can't be
sued if things go wrong, and they probably will. Do testing on another
machine first. Ask around for a good employment lawyer and it may be a good
idea to bring a small tape recorder to work to record your conversations
with superiors. You never know what they may start telling you, if things go
wrong. You can sue them afterwards. Dont be a pussy. Fight for yourself.
That is just life. Good luck!
"Scott Yu" <Scott Yu@.discussions.microsoft.com> wrote in message
news:028B088B-D36C-40D4-9D47-0B297F0838E4@.microsoft.com...
> Hello all,
> Recently I was tasked to move our entire SQL Server 2000 to a new server.
I
> work as a programmer so I have limited knowledge working with SQL Server,
but
> not enough to handle the task I been given without direction and
assistance.
> This is where you people come in. THANKS IN ADVANCE!!!!
> Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
> server will be running 2003 and we'll need to install SQL Server 2000
service
> pack 3. I was wondering if anyone experience the same task and if so, how
> you went about moving the entire SQL Server 2000 to the new server? What
> problems did you encounter and how you resolved it? Will it be possible
to
> copy over the system databases from the source SQL Server to the target
SQL
> Server under a new operating system and service pack and still work? Or
will
> I have to script out all the system level components and rebuild it on the
> target SQL Server and then restore the user databases?
> I have to make sure all of our DTS packages, management services, database
> maintenance plans, replication and link servers are counted for and in
> working order. God help me.
> Any help or links would be greatly appreciated.
> Thank you very much.
>|||I hope your office has carpet all over because it will be easier for you whe
n
they will ask you to do some cleaning...
Anyways, take a test box (make sure they don't try to give you a PDA!),
restore your databases on the test box, export your sql logins from the
source database to the test. Also keep in mind the sql jobs and if you have
any custom sql error msgs, copy them over.
Sasan Saidi
"Jason Robertson" wrote:

> I would be looking for another job at the same time. You know... just in
> case. Also review your contract with the employer ensure that you can't be
> sued if things go wrong, and they probably will. Do testing on another
> machine first. Ask around for a good employment lawyer and it may be a goo
d
> idea to bring a small tape recorder to work to record your conversations
> with superiors. You never know what they may start telling you, if things
go
> wrong. You can sue them afterwards. Dont be a pussy. Fight for yourself.
> That is just life. Good luck!
> "Scott Yu" <Scott Yu@.discussions.microsoft.com> wrote in message
> news:028B088B-D36C-40D4-9D47-0B297F0838E4@.microsoft.com...
> I
> but
> assistance.
> service
> to
> SQL
> will
>
>|||In addition to all the CYA advise, you CAN move the system databases. Take
these measure to heart:
1. Make sure the physical paths for your system databases is the same for
both servers. Whatever they are on the old box, mimic those paths exactly o
n
the new one when you're installing SQL Server.
2. When building the new box, only upgrade to SP2 until you've migrated
your databases. Only AFTER my databases came online would I be continue to
upgrade to SP3.
3. Once you've got the new server at SQL2K, SP2, and the physical paths to
your system files match exactly on both servers, you can take both sql
servers offline, do a flatfile copy of your old master .MDF and .LDF files
from the old box over the files on your new box (after you've protected them
by copying them to a safe, unrelated location, please - we're professionals)
.
4. Restart the service on the new box. (You may notice some suspect
databases pop up in Enterprise Manager. It's ok.)
5. Assuming everything comes up ok (see Jason's submission), you can mimic
these steps with the other databases, taking flatfile copies from one box to
the new server with all physical paths to the flatfiles matching.
6. You'll have to address two issues you create when doing this. One is
that the master database is out of synch with what should be the default
instance name (assuming your using default instance names - it's a problem
regardless). You'll need to run sp_drop_server and sp_add_server (@.local =
'local') to get the right server listed as the local server (see Books
Online). You'll also need to update the [originating_server] fiels in t
he
sysjobs table in MSDB. Update the field to match the local instance name yo
u
used with the sp_add_server.
7. Once your databases (at the very least, the system databases) have come
online, then I'd backup up everything and complete the upgrade to SP3, and
backup everything again.
"Scott Yu" wrote:

> Hello all,
> Recently I was tasked to move our entire SQL Server 2000 to a new server.
I
> work as a programmer so I have limited knowledge working with SQL Server,
but
> not enough to handle the task I been given without direction and assistanc
e.
> This is where you people come in. THANKS IN ADVANCE!!!!
> Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
> server will be running 2003 and we'll need to install SQL Server 2000 serv
ice
> pack 3. I was wondering if anyone experience the same task and if so, how
> you went about moving the entire SQL Server 2000 to the new server? What
> problems did you encounter and how you resolved it? Will it be possible t
o
> copy over the system databases from the source SQL Server to the target SQ
L
> Server under a new operating system and service pack and still work? Or w
ill
> I have to script out all the system level components and rebuild it on the
> target SQL Server and then restore the user databases?
> I have to make sure all of our DTS packages, management services, database
> maintenance plans, replication and link servers are counted for and in
> working order. God help me.
> Any help or links would be greatly appreciated.
> Thank you very much.
>|||First of all, I would like to thank you for your response. Here are my
responses to your instructions.
I already setup a new domain on our test network which I will be using for
this purpose. The test network will consist of 5 SQL Servers to mimic my
production SQL Servers. The new servers are partitioned to mirror the old
servers, and I will build the directory structure to mirror the old server a
s
well. The test network is totally isolated from our current production
network, so I'll be naming the new 2003 servers and SQL Server 2000 like
there old NT4.0 SQL Server 2000 counter part. Once tested and built, I was
going to rename the old servers, disable all it's jobs and services and then
introduce the new servers to the production domain. Does this sound okay so
far?

> 2. When building the new box, only upgrade to SP2 until you've migrated
> your databases. Only AFTER my databases came online would I be continue t
o
> upgrade to SP3.
#######################################
Microsoft
states(http://www.microsoft.com/sql/evalua...000/default.asp)
"Windows Server 2003 requires SQL Server 2000 Service Pack 3 or later to be
applied". Hmmm~ so I'm not sure if I can install SP2 for SQL Server 2000 on
my Windows 2003 test box. If I can, please explain.

> 3. Once you've got the new server at SQL2K, SP2, and the physical paths t
o
> your system files match exactly on both servers, you can take both sql
> servers offline, do a flatfile copy of your old master .MDF and .LDF files
> from the old box over the files on your new box (after you've protected th
em
> by copying them to a safe, unrelated location, please - we're professionals).[/vbc
ol]
#######################################
I have a maintanence job that backup all the system databases and selected
user databases with log files on a daily basis. Instead of detaching the
.MDF and .LDF, I was going to restore it from a current backup. Will this
work as well?
[vbcol=seagreen]
> 6. You'll have to address two issues you create when doing this. One is
> that the master database is out of synch with what should be the default
> instance name (assuming your using default instance names - it's a problem
> regardless). You'll need to run sp_drop_server and sp_add_server (@.local
=
> 'local') to get the right server listed as the local server (see Books
> Online). You'll also need to update the [originating_server] fiels in
the
> sysjobs table in MSDB. Update the field to match the local instance name
you
> used with the sp_add_server.
########################################
#######
Since my test box and SQL Server 2000 will be name the same as there
production counter parts, I should be able to skip step 6 right? If not,
please explain.

> 7. Once your databases (at the very least, the system databases) have com
e
> online, then I'd backup up everything and complete the upgrade to SP3, and
> backup everything again.
########################################
#######
Another idea of mine was to install SP3 on my old NT4.0 SQL Server 2000,
backup it and then move it. This way I might be able to over come the
service patch issue? What do you think of the idea? Are there any known
issues installing SQL Server 2000 SP3 running on a NT4.0 SP6 box.
Once again, thank you very much for your assistant. I know I am asking a
lot more questions and so I appreciate your time, knowledge and
professionalism.
Thank you very much.
Wanna be DBA software engineer
Scott Yu|||Hello, thank you very much for taking your time to respond to my post.
Currently I do have a test domain which is isolated from our production
domain. The 2003 servers running SQL Server 2000 will be name the same as
their old NT 4.0 SQL Server 2000 counter parts. The new servers will also
mirror the drive letters and directory structure. Currently all system
databases and selected user databases on the production servers are being
backup on a daily basis by a maintanence job.
After reading your reply I came up with few questions.

> 2. When building the new box, only upgrade to SP2 until you've migrated
> your databases. Only AFTER my databases came online would I be continue t
o
> upgrade to SP3.
########################################
#
Microsoft states
(http://www.microsoft.com/sql/evalua...000/default.asp)
"Windows Server 2003 requires SQL Server 2000 Service Pack 3 or later to be
appliced". Being the case, is it still possible to do what you mentioned in
step 2? I was thinking updating NT4.0 with SP3 first to resolve this issue.
Do you know of any issues NT4.0 might have with SQL Server 2000 SP3?

> 3. Once you've got the new server at SQL2K, SP2, and the physical paths t
o
> your system files match exactly on both servers, you can take both sql
> servers offline, do a flatfile copy of your old master .MDF and .LDF files
> from the old box over the files on your new box (after you've protected th
em
> by copying them to a safe, unrelated location, please - we're professionals).[/vbc
ol]
########################################
##
Instead of disattaching the .mdf and .ldf files, can I just restore it from
a current complete backup?
[vbcol=seagreen]
> 6. You'll have to address two issues you create when doing this. One is
> that the master database is out of synch with what should be the default
> instance name (assuming your using default instance names - it's a problem
> regardless). You'll need to run sp_drop_server and sp_add_server (@.local
=
> 'local') to get the right server listed as the local server (see Books
> Online). You'll also need to update the [originating_server] fiels in
the
> sysjobs table in MSDB. Update the field to match the local instance name
you
> used with the sp_add_server.
########################################
#
If I name my test machine the same name as my old production servers in the
test domain, can I skip step 6?
Once again, thank you very much for your time and knowledge.
Sincerely
Scott Yu|||More questions...
Should I restore the system databases in the new server in any particular
order?
Should I restore permissions before or after restoring user databases?
When I restore the system databases, will I detect all of the DTS packages,
Maintanence Jobs, Linked Servers, permissions, etc. or will I need to scrip
t
it out or recreate it?
Once I completed and tested the new servers. Do you have any advice on the
order I should start introducing the servers into the new domain.
As I mentioned I have five servers.
1. Production Server. Act as a Publisher/Distributor and Link Server with
Server 5
2. Development server
3. Gateway for user to adhoc and Subscriber to Server 1
4. Internet Development server
5. Remove server and Link Server with Server 1
Tons of questions right? Sorry, but your time and response are very
appreciated.
Thank you.

Scott Yu

Moving SQL Server 2000 to a new machine

Hello all,
Recently I was tasked to move our entire SQL Server 2000 to a new server. I
work as a programmer so I have limited knowledge working with SQL Server, but
not enough to handle the task I been given without direction and assistance.
This is where you people come in. THANKS IN ADVANCE!!!!
Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
server will be running 2003 and we'll need to install SQL Server 2000 service
pack 3. I was wondering if anyone experience the same task and if so, how
you went about moving the entire SQL Server 2000 to the new server? What
problems did you encounter and how you resolved it? Will it be possible to
copy over the system databases from the source SQL Server to the target SQL
Server under a new operating system and service pack and still work? Or will
I have to script out all the system level components and rebuild it on the
target SQL Server and then restore the user databases?
I have to make sure all of our DTS packages, management services, database
maintenance plans, replication and link servers are counted for and in
working order. God help me.
Any help or links would be greatly appreciated.
Thank you very much.
I would be looking for another job at the same time. You know... just in
case. Also review your contract with the employer ensure that you can't be
sued if things go wrong, and they probably will. Do testing on another
machine first. Ask around for a good employment lawyer and it may be a good
idea to bring a small tape recorder to work to record your conversations
with superiors. You never know what they may start telling you, if things go
wrong. You can sue them afterwards. Dont be a pussy. Fight for yourself.
That is just life. Good luck!
"Scott Yu" <Scott Yu@.discussions.microsoft.com> wrote in message
news:028B088B-D36C-40D4-9D47-0B297F0838E4@.microsoft.com...
> Hello all,
> Recently I was tasked to move our entire SQL Server 2000 to a new server.
I
> work as a programmer so I have limited knowledge working with SQL Server,
but
> not enough to handle the task I been given without direction and
assistance.
> This is where you people come in. THANKS IN ADVANCE!!!!
> Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
> server will be running 2003 and we'll need to install SQL Server 2000
service
> pack 3. I was wondering if anyone experience the same task and if so, how
> you went about moving the entire SQL Server 2000 to the new server? What
> problems did you encounter and how you resolved it? Will it be possible
to
> copy over the system databases from the source SQL Server to the target
SQL
> Server under a new operating system and service pack and still work? Or
will
> I have to script out all the system level components and rebuild it on the
> target SQL Server and then restore the user databases?
> I have to make sure all of our DTS packages, management services, database
> maintenance plans, replication and link servers are counted for and in
> working order. God help me.
> Any help or links would be greatly appreciated.
> Thank you very much.
>
|||I hope your office has carpet all over because it will be easier for you when
they will ask you to do some cleaning...
Anyways, take a test box (make sure they don't try to give you a PDA!),
restore your databases on the test box, export your sql logins from the
source database to the test. Also keep in mind the sql jobs and if you have
any custom sql error msgs, copy them over.
Sasan Saidi
"Jason Robertson" wrote:

> I would be looking for another job at the same time. You know... just in
> case. Also review your contract with the employer ensure that you can't be
> sued if things go wrong, and they probably will. Do testing on another
> machine first. Ask around for a good employment lawyer and it may be a good
> idea to bring a small tape recorder to work to record your conversations
> with superiors. You never know what they may start telling you, if things go
> wrong. You can sue them afterwards. Dont be a pussy. Fight for yourself.
> That is just life. Good luck!
> "Scott Yu" <Scott Yu@.discussions.microsoft.com> wrote in message
> news:028B088B-D36C-40D4-9D47-0B297F0838E4@.microsoft.com...
> I
> but
> assistance.
> service
> to
> SQL
> will
>
>
|||In addition to all the CYA advise, you CAN move the system databases. Take
these measure to heart:
1. Make sure the physical paths for your system databases is the same for
both servers. Whatever they are on the old box, mimic those paths exactly on
the new one when you're installing SQL Server.
2. When building the new box, only upgrade to SP2 until you've migrated
your databases. Only AFTER my databases came online would I be continue to
upgrade to SP3.
3. Once you've got the new server at SQL2K, SP2, and the physical paths to
your system files match exactly on both servers, you can take both sql
servers offline, do a flatfile copy of your old master .MDF and .LDF files
from the old box over the files on your new box (after you've protected them
by copying them to a safe, unrelated location, please - we're professionals).
4. Restart the service on the new box. (You may notice some suspect
databases pop up in Enterprise Manager. It's ok.)
5. Assuming everything comes up ok (see Jason's submission), you can mimic
these steps with the other databases, taking flatfile copies from one box to
the new server with all physical paths to the flatfiles matching.
6. You'll have to address two issues you create when doing this. One is
that the master database is out of synch with what should be the default
instance name (assuming your using default instance names - it's a problem
regardless). You'll need to run sp_drop_server and sp_add_server (@.local =
'local') to get the right server listed as the local server (see Books
Online). You'll also need to update the [originating_server] fiels in the
sysjobs table in MSDB. Update the field to match the local instance name you
used with the sp_add_server.
7. Once your databases (at the very least, the system databases) have come
online, then I'd backup up everything and complete the upgrade to SP3, and
backup everything again.
"Scott Yu" wrote:

> Hello all,
> Recently I was tasked to move our entire SQL Server 2000 to a new server. I
> work as a programmer so I have limited knowledge working with SQL Server, but
> not enough to handle the task I been given without direction and assistance.
> This is where you people come in. THANKS IN ADVANCE!!!!
> Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
> server will be running 2003 and we'll need to install SQL Server 2000 service
> pack 3. I was wondering if anyone experience the same task and if so, how
> you went about moving the entire SQL Server 2000 to the new server? What
> problems did you encounter and how you resolved it? Will it be possible to
> copy over the system databases from the source SQL Server to the target SQL
> Server under a new operating system and service pack and still work? Or will
> I have to script out all the system level components and rebuild it on the
> target SQL Server and then restore the user databases?
> I have to make sure all of our DTS packages, management services, database
> maintenance plans, replication and link servers are counted for and in
> working order. God help me.
> Any help or links would be greatly appreciated.
> Thank you very much.
>
|||First of all, I would like to thank you for your response. Here are my
responses to your instructions.
I already setup a new domain on our test network which I will be using for
this purpose. The test network will consist of 5 SQL Servers to mimic my
production SQL Servers. The new servers are partitioned to mirror the old
servers, and I will build the directory structure to mirror the old server as
well. The test network is totally isolated from our current production
network, so I'll be naming the new 2003 servers and SQL Server 2000 like
there old NT4.0 SQL Server 2000 counter part. Once tested and built, I was
going to rename the old servers, disable all it's jobs and services and then
introduce the new servers to the production domain. Does this sound okay so
far?

> 2. When building the new box, only upgrade to SP2 until you've migrated
> your databases. Only AFTER my databases came online would I be continue to
> upgrade to SP3.
#######################################
Microsoft
states(http://www.microsoft.com/sql/evaluat...00/default.asp)
"Windows Server 2003 requires SQL Server 2000 Service Pack 3 or later to be
applied". Hmmm~ so I'm not sure if I can install SP2 for SQL Server 2000 on
my Windows 2003 test box. If I can, please explain.

> 3. Once you've got the new server at SQL2K, SP2, and the physical paths to
> your system files match exactly on both servers, you can take both sql
> servers offline, do a flatfile copy of your old master .MDF and .LDF files
> from the old box over the files on your new box (after you've protected them
> by copying them to a safe, unrelated location, please - we're professionals).
#######################################
I have a maintanence job that backup all the system databases and selected
user databases with log files on a daily basis. Instead of detaching the
..MDF and .LDF, I was going to restore it from a current backup. Will this
work as well?

> 6. You'll have to address two issues you create when doing this. One is
> that the master database is out of synch with what should be the default
> instance name (assuming your using default instance names - it's a problem
> regardless). You'll need to run sp_drop_server and sp_add_server (@.local =
> 'local') to get the right server listed as the local server (see Books
> Online). You'll also need to update the [originating_server] fiels in the
> sysjobs table in MSDB. Update the field to match the local instance name you
> used with the sp_add_server.
###############################################
Since my test box and SQL Server 2000 will be name the same as there
production counter parts, I should be able to skip step 6 right? If not,
please explain.

> 7. Once your databases (at the very least, the system databases) have come
> online, then I'd backup up everything and complete the upgrade to SP3, and
> backup everything again.
###############################################
Another idea of mine was to install SP3 on my old NT4.0 SQL Server 2000,
backup it and then move it. This way I might be able to over come the
service patch issue? What do you think of the idea? Are there any known
issues installing SQL Server 2000 SP3 running on a NT4.0 SP6 box.
Once again, thank you very much for your assistant. I know I am asking a
lot more questions and so I appreciate your time, knowledge and
professionalism.
Thank you very much.
Wanna be DBA software engineer
Scott Yu
|||Hello, thank you very much for taking your time to respond to my post.
Currently I do have a test domain which is isolated from our production
domain. The 2003 servers running SQL Server 2000 will be name the same as
their old NT 4.0 SQL Server 2000 counter parts. The new servers will also
mirror the drive letters and directory structure. Currently all system
databases and selected user databases on the production servers are being
backup on a daily basis by a maintanence job.
After reading your reply I came up with few questions.

> 2. When building the new box, only upgrade to SP2 until you've migrated
> your databases. Only AFTER my databases came online would I be continue to
> upgrade to SP3.
#########################################
Microsoft states
(http://www.microsoft.com/sql/evaluat...00/default.asp)
"Windows Server 2003 requires SQL Server 2000 Service Pack 3 or later to be
appliced". Being the case, is it still possible to do what you mentioned in
step 2? I was thinking updating NT4.0 with SP3 first to resolve this issue.
Do you know of any issues NT4.0 might have with SQL Server 2000 SP3?

> 3. Once you've got the new server at SQL2K, SP2, and the physical paths to
> your system files match exactly on both servers, you can take both sql
> servers offline, do a flatfile copy of your old master .MDF and .LDF files
> from the old box over the files on your new box (after you've protected them
> by copying them to a safe, unrelated location, please - we're professionals).
##########################################
Instead of disattaching the .mdf and .ldf files, can I just restore it from
a current complete backup?

> 6. You'll have to address two issues you create when doing this. One is
> that the master database is out of synch with what should be the default
> instance name (assuming your using default instance names - it's a problem
> regardless). You'll need to run sp_drop_server and sp_add_server (@.local =
> 'local') to get the right server listed as the local server (see Books
> Online). You'll also need to update the [originating_server] fiels in the
> sysjobs table in MSDB. Update the field to match the local instance name you
> used with the sp_add_server.
#########################################
If I name my test machine the same name as my old production servers in the
test domain, can I skip step 6?
Once again, thank you very much for your time and knowledge.
Sincerely
Scott Yu
|||More questions...
Should I restore the system databases in the new server in any particular
order?
Should I restore permissions before or after restoring user databases?
When I restore the system databases, will I detect all of the DTS packages,
Maintanence Jobs, Linked Servers, permissions, etc. or will I need to script
it out or recreate it?
Once I completed and tested the new servers. Do you have any advice on the
order I should start introducing the servers into the new domain.
As I mentioned I have five servers.
1. Production Server. Act as a Publisher/Distributor and Link Server with
Server 5
2. Development server
3. Gateway for user to adhoc and Subscriber to Server 1
4. Internet Development server
5. Remove server and Link Server with Server 1
Tons of questions right? Sorry, but your time and response are very
appreciated.
Thank you.

Scott Yu

Moving SQL Server 2000 to a new machine

Hello all,
Recently I was tasked to move our entire SQL Server 2000 to a new server. I
work as a programmer so I have limited knowledge working with SQL Server, but
not enough to handle the task I been given without direction and assistance.
This is where you people come in. THANKS IN ADVANCE!!!!
Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
server will be running 2003 and we'll need to install SQL Server 2000 service
pack 3. I was wondering if anyone experience the same task and if so, how
you went about moving the entire SQL Server 2000 to the new server? What
problems did you encounter and how you resolved it? Will it be possible to
copy over the system databases from the source SQL Server to the target SQL
Server under a new operating system and service pack and still work? Or will
I have to script out all the system level components and rebuild it on the
target SQL Server and then restore the user databases?
I have to make sure all of our DTS packages, management services, database
maintenance plans, replication and link servers are counted for and in
working order. God help me.
Any help or links would be greatly appreciated.
Thank you very much.I would be looking for another job at the same time. You know... just in
case. Also review your contract with the employer ensure that you can't be
sued if things go wrong, and they probably will. Do testing on another
machine first. Ask around for a good employment lawyer and it may be a good
idea to bring a small tape recorder to work to record your conversations
with superiors. You never know what they may start telling you, if things go
wrong. You can sue them afterwards. Dont be a pussy. Fight for yourself.
That is just life. Good luck!
"Scott Yu" <Scott Yu@.discussions.microsoft.com> wrote in message
news:028B088B-D36C-40D4-9D47-0B297F0838E4@.microsoft.com...
> Hello all,
> Recently I was tasked to move our entire SQL Server 2000 to a new server.
I
> work as a programmer so I have limited knowledge working with SQL Server,
but
> not enough to handle the task I been given without direction and
assistance.
> This is where you people come in. THANKS IN ADVANCE!!!!
> Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
> server will be running 2003 and we'll need to install SQL Server 2000
service
> pack 3. I was wondering if anyone experience the same task and if so, how
> you went about moving the entire SQL Server 2000 to the new server? What
> problems did you encounter and how you resolved it? Will it be possible
to
> copy over the system databases from the source SQL Server to the target
SQL
> Server under a new operating system and service pack and still work? Or
will
> I have to script out all the system level components and rebuild it on the
> target SQL Server and then restore the user databases?
> I have to make sure all of our DTS packages, management services, database
> maintenance plans, replication and link servers are counted for and in
> working order. God help me.
> Any help or links would be greatly appreciated.
> Thank you very much.
>|||I hope your office has carpet all over because it will be easier for you when
they will ask you to do some cleaning...
Anyways, take a test box (make sure they don't try to give you a PDA!),
restore your databases on the test box, export your sql logins from the
source database to the test. Also keep in mind the sql jobs and if you have
any custom sql error msgs, copy them over.
Sasan Saidi
"Jason Robertson" wrote:
> I would be looking for another job at the same time. You know... just in
> case. Also review your contract with the employer ensure that you can't be
> sued if things go wrong, and they probably will. Do testing on another
> machine first. Ask around for a good employment lawyer and it may be a good
> idea to bring a small tape recorder to work to record your conversations
> with superiors. You never know what they may start telling you, if things go
> wrong. You can sue them afterwards. Dont be a pussy. Fight for yourself.
> That is just life. Good luck!
> "Scott Yu" <Scott Yu@.discussions.microsoft.com> wrote in message
> news:028B088B-D36C-40D4-9D47-0B297F0838E4@.microsoft.com...
> > Hello all,
> >
> > Recently I was tasked to move our entire SQL Server 2000 to a new server.
> I
> > work as a programmer so I have limited knowledge working with SQL Server,
> but
> > not enough to handle the task I been given without direction and
> assistance.
> > This is where you people come in. THANKS IN ADVANCE!!!!
> >
> > Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
> > server will be running 2003 and we'll need to install SQL Server 2000
> service
> > pack 3. I was wondering if anyone experience the same task and if so, how
> > you went about moving the entire SQL Server 2000 to the new server? What
> > problems did you encounter and how you resolved it? Will it be possible
> to
> > copy over the system databases from the source SQL Server to the target
> SQL
> > Server under a new operating system and service pack and still work? Or
> will
> > I have to script out all the system level components and rebuild it on the
> > target SQL Server and then restore the user databases?
> >
> > I have to make sure all of our DTS packages, management services, database
> > maintenance plans, replication and link servers are counted for and in
> > working order. God help me.
> >
> > Any help or links would be greatly appreciated.
> >
> > Thank you very much.
> >
>
>|||In addition to all the CYA advise, you CAN move the system databases. Take
these measure to heart:
1. Make sure the physical paths for your system databases is the same for
both servers. Whatever they are on the old box, mimic those paths exactly on
the new one when you're installing SQL Server.
2. When building the new box, only upgrade to SP2 until you've migrated
your databases. Only AFTER my databases came online would I be continue to
upgrade to SP3.
3. Once you've got the new server at SQL2K, SP2, and the physical paths to
your system files match exactly on both servers, you can take both sql
servers offline, do a flatfile copy of your old master .MDF and .LDF files
from the old box over the files on your new box (after you've protected them
by copying them to a safe, unrelated location, please - we're professionals).
4. Restart the service on the new box. (You may notice some suspect
databases pop up in Enterprise Manager. It's ok.)
5. Assuming everything comes up ok (see Jason's submission), you can mimic
these steps with the other databases, taking flatfile copies from one box to
the new server with all physical paths to the flatfiles matching.
6. You'll have to address two issues you create when doing this. One is
that the master database is out of synch with what should be the default
instance name (assuming your using default instance names - it's a problem
regardless). You'll need to run sp_drop_server and sp_add_server (@.local ='local') to get the right server listed as the local server (see Books
Online). You'll also need to update the [originating_server] fiels in the
sysjobs table in MSDB. Update the field to match the local instance name you
used with the sp_add_server.
7. Once your databases (at the very least, the system databases) have come
online, then I'd backup up everything and complete the upgrade to SP3, and
backup everything again.
"Scott Yu" wrote:
> Hello all,
> Recently I was tasked to move our entire SQL Server 2000 to a new server. I
> work as a programmer so I have limited knowledge working with SQL Server, but
> not enough to handle the task I been given without direction and assistance.
> This is where you people come in. THANKS IN ADVANCE!!!!
> Currently our SQL Server 2000 SP2 is running on a NT 4.0 box. The target
> server will be running 2003 and we'll need to install SQL Server 2000 service
> pack 3. I was wondering if anyone experience the same task and if so, how
> you went about moving the entire SQL Server 2000 to the new server? What
> problems did you encounter and how you resolved it? Will it be possible to
> copy over the system databases from the source SQL Server to the target SQL
> Server under a new operating system and service pack and still work? Or will
> I have to script out all the system level components and rebuild it on the
> target SQL Server and then restore the user databases?
> I have to make sure all of our DTS packages, management services, database
> maintenance plans, replication and link servers are counted for and in
> working order. God help me.
> Any help or links would be greatly appreciated.
> Thank you very much.
>|||First of all, I would like to thank you for your response. Here are my
responses to your instructions.
I already setup a new domain on our test network which I will be using for
this purpose. The test network will consist of 5 SQL Servers to mimic my
production SQL Servers. The new servers are partitioned to mirror the old
servers, and I will build the directory structure to mirror the old server as
well. The test network is totally isolated from our current production
network, so I'll be naming the new 2003 servers and SQL Server 2000 like
there old NT4.0 SQL Server 2000 counter part. Once tested and built, I was
going to rename the old servers, disable all it's jobs and services and then
introduce the new servers to the production domain. Does this sound okay so
far?
> 2. When building the new box, only upgrade to SP2 until you've migrated
> your databases. Only AFTER my databases came online would I be continue to
> upgrade to SP3.
#######################################
Microsoft
states(http://www.microsoft.com/sql/evaluation/sysreqs/2000/default.asp)
"Windows Server 2003 requires SQL Server 2000 Service Pack 3 or later to be
applied". Hmmm~ so I'm not sure if I can install SP2 for SQL Server 2000 on
my Windows 2003 test box. If I can, please explain.
> 3. Once you've got the new server at SQL2K, SP2, and the physical paths to
> your system files match exactly on both servers, you can take both sql
> servers offline, do a flatfile copy of your old master .MDF and .LDF files
> from the old box over the files on your new box (after you've protected them
> by copying them to a safe, unrelated location, please - we're professionals).
#######################################
I have a maintanence job that backup all the system databases and selected
user databases with log files on a daily basis. Instead of detaching the
.MDF and .LDF, I was going to restore it from a current backup. Will this
work as well?
> 6. You'll have to address two issues you create when doing this. One is
> that the master database is out of synch with what should be the default
> instance name (assuming your using default instance names - it's a problem
> regardless). You'll need to run sp_drop_server and sp_add_server (@.local => 'local') to get the right server listed as the local server (see Books
> Online). You'll also need to update the [originating_server] fiels in the
> sysjobs table in MSDB. Update the field to match the local instance name you
> used with the sp_add_server.
###############################################
Since my test box and SQL Server 2000 will be name the same as there
production counter parts, I should be able to skip step 6 right? If not,
please explain.
> 7. Once your databases (at the very least, the system databases) have come
> online, then I'd backup up everything and complete the upgrade to SP3, and
> backup everything again.
###############################################
Another idea of mine was to install SP3 on my old NT4.0 SQL Server 2000,
backup it and then move it. This way I might be able to over come the
service patch issue? What do you think of the idea? Are there any known
issues installing SQL Server 2000 SP3 running on a NT4.0 SP6 box.
Once again, thank you very much for your assistant. I know I am asking a
lot more questions and so I appreciate your time, knowledge and
professionalism.
Thank you very much.
Wanna be DBA software engineer
Scott Yu|||Hello, thank you very much for taking your time to respond to my post.
Currently I do have a test domain which is isolated from our production
domain. The 2003 servers running SQL Server 2000 will be name the same as
their old NT 4.0 SQL Server 2000 counter parts. The new servers will also
mirror the drive letters and directory structure. Currently all system
databases and selected user databases on the production servers are being
backup on a daily basis by a maintanence job.
After reading your reply I came up with few questions.
> 2. When building the new box, only upgrade to SP2 until you've migrated
> your databases. Only AFTER my databases came online would I be continue to
> upgrade to SP3.
#########################################
Microsoft states
(http://www.microsoft.com/sql/evaluation/sysreqs/2000/default.asp)
"Windows Server 2003 requires SQL Server 2000 Service Pack 3 or later to be
appliced". Being the case, is it still possible to do what you mentioned in
step 2? I was thinking updating NT4.0 with SP3 first to resolve this issue.
Do you know of any issues NT4.0 might have with SQL Server 2000 SP3?
> 3. Once you've got the new server at SQL2K, SP2, and the physical paths to
> your system files match exactly on both servers, you can take both sql
> servers offline, do a flatfile copy of your old master .MDF and .LDF files
> from the old box over the files on your new box (after you've protected them
> by copying them to a safe, unrelated location, please - we're professionals).
##########################################
Instead of disattaching the .mdf and .ldf files, can I just restore it from
a current complete backup?
> 6. You'll have to address two issues you create when doing this. One is
> that the master database is out of synch with what should be the default
> instance name (assuming your using default instance names - it's a problem
> regardless). You'll need to run sp_drop_server and sp_add_server (@.local => 'local') to get the right server listed as the local server (see Books
> Online). You'll also need to update the [originating_server] fiels in the
> sysjobs table in MSDB. Update the field to match the local instance name you
> used with the sp_add_server.
#########################################
If I name my test machine the same name as my old production servers in the
test domain, can I skip step 6?
Once again, thank you very much for your time and knowledge.
Sincerely
Scott Yu|||More questions...
Should I restore the system databases in the new server in any particular
order?
Should I restore permissions before or after restoring user databases?
When I restore the system databases, will I detect all of the DTS packages,
Maintanence Jobs, Linked Servers, permissions, etc. or will I need to script
it out or recreate it?
Once I completed and tested the new servers. Do you have any advice on the
order I should start introducing the servers into the new domain.
As I mentioned I have five servers.
1. Production Server. Act as a Publisher/Distributor and Link Server with
Server 5
2. Development server
3. Gateway for user to adhoc and Subscriber to Server 1
4. Internet Development server
5. Remove server and Link Server with Server 1
Tons of questions right? Sorry, but your time and response are very
appreciated.
Thank you.
:)
Scott Yu

Moving SQL Express data to SQL Server 2005 Dev?

Hi gang,
Sorry for the bloody obviousness of this quetion, but I'm a unix/mysql
guy who's been tasked with moving an web app developed with SQL
Express (specifically RedDot CMS) to SQL Server 2005 Developer, and,
having literally NO working experience with the Microsoft products, am
wondering how one would migrate data from SQL Express to SQL Server
proper...
Any help or advice in this matter is most appreciated, I've trolled
this group but found no concrete info. Reading the documentation is
says it can be done at time of install, but, given my apprehension of
MS products reliability, is this a safe way to move a mission critical
DB?
Thanks a million,
Cheers
- Randall"MSSQL-n00b" <spliffhuxtable@.gmail.com> wrote in message
news:1174576289.977944.137500@.b75g2000hsg.googlegroups.com...
> Hi gang,
> Sorry for the bloody obviousness of this quetion, but I'm a unix/mysql
> guy who's been tasked with moving an web app developed with SQL
> Express (specifically RedDot CMS) to SQL Server 2005 Developer, and,
> having literally NO working experience with the Microsoft products, am
> wondering how one would migrate data from SQL Express to SQL Server
> proper...
> Any help or advice in this matter is most appreciated, I've trolled
> this group but found no concrete info. Reading the documentation is
> says it can be done at time of install, but, given my apprehension of
> MS products reliability, is this a safe way to move a mission critical
> DB?
> Thanks a million,
>
SQL Server Express uses the same engine and has the same file format as the
other editions of SQL Server. So you can take a backup of the database from
Express and restore it on another edition, you can detach the database and
attach it on another edition, or you can upgrade the Express edition to a
higher edition.
David

Moving SQL Express data to SQL Server 2005 Dev?

Hi gang,
Sorry for the bloody obviousness of this quetion, but I'm a unix/mysql
guy who's been tasked with moving an web app developed with SQL
Express (specifically RedDot CMS) to SQL Server 2005 Developer, and,
having literally NO working experience with the Microsoft products, am
wondering how one would migrate data from SQL Express to SQL Server
proper...
Any help or advice in this matter is most appreciated, I've trolled
this group but found no concrete info. Reading the documentation is
says it can be done at time of install, but, given my apprehension of
MS products reliability, is this a safe way to move a mission critical
DB?
Thanks a million,
Cheers
- Randall
"MSSQL-n00b" <spliffhuxtable@.gmail.com> wrote in message
news:1174576289.977944.137500@.b75g2000hsg.googlegr oups.com...
> Hi gang,
> Sorry for the bloody obviousness of this quetion, but I'm a unix/mysql
> guy who's been tasked with moving an web app developed with SQL
> Express (specifically RedDot CMS) to SQL Server 2005 Developer, and,
> having literally NO working experience with the Microsoft products, am
> wondering how one would migrate data from SQL Express to SQL Server
> proper...
> Any help or advice in this matter is most appreciated, I've trolled
> this group but found no concrete info. Reading the documentation is
> says it can be done at time of install, but, given my apprehension of
> MS products reliability, is this a safe way to move a mission critical
> DB?
> Thanks a million,
>
SQL Server Express uses the same engine and has the same file format as the
other editions of SQL Server. So you can take a backup of the database from
Express and restore it on another edition, you can detach the database and
attach it on another edition, or you can upgrade the Express edition to a
higher edition.
David

Moving SQL Express data to SQL Server 2005 Dev?

Hi gang,
Sorry for the bloody obviousness of this quetion, but I'm a unix/mysql
guy who's been tasked with moving an web app developed with SQL
Express (specifically RedDot CMS) to SQL Server 2005 Developer, and,
having literally NO working experience with the Microsoft products, am
wondering how one would migrate data from SQL Express to SQL Server
proper...
Any help or advice in this matter is most appreciated, I've trolled
this group but found no concrete info. Reading the documentation is
says it can be done at time of install, but, given my apprehension of
MS products reliability, is this a safe way to move a mission critical
DB?
Thanks a million,
Cheers
- Randall"MSSQL-n00b" <spliffhuxtable@.gmail.com> wrote in message
news:1174576289.977944.137500@.b75g2000hsg.googlegroups.com...
> Hi gang,
> Sorry for the bloody obviousness of this quetion, but I'm a unix/mysql
> guy who's been tasked with moving an web app developed with SQL
> Express (specifically RedDot CMS) to SQL Server 2005 Developer, and,
> having literally NO working experience with the Microsoft products, am
> wondering how one would migrate data from SQL Express to SQL Server
> proper...
> Any help or advice in this matter is most appreciated, I've trolled
> this group but found no concrete info. Reading the documentation is
> says it can be done at time of install, but, given my apprehension of
> MS products reliability, is this a safe way to move a mission critical
> DB?
> Thanks a million,
>
SQL Server Express uses the same engine and has the same file format as the
other editions of SQL Server. So you can take a backup of the database from
Express and restore it on another edition, you can detach the database and
attach it on another edition, or you can upgrade the Express edition to a
higher edition.
David

Friday, March 9, 2012

Moving sql 2000 DTS packages to sql 2005 standard edition

I have been tasked with upgrading around 150 SQL Server 2000 DTS packages to SSIS in SQL Server 2005 standard edition. I made a backup of the 2000 database upon which the DTS packages operate and restored it to the SQL 2005 server. So far, so good. I have the database in place. Now I need to get the DTS packages themselves into the SLQ 2005 server. I think I need to check my install and make sure that I have the SQL Server 2000 DTS services installed on the SQL 2005 server. I can do that.

However, I wonder what would be the most effective way to physically get the packages from the SQL 2000 server to the SQL 2005 server. Should I use structured storage files? If so, how do I go about opening them in SQL 2005 in order to save them to SQL server 2005?

I should mention that these packages make heavy use of ActiveX scripting so I am looking at rewriting them from scratch to be SSIS packages. I just need the packages on the SQL Server 2005 box so I can make sure I am creating exactly the same functionality in 2005 as existed in SQL server 2000. Each DTS 2000 individual package tends to be fairly simple and I think I can greatly improve the process by consolidating them.

Thanks in advance for any advice.

S. Wells

You'll need the DTS2000 editor by teh sounds of it. Downloadable from here: http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en

-Jamie

|||

Thanks Jamie,

It does appear that this will give me what I need. I had read another, earlier, post on the forum that indicated the legacy components did not have to be separately installed now that 2005 is in production release if one had chosen to install integration services. I did not realize that the designer was not installed as part of the legacy DTS components install. I looked all over the BI interface and could not see where I could open a DTS package and then save it to SQL 2005.

Again, thanks.

S. Wells

|||

Just a quick note to say that there is a new version (an update to the previous link):

Instead of:

Feature Pack for Microsoft SQL Server 2005 - November 2005
http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en

Download from:

Feature Pack for Microsoft SQL Server 2005 - April 2006
http://www.microsoft.com/downloads/details.aspx?FamilyID=df0ba5aa-b4bd-4705-aa0a-b477ba72a9cb&DisplayLang=en

6th item down:

Microsoft SQL Server 2000 DTS Designer Components

The Microsoft SQL Server 2000 Data Transformation Services (DTS) package designer is a design tool used by developers and administrators of SQL Server 2005 servers to edit and maintain existing DTS packages until they can be upgraded or recreated in the SQL Server 2005 Integration Services package format. After installing this download, SQL Server 2005 users can continue to edit and maintain existing DTS packages from the Object Explorer in SQL Server 2005 Management Studio and from the Execute DTS 2000 Package Task Editor in Business Intelligence Development Studio, without needing to reinstall the SQL Server 2000 tools. The DTS package designer in this download was formerly accessed from the Data Transformation Services node in SQL Server 2000 Enterprise Manager.
Audience(s): Customer, Developer
X86 Package (SQLServer2005_DTS.msi) - 5088 KB

Also look at

SQL Server 2005 Books Online

SQL Server 2005 Integration Services Backward Compatibility
Updated: 17 July 2006
http://msdn2.microsoft.com/en-us/library/ms143706.aspx

General Compatibility between DTS and SSIS
Because Integration Services is an entirely new product, and not a version upgrade, you will not encounter software conflicts between DTS and SSIS.

You can install both DTS and SSIS on the same server.
You can run both DTS and SSIS packages on the same server when both products are installed. You can run DTS packages, even when the SQL Server 2000 tools are not present, by using an updated version of the DTS runtime that is installed with Integration Services.
You can save DTS packages in the MSDB database of a SQL Server 2000 or SQL Server 2005 instance. You can save SSIS packages only on a SQL Server 2005 instance.
You can edit DTS packages, even when the SQL Server 2000 tools are not present, by using an updated version of the DTS Designer that is available for download. You cannot edit DTS packages in Business Intelligence Development Studio. You can edit SSIS packages only in BI Development Studio.