Showing posts with label decided. Show all posts
Showing posts with label decided. Show all posts

Monday, March 26, 2012

Migrating Access to SQL Server

We use MS Access 2000 as our database, but run into lots of proplems. So we decided to research the migration to SQL Server.

I used Access Upsizing utitlity to migrate tables and their data to SQL server very easily, and all the relationships, indecies and other information are converted correctly.

Next is to migrate the queries. I found that to be a pain. Is there any tool out there that can do it for me? Any help is greatly appreciated.

Once that's done, then it's the application itself, but I am not worrying that for now.

Thanks, guysI don't have a tool to recommend.

Have you checked out the part of Microsoft's SQL Server 2000 Resource Kit that deal with migration?Chapter 5 - Migrating Access 2000 Databases to SQL Server 2000. There is a section called "Migrating Access Queries" you might find helpful.

Terri

Monday, March 19, 2012

Migrate from Sql Server 2005 to Sql Server 2000

We are moving from 2000 to 2005 .And I have to come up with an escape
route if after a week or two it is decided performance/other issues
are worse.
..SSIS transfer sql server objects does not cut it for some unknown
reason with one error after the other...
Thanks for your time
massa
Just detach the database from the SQL 2000 server and then attach it to the
SQL 2005 server.
Do NOT change the database compatibility level until you are certain that
you will not move it back to the SQL 2000 server.
After attaching, update statistics and re-index.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Massa Batheli" <mngong@.gmail.com> wrote in message
news:1158271663.636547.75900@.b28g2000cwb.googlegro ups.com...
>
> We are moving from 2000 to 2005 .And I have to come up with an escape
> route if after a week or two it is decided performance/other issues
> are worse.
> .SSIS transfer sql server objects does not cut it for some unknown
> reason with one error after the other...
>
> Thanks for your time
> massa
>
|||The database will be upgraded to the SQL 2005 on-disk format when attached
to the SQL 2005 instance. Consequently, it can't be attached back to the
SQL 2000 regardless of the database compatibility level.
Hope this helps.
Dan Guzman
SQL Server MVP
"Arnie Rowland" <arnie@.1568.com> wrote in message
news:O$edDtE2GHA.3372@.TK2MSFTNGP04.phx.gbl...
> Just detach the database from the SQL 2000 server and then attach it to
> the SQL 2005 server.
> Do NOT change the database compatibility level until you are certain that
> you will not move it back to the SQL 2000 server.
> After attaching, update statistics and re-index.
> --
> Arnie Rowland, Ph.D.
> Westwood Consulting, Inc
> Most good judgment comes from experience.
> Most experience comes from bad judgment.
> - Anonymous
>
> "Massa Batheli" <mngong@.gmail.com> wrote in message
> news:1158271663.636547.75900@.b28g2000cwb.googlegro ups.com...
>
|||> .SSIS transfer sql server objects does not cut it for some unknown
> reason with one error after the other...
That's the way to go back to SQL 2000. There should be a way to get more
details about the errors. Are you logging errors in your package?
Hope this helps.
Dan Guzman
SQL Server MVP
"Massa Batheli" <mngong@.gmail.com> wrote in message
news:1158271663.636547.75900@.b28g2000cwb.googlegro ups.com...
>
> We are moving from 2000 to 2005 .And I have to come up with an escape
> route if after a week or two it is decided performance/other issues
> are worse.
> .SSIS transfer sql server objects does not cut it for some unknown
> reason with one error after the other...
>
> Thanks for your time
> massa
>

Migrate from Sql Server 2005 to Sql Server 2000

We are moving from 2000 to 2005 .And I have to come up with an escape
route if after a week or two it is decided performance/other issues
are worse.
.SSIS transfer sql server objects does not cut it for some unknown
reason with one error after the other...
Thanks for your time
massaJust detach the database from the SQL 2000 server and then attach it to the
SQL 2005 server.
Do NOT change the database compatibility level until you are certain that
you will not move it back to the SQL 2000 server.
After attaching, update statistics and re-index.
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Massa Batheli" <mngong@.gmail.com> wrote in message
news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
>
> We are moving from 2000 to 2005 .And I have to come up with an escape
> route if after a week or two it is decided performance/other issues
> are worse.
> .SSIS transfer sql server objects does not cut it for some unknown
> reason with one error after the other...
>
> Thanks for your time
> massa
>|||The database will be upgraded to the SQL 2005 on-disk format when attached
to the SQL 2005 instance. Consequently, it can't be attached back to the
SQL 2000 regardless of the database compatibility level.
Hope this helps.
Dan Guzman
SQL Server MVP
"Arnie Rowland" <arnie@.1568.com> wrote in message
news:O$edDtE2GHA.3372@.TK2MSFTNGP04.phx.gbl...
> Just detach the database from the SQL 2000 server and then attach it to
> the SQL 2005 server.
> Do NOT change the database compatibility level until you are certain that
> you will not move it back to the SQL 2000 server.
> After attaching, update statistics and re-index.
> --
> Arnie Rowland, Ph.D.
> Westwood Consulting, Inc
> Most good judgment comes from experience.
> Most experience comes from bad judgment.
> - Anonymous
>
> "Massa Batheli" <mngong@.gmail.com> wrote in message
> news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
>>
>> We are moving from 2000 to 2005 .And I have to come up with an escape
>> route if after a week or two it is decided performance/other issues
>> are worse.
>> .SSIS transfer sql server objects does not cut it for some unknown
>> reason with one error after the other...
>>
>> Thanks for your time
>> massa
>|||> .SSIS transfer sql server objects does not cut it for some unknown
> reason with one error after the other...
That's the way to go back to SQL 2000. There should be a way to get more
details about the errors. Are you logging errors in your package?
--
Hope this helps.
Dan Guzman
SQL Server MVP
"Massa Batheli" <mngong@.gmail.com> wrote in message
news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
>
> We are moving from 2000 to 2005 .And I have to come up with an escape
> route if after a week or two it is decided performance/other issues
> are worse.
> .SSIS transfer sql server objects does not cut it for some unknown
> reason with one error after the other...
>
> Thanks for your time
> massa
>|||Dan Guzman wrote:
> > .SSIS transfer sql server objects does not cut it for some unknown
> > reason with one error after the other...
> That's the way to go back to SQL 2000. There should be a way to get more
> details about the errors. Are you logging errors in your package?
> --
> Hope this helps.
> Dan Guzman
> SQL Server MVP
> "Massa Batheli" <mngong@.gmail.com> wrote in message
> news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
> >
> >
> > We are moving from 2000 to 2005 .And I have to come up with an escape
> > route if after a week or two it is decided performance/other issues
> > are worse.
> > .SSIS transfer sql server objects does not cut it for some unknown
> > reason with one error after the other...
> >
> >
> > Thanks for your time
> > massa
> >
let me attach the error if do not mind
An OLE DB record is available. Source: "Microsoft SQL Native Client"
Hresult: 0x80040E37 Description: "Invalid object name
'dbo.qs_globals'.".
helpFile=dtsmsg.rll helpContext=0
idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}".
Task failed: Transfer SQL Server Objects Task
SSIS package "Package.dtsx" finished: Success.
It seems to have trouble recreating any tables not owned by dbo. when
that is deselected from the list it then has trouble copying any
table...
Thanks again for your time|||> It seems to have trouble recreating any tables not owned by dbo. when
> that is deselected from the list it then has trouble copying any
> table...
You might try creating SQL 2000 database users for non-dbo SQL 2005 schema
before the transfer. I'm not sure how the Transfer SQL Server Objects Task
handles schema-->owner translation when you copy from SQL 2005 to 2000.
--
Hope this helps.
Dan Guzman
SQL Server MVP
"Massa Batheli" <mngong@.gmail.com> wrote in message
news:1158320760.263256.231650@.h48g2000cwc.googlegroups.com...
> Dan Guzman wrote:
>> > .SSIS transfer sql server objects does not cut it for some unknown
>> > reason with one error after the other...
>> That's the way to go back to SQL 2000. There should be a way to get more
>> details about the errors. Are you logging errors in your package?
>> --
>> Hope this helps.
>> Dan Guzman
>> SQL Server MVP
>> "Massa Batheli" <mngong@.gmail.com> wrote in message
>> news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
>> >
>> >
>> > We are moving from 2000 to 2005 .And I have to come up with an escape
>> > route if after a week or two it is decided performance/other issues
>> > are worse.
>> > .SSIS transfer sql server objects does not cut it for some unknown
>> > reason with one error after the other...
>> >
>> >
>> > Thanks for your time
>> > massa
>> >
> let me attach the error if do not mind
> An OLE DB record is available. Source: "Microsoft SQL Native Client"
> Hresult: 0x80040E37 Description: "Invalid object name
> 'dbo.qs_globals'.".
> helpFile=dtsmsg.rll helpContext=0
> idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}".
> Task failed: Transfer SQL Server Objects Task
> SSIS package "Package.dtsx" finished: Success.
> It seems to have trouble recreating any tables not owned by dbo. when
> that is deselected from the list it then has trouble copying any
> table...
>
> Thanks again for your time
>|||Dan Guzman wrote:
> > It seems to have trouble recreating any tables not owned by dbo. when
> > that is deselected from the list it then has trouble copying any
> > table...
> You might try creating SQL 2000 database users for non-dbo SQL 2005 schema
> before the transfer. I'm not sure how the Transfer SQL Server Objects Task
> handles schema-->owner translation when you copy from SQL 2005 to 2000.
> --
> Hope this helps.
> Dan Guzman
> SQL Server MVP
> "Massa Batheli" <mngong@.gmail.com> wrote in message
> news:1158320760.263256.231650@.h48g2000cwc.googlegroups.com...
> >
> > Dan Guzman wrote:
> >> > .SSIS transfer sql server objects does not cut it for some unknown
> >> > reason with one error after the other...
> >>
> >> That's the way to go back to SQL 2000. There should be a way to get more
> >> details about the errors. Are you logging errors in your package?
> >>
> >> --
> >> Hope this helps.
> >>
> >> Dan Guzman
> >> SQL Server MVP
> >>
> >> "Massa Batheli" <mngong@.gmail.com> wrote in message
> >> news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
> >> >
> >> >
> >> > We are moving from 2000 to 2005 .And I have to come up with an escape
> >> > route if after a week or two it is decided performance/other issues
> >> > are worse.
> >> > .SSIS transfer sql server objects does not cut it for some unknown
> >> > reason with one error after the other...
> >> >
> >> >
> >> > Thanks for your time
> >> > massa
> >> >
> >
> > let me attach the error if do not mind
> >
> > An OLE DB record is available. Source: "Microsoft SQL Native Client"
> > Hresult: 0x80040E37 Description: "Invalid object name
> > 'dbo.qs_globals'.".
> > helpFile=dtsmsg.rll helpContext=0
> > idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}".
> > Task failed: Transfer SQL Server Objects Task
> > SSIS package "Package.dtsx" finished: Success.
> > It seems to have trouble recreating any tables not owned by dbo. when
> > that is deselected from the list it then has trouble copying any
> > table...
> >
> >
That was quicker than any reply I have ever had (Thanks)
I will continue to persue that path though we are migrating tomorrow .
Are you aware of any other feasible method...|||> Are you aware of any other feasible method...
Not really, but it should be reasonably easy to fall back by keeping the
original SQL 2000 database around. Script out the original database foreign
keys and truncate tables. If you make schema changes, apply the scripts to
both SQL 2000 and SQL 2005 database to keep them in sync. To revert back,
copy data back and recreate foreign keys via script.
--
Hope this helps.
Dan Guzman
SQL Server MVP
"Massa Batheli" <mngong@.gmail.com> wrote in message
news:1158324606.863195.166810@.m73g2000cwd.googlegroups.com...
> Dan Guzman wrote:
>> > It seems to have trouble recreating any tables not owned by dbo. when
>> > that is deselected from the list it then has trouble copying any
>> > table...
>> You might try creating SQL 2000 database users for non-dbo SQL 2005
>> schema
>> before the transfer. I'm not sure how the Transfer SQL Server Objects
>> Task
>> handles schema-->owner translation when you copy from SQL 2005 to 2000.
>> --
>> Hope this helps.
>> Dan Guzman
>> SQL Server MVP
>> "Massa Batheli" <mngong@.gmail.com> wrote in message
>> news:1158320760.263256.231650@.h48g2000cwc.googlegroups.com...
>> >
>> > Dan Guzman wrote:
>> >> > .SSIS transfer sql server objects does not cut it for some
>> >> > unknown
>> >> > reason with one error after the other...
>> >>
>> >> That's the way to go back to SQL 2000. There should be a way to get
>> >> more
>> >> details about the errors. Are you logging errors in your package?
>> >>
>> >> --
>> >> Hope this helps.
>> >>
>> >> Dan Guzman
>> >> SQL Server MVP
>> >>
>> >> "Massa Batheli" <mngong@.gmail.com> wrote in message
>> >> news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
>> >> >
>> >> >
>> >> > We are moving from 2000 to 2005 .And I have to come up with an
>> >> > escape
>> >> > route if after a week or two it is decided performance/other issues
>> >> > are worse.
>> >> > .SSIS transfer sql server objects does not cut it for some
>> >> > unknown
>> >> > reason with one error after the other...
>> >> >
>> >> >
>> >> > Thanks for your time
>> >> > massa
>> >> >
>> >
>> > let me attach the error if do not mind
>> >
>> > An OLE DB record is available. Source: "Microsoft SQL Native Client"
>> > Hresult: 0x80040E37 Description: "Invalid object name
>> > 'dbo.qs_globals'.".
>> > helpFile=dtsmsg.rll helpContext=0
>> > idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}".
>> > Task failed: Transfer SQL Server Objects Task
>> > SSIS package "Package.dtsx" finished: Success.
>> > It seems to have trouble recreating any tables not owned by dbo. when
>> > that is deselected from the list it then has trouble copying any
>> > table...
>> >
>> >
> That was quicker than any reply I have ever had (Thanks)
> I will continue to persue that path though we are migrating tomorrow .
> Are you aware of any other feasible method...
>

Migrate from Sql Server 2005 to Sql Server 2000

We are moving from 2000 to 2005 .And I have to come up with an escape
route if after a week or two it is decided performance/other issues
are worse.
.SSIS transfer sql server objects does not cut it for some unknown
reason with one error after the other...
Thanks for your time
massaJust detach the database from the SQL 2000 server and then attach it to the
SQL 2005 server.
Do NOT change the database compatibility level until you are certain that
you will not move it back to the SQL 2000 server.
After attaching, update statistics and re-index.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Massa Batheli" <mngong@.gmail.com> wrote in message
news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
>
> We are moving from 2000 to 2005 .And I have to come up with an escape
> route if after a week or two it is decided performance/other issues
> are worse.
> .SSIS transfer sql server objects does not cut it for some unknown
> reason with one error after the other...
>
> Thanks for your time
> massa
>|||The database will be upgraded to the SQL 2005 on-disk format when attached
to the SQL 2005 instance. Consequently, it can't be attached back to the
SQL 2000 regardless of the database compatibility level.
Hope this helps.
Dan Guzman
SQL Server MVP
"Arnie Rowland" <arnie@.1568.com> wrote in message
news:O$edDtE2GHA.3372@.TK2MSFTNGP04.phx.gbl...
> Just detach the database from the SQL 2000 server and then attach it to
> the SQL 2005 server.
> Do NOT change the database compatibility level until you are certain that
> you will not move it back to the SQL 2000 server.
> After attaching, update statistics and re-index.
> --
> Arnie Rowland, Ph.D.
> Westwood Consulting, Inc
> Most good judgment comes from experience.
> Most experience comes from bad judgment.
> - Anonymous
>
> "Massa Batheli" <mngong@.gmail.com> wrote in message
> news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
>|||> .SSIS transfer sql server objects does not cut it for some unknown
> reason with one error after the other...
That's the way to go back to SQL 2000. There should be a way to get more
details about the errors. Are you logging errors in your package?
Hope this helps.
Dan Guzman
SQL Server MVP
"Massa Batheli" <mngong@.gmail.com> wrote in message
news:1158271663.636547.75900@.b28g2000cwb.googlegroups.com...
>
> We are moving from 2000 to 2005 .And I have to come up with an escape
> route if after a week or two it is decided performance/other issues
> are worse.
> .SSIS transfer sql server objects does not cut it for some unknown
> reason with one error after the other...
>
> Thanks for your time
> massa
>

Monday, February 20, 2012

Microsoft SQL Server Mobile Edition data source

i just installed a copy of microsoft sql server 2005 in my pc and decided to follow the newbie's guide:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/med302_msdn_sql_mobile.asp?frame=true
anyway, on the 5th exercise wherein i'm supposed to add a new data connection through the server explorer.. when i chose the option of adding a new data source and was prompted to select a data source i couldnt find the Microsoft SQL Server Mobile Edition data source..
is there anything else that i need to download in order to have that data source?

1) Did your installation include "SQL Server 2005 Mobile Edition". Can you see SQL Mobile traces in "Add/Remove Programs" directory. Some thing like "SQL Server Mobile Developer Tools".

2) If yes, then can you please follow the thread@. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=260599&SiteID=1, and see if it helps you out.

Thanks,

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Mobile, Microsoft Corporation

|||uh yeah. but mine says "Microsoft SQL Server Mobile 2005 Mobile [ENU] Server Tools" i got the sql server 2005 mobile edition by accessing the sqlce30setupen.msi file. also i already tried to add the following lines to the machine.config file but i still couldnt find it when i open vs studio 2005. anyway, if worst comes to worst and i cant figure this one out would you happen to know how i would configure the database connection for a pocket pc through the use of vs.net 2003?

<add name="SQL Server CE Data Provider" invariant="Microsoft.SqlServerCe.Client" description=".NET Framework Data Provider for Microsoft SQL Server 2005 Mobile Edition" type="Microsoft.SqlServerCe.Client.SqlCeClientFactory, Microsoft.SqlServerCe.Client, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />|||

Hmm...it looks like SQL Mobile Developer tools were not installed. Server Tools are not needed for you, they are meant for synchronization of SQL Mobile database with SQL Server. If you dont have Developer Tools, try installing the SQL Mobile Developer tools from the following location of your VS 2005 Disk: wcu\SQLCE\sqlmobile30devtoolsxxx.msi

The xxx in the MSI name stand for the locale, for english it would be 'enu'.

Let me know installing that worked for you.

Thanks

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Mobile, Microsoft Corporation

|||Dear Laxmi....

I also have the same problem and I tried to install the SQL Mobile Developer tools from VS 2005, but the location is not avalaible in the CD. I used VS PRo 2005.

Please help me because I have a project to write program for My Mobile Application that's need to connect to database.

Microsoft SQL Server Mobile Edition data source

i just installed a copy of microsoft sql server 2005 in my pc and decided to follow the newbie's guide:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/med302_msdn_sql_mobile.asp?frame=true

anyway, on the 5th exercise wherein i'm supposed to add a new data

connection through the server explorer.. when i chose the option of

adding a new data source and was prompted to select a data source i

couldnt find the Microsoft SQL Server Mobile Edition data source..

is there anything else that i need to download in order to have that data source?

1) Did your installation include "SQL Server 2005 Mobile Edition". Can you see SQL Mobile traces in "Add/Remove Programs" directory. Some thing like "SQL Server Mobile Developer Tools".

2) If yes, then can you please follow the thread@. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=260599&SiteID=1, and see if it helps you out.

Thanks,

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Mobile, Microsoft Corporation

|||uh yeah. but mine says "Microsoft SQL Server Mobile 2005 Mobile [ENU]

Server Tools" i got the sql server 2005 mobile edition by accessing the

sqlce30setupen.msi file. also i already tried to add the

following lines to the machine.config file but i still couldnt find it

when i open vs studio 2005. anyway, if worst comes to worst and i

cant figure this one out would you happen to know how i would configure

the database connection for a pocket pc through the use of vs.net 2003?
<add

name="SQL Server CE Data Provider"

invariant="Microsoft.SqlServerCe.Client" description=".NET Framework

Data Provider for Microsoft SQL Server 2005 Mobile Edition"

type="Microsoft.SqlServerCe.Client.SqlCeClientFactory,

Microsoft.SqlServerCe.Client, Version=9.0.242.0, Culture=neutral,

PublicKeyToken=89845dcd8080cc91" />|||

Hmm...it looks like SQL Mobile Developer tools were not installed. Server Tools are not needed for you, they are meant for synchronization of SQL Mobile database with SQL Server. If you dont have Developer Tools, try installing the SQL Mobile Developer tools from the following location of your VS 2005 Disk: wcu\SQLCE\sqlmobile30devtoolsxxx.msi

The xxx in the MSI name stand for the locale, for english it would be 'enu'.

Let me know installing that worked for you.

Thanks

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Mobile, Microsoft Corporation

|||Dear Laxmi....

I also have the same problem and I tried to install the SQL Mobile Developer tools from VS 2005, but the location is not avalaible in the CD. I used VS PRo 2005.

Please help me because I have a project to write program for My Mobile Application that's need to connect to database.