How To Move A SQL Server Database From One Computer To Another.

Jan 8, 2004

Currently I'm working on my Desktop computer but I wanna put all my data to my laptop so that I could continue my work on my laptop.





How can I transfer my SQL Server database to my laptop?

View 3 Replies


ADVERTISEMENT

Howow To Move Sql Server 2005 Database From One Computer To Another ?

Nov 25, 2006

 
Hi,I need to know the way in which I can copy my sql server 2005 database from one computer to another ?
Please I need a clear and complete explanation ,thanx .

View 2 Replies View Related

Best Way To Move CSK Database From One Computer To Another

Jul 21, 2004

Hi,

Can someone suggest a good way to move the CSK database from ine instandc of MSDE200 to another on a different PC. I tried exporting using MS Web database administrator which moved the tables but stripped off the defaults and all stored proceedures.

Any better ideas?

Hal

View 1 Replies View Related

Move SQL Server 2005 Instance To Another Computer

Apr 14, 2008

I have SQL server 2005 on a Windows 2003 machine. The machine is old and I need to move the entire SQL server to a new machine. There are many databases and users that need to move across to the new server. Detaching and attaching the databases would be tedious due to the large number of databases. Is there a way of moving the DB's and SQL users to the new machine without having to do each db one at a time?

Additional info that might be helpful:
The new server's IP address and name must also change to that of the old server.
The old server initially had SQL 2000 on it and was upgraded to SQL 2005.
The new server was installed with SQL 2005 only. Hence the Database and log paths differ between the old and new server.

Any help would be appreciated.

View 5 Replies View Related

Unable To Connect Second Computer To SQL Server Database

Aug 11, 2006

Hello all,

New forum member here, and pretty new to SQL Server. My question is I'm having an impossible time trying to connect MS Access on Computer A to a database running on SQL Server 2k (SP3) on Computer B. Every time I try to create a new ODBC connection on Computer A, I get the dreaded Server Error 17 (SQL Server does not exist or access denied). I have no problems making the ODBC connection on the computer running SQL Server (Computer B).

My connection settings are as follows:

Computer A name = MAINDESKTOP
Computer B name (contains SQL Server) = HOMELAPTOP
Workgroup name = WORKGROUP

Server Properties:

Name = HOMELAPTOP
Authentication = SQL Server and Windows
Registered SQL Server Properties = Use SQL Server authentication, and I'm using a login name and password
Server Network Utility = TCP/IP network protocol enabled, with default port 1433
Server Client Network Utility = TCP/IP network, default port 1433

Under "Security", I have created a new login using SQL Server Authentication called "bradley", and have assigned a password to the new login. I've noticed that when I open the login properties dialogue, there are always more ***'s in the password field than the number of characters I originally used, but I suspect that's normal. I have assigned a database called "Costume" to "bradley", and have verified that the permission is checked on the Database Access tab for user "bradley".

Under "DatabasesCostume", I have verified that there is a user called "bradley" with the same login name and user name.

No matter what I try, I can't get Computer A to connect to Computer B's SQL Server database. I have no problems with any other types of connections (pinging, internet, file transfers).

This can't be that difficult! Any ideas?

Thank you!
Brad

View 6 Replies View Related

Cannot Restore Database In The Computer Is Setuped SQL Server 2000 And SQL Server 2005

Dec 27, 2007

Hi All
I have Computer is setuped SQL Server 2000 and SQL server 2005 when I restore SQL Server 2005 it's OK but when it's not OK when I restore in SQL Server 2000. The Error as follows:

Please help me to solve this problem. Thanks

View 1 Replies View Related

Allowing A Conenction To A SQL Server 2005 Database From Another Computer On A LAN

Mar 8, 2007

I am working with one other person on a VS 2005 vb.net web project that accesses SQL Server 2005.  Both the computers are connected and my partner can run the application on his computer from his VS 2005 but we are getting an error on our first databind to a gridview on the page we are trying to run the error is below
A connection was successfully established with theserver, but then an error occurred during thepre-login handshake.  When connecting to SQL Server2005, this failure may be caused by the fact thatunder the default settings SQL Server does not allowremote connections. (provider: Named Pipes Provider,error: 0 - No process is on the other end of the pipe.)
 
I check the properties of the SQL Server and the check box is checked that says allow remote access.  I am not sure what to do.

View 1 Replies View Related

SQL Server 2008 :: Restore Database From Raw MDF And LDF Files Of Old To New Computer

Aug 18, 2015

I have a client that has POS software called Restaurant Pro Express (RPE) from www.pcamerica.com
Their old POS computer had a hardware failure, but I was able to attach the hard-drive to another computer and recover the data. RPE uses a MSSQL database system. However, my client doesn't seem to make backups very often - the last one is dated January 5, 2015.

I was able to copy the C:Program FilesMicrosoft SQL Server folder over which contained the instance as well as all the data files - and has up-to-date information. The instance in the recovered Microsoft SQL Server folder was called MSSQL.1. I installed the RPE software on their new computer, and it too now has an instance called MSSQL10_50.PCAMERICA. The new computer is using MSSQL 2008 R2, while I believe the old computer would have been using MSSQL 2005.

View 4 Replies View Related

Problem Connecting To Sql Server 2005 Express Database On Local Computer

Mar 18, 2008

I have a very basic console application whose sole purpose is to query a database on the same local computer. When i run the application, i get the error message below:
Cannot open user default database. Login failed.Login failed for user 'someDomainSomeUserName'.
Below is my connection string also
myconnection_string = New SqlConnection("Data Source=.SQLEXPRESS;AttachDbFilename=C:Reporting SystemApp_Datasafetydata.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True").
 After some googling, some post pointed to deleting a user folder at :
C:Documents and SettingsmyusernameLocal SettingsApplication DataMicrosoftMicrosoft SQL Server DataSQLEXPRESS
 but still deleting that folder and restarting the machine doesn't help and i also have remote connections enabled. Help is really needed.
 NOTE: The same application runs on a different computer with XP but fails on the Pc with windows server 2003.
 
 

View 3 Replies View Related

Move SQL Server Database From One Box To Another

Nov 9, 2000

Hi there!

I am fairly new to SQL Server 7. I have a SQL server database on one machine (box A).
Now I installed a new box with SQL server on it (box B).
How do I move the database from box A to box B?

What are the steps involved? What is the easiest way to do it?
What files need to be copied over?

Thanks,
Helmut

View 3 Replies View Related

Move All Database From One Server To Other

Dec 7, 2007

What is the best and safest way to move all databases(almost 500GB total) from our existing server(2000) to the new server(2005).and What about the jobs and SSIS(DTS) Packages.Thanks

View 5 Replies View Related

Move Database From Oracle To Sql Server.

Jul 30, 2004

Anybody can give me a reference about how to move database from Oracle to Sql Server.

View 2 Replies View Related

How To Move Tables To A Different Database On The Same Server

Jul 14, 2007

I am running SQL Server 2000.



I have about 300 tables scattered across 3 databases that I am trying to consolidate into a single database. There are other tables within these 3 databases that I don't wish to consolidate (so I don't want to copy the full database).



What are my options to move these tables to the consolidated database?



Are there options beyond, the pain and extensive run-time of copying from the DTS wizard into the new database (plus the indices won't copy will they?) or writing code that creates tables in the new database, populates them with data from the old tables and then deletes the old tables?



My understanding is sp_rename won't work with two separate databases --i.e., your destination db must be the same as the db of the object you are renaming. (if my understanding is wrong, that would seem to be the easiest way to accomplish this)





Thanks,



View 4 Replies View Related

How To Move A SQL Database To Another Server Over Internet

Nov 7, 2007



Hi,

Here is the situation:
My SQL server is in B'lore. I need to transfer the Database from the B'lore server to a new Server in California.

Kindly let me know how it could be done.

Thanks in advance.

View 2 Replies View Related

SQL 2012 :: Move Distribution Database To A Different Server?

Sep 9, 2015

Is there a way to move the Distribution database (that is currently on the publisher server) to a different server without having to reync the subscriptions.

View 0 Replies View Related

Move Table Records Into New Database In The Same Server

Aug 2, 2007

I have a question here.

I have a Audit tables database. I want to archive the Audit Tables data to another new database in the same server and remove the data in the Actual database but continues with the table seed where it's the primary ID.

Example:
I have a AuditProducts Table with AuditID as BIGINT and auto increment value.
contains10,000 records in AuditTable Database.

I want to archive the tables to a new database: Audit200707

After archived, the AuditProducts Table in AuditTable database will remove all the records and continues with 10001 in the next record.

How can I done the whole process using T-SQL so that it can schedule and run for every month? BTW I am using SQL Server 2005 SP2.


Thanks and regards,

View 5 Replies View Related

Move Sql Database To Different Sql Server Language Version

Jan 29, 2007

HI guys!

I have a Japanese sql server installed in one server..
I want to transfer everything to an English SQL Server version.
Will this be no problem?
Hope you can enlighten me on this one...

Thanks!

View 2 Replies View Related

Move Database From SQl Server 2000 To 2005

Oct 7, 2006



How to import database in SQL server 2005 from the SQL server 2000 ??

View 1 Replies View Related

Move/copy Database Objects From SQL Server Express To SQL Server Standard??

Sep 7, 2006

Can anyone refer me to good 'recipes' or sources of information on thistopic??I have Visual Studio Tools for Office, which installs SS 2005 Expresslocally to my XP box, and I want to develop in SS 2005, then copy thetables or queries or reports etc. to a SS 2005 Standard server.Thank you, Tom

View 3 Replies View Related

How To Move One Database File From One Server To Another Withour Restoring

May 13, 2004

I am moving a database from one server to another. I am going to replace the old server to the new one. I heard that you can move the datfiles and put them in the same directory, and sql server will pickup the datafiles based on the system tables. Is this possible, and what are the steps to get this to work. Thanks for the help in advance.

View 4 Replies View Related

SQL Server 2008 :: Move Database Log Files Massively

Sep 14, 2015

I want to to move all database log files from drive E to F .

There are more than 10 databases so I don’t wanna move them 1 by 1 .

At the moment I use detach – attach method .

-Detach db
-Move log file
-Attach db

How do I do this massively in one go ?

View 5 Replies View Related

Move Sql Database From Development Machine To Server With Active Directory

Dec 23, 2004

Hi all! I know I might sound stupid, but I have this problem. I have developed my database on my laptop which does not use Active directory. Lets say I access the database with: SPIDERMANDB1 on SQL server, where the name of my laptop is SPIDERMAN, and the database is DB1. Now, I create an SQL script from sql server and make the necessary changes, like changing the computer name to say, SUPERMAN where my deployment server's name is SUPERMAN. But when I run the SQL script on the SUPERMAN server, it gives me an error like: "User or role SUPERMANDB1 does not exist in this database". I have deployed databases in this way on servers without Acive directory, so I'm sure its not a mistake on my side. So how am I supposed to go around this active directory thingi! Please help me out! I'm counting on u guys!

Wes

View 4 Replies View Related

Move Data From Tables On Linked Server To Normal Database?

Nov 10, 2014

I'm trying to find a way to insert data from a TableA on ServerA into TableB on ServerB using SSIS in Visual Studio.

The specification I was given is basically

Insert INTO TableB AS (Select * from TableA WHERE NOT EXISTS on TableB).

I can't use a linked server unfortunately.

I wonder if it possible to move data from tables on a linked server to a "normal database"? What am I doing wrong?

View 4 Replies View Related

How To Know Whether A Computer Is A Sql Server According To The Name Of Computer?

May 9, 2004

Thanks a lot

View 6 Replies View Related

How To Move Sql Server 2000 Database From One Server Box To Server 2005 On Another Server Box Sql

Aug 10, 2007


Hi,

We have an old machine which holds SQL server 2000 database. We need to migrate a whole database to a new machine which has SQL server 2005.

When we tried to move whole database using Import and Export Wizard, only tables can be selected to import/export. However we want to import/export the whole database, including tables, stored procedure, view, etc. Which tool should we use?

Thanks.

View 1 Replies View Related

How To Move Sql Server 2000 Database From One Server Box To Server 2005 On Another Server Box Sql?

Aug 10, 2007

Hi,

We have an old machine which holds SQL server 2000 database. We need to migrate a whole database to a new machine which has SQL server 2005.

When we tried to move whole database using Import and Export Wizard, only tables can be selected to import/export. However we want to import/export the whole database, including tables, stored procedure, view, etc. Which tool should we use?

Thanks.

View 5 Replies View Related

SQL Server 2012 :: Strategy To Delete / Move Millions Of Rows In A Database?

Apr 16, 2015

I am using SQL Server 2012 SE.I am trying to delete rows from a couple of tables (GetPersonValue has 250 million rows and I am trying to delete 50Million rows and GetPerson has 35 Million rows and I am trying to delete 20 million rows). These tables are in TX replication.The plan is to delete data older than 400 days old.

I tried to move data to new tables from the last 400 days and it took me like 11 hours. If I delete data in chunks of 500000 then its taking a long time to rebuild indexes(delete plus rebuild indexes 13 hours). Since I am using standard edition partition wont work.

find ddl below:

GO
CREATE TABLE [dbo].[GetPerson](
[GetPersonId] [uniqueidentifier] NOT NULL,
[LinedActivityPersonId] [uniqueidentifier] NOT NULL,
[CTName] [nvarchar](100) NULL,
[SNum] [nvarchar](50) NULL,
[PHPrimary] [nvarchar](50) NULL,

[code]....

View 1 Replies View Related

SQL SERVER 2000 - Move One Database To Another In The Same Server.

Jun 4, 2008



Hi ,

I'm moving all objects of one database 'A' to another databse 'B' in the same server.
There are common users under both the database.

How can I ensure that the database users get the same roles and persmission on the new objects(Moved through DTS) in 'B' .

Pls help

Thanks,
Kavitha

View 4 Replies View Related

SQL Server 2014 :: Move Data From Database Taking Into Account Identity Keys

Oct 9, 2013

I'm trying to move specific data from three linked tables on a source database to three tables on a destination database by generating dynamic SQL INSERT scripts but am getting stuck on the last set of INSERT statements. I don't think I can use SSIS because the source autonumber fields may already exist on the destination side but I could be wrong.

For simplicity, Table 1 (T1) has one autonumber key of PK1 as well as other fields (A1, B1, etc.).

Table 2 (T2) has one autonumber key of PK2 and a foreign key (FK1) that links back to PK1 as well as other fields (A2, B2, etc.).

Table 3 (T3) has one autonumber key of PK3 and a foreign key (FK2) that links back to PK2 as well as other fields (A3, B3, etc.).

Like this:
T1: PK1, A1, B1, etc.
T2: PK2, FK1, A2, B2, etc.
T3: PK3, FK2, A3, B3, etc.

So, I'm able to query the source database T1 to generate my dynamic SQL INSERT statements that will be run on the destination side. I'm also able to generate my dynamic SQL statements to insert into T2 but when I get to T3 I currently am stuck figuring out how to insert because the destination side is unable to match it's FK2 to the just inserted PK2. It throws the below error.

Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

View 3 Replies View Related

Moving Database To Another Computer

Dec 2, 2005

hi all,

I'm having real trouble trying to place another copy of my database on a different computer.

I have developed a database on my main PC. But I want another copy of this same database to reside on my laptop so that I can do work on the move.

So far no luck. I installed SQL Server on the laptop but it won't let me create a database based on an existing database file.

Any ideas guys?

cheers,
token

View 4 Replies View Related

Copying My Database To Another Offsite Computer

Jul 19, 2006

My need: I want to copy my databse (the file itself) in a mem card so that I can use it in another comuter offsite.How do I do that. it s like  a back up I think, except that I ll need to import the DB in another computer at home.When I try using Backup the DB of Entreprise Manager, I get violation error, can t copy the file being used or something like that. Am I doing it the right way or is there another better way to do this.
Thanks

View 2 Replies View Related

Copying My Database To Another Offsite Computer

Jul 19, 2006

My need: I want to copy my databse (the file itself) in a mem card so that I can use it in another comuter offsite.
How do I do that. it s like a back up I think, except that I ll need to import the DB in another computer at home.
When I try using Backup the DB of Entreprise Manager, I get violation error, can t copy the file being used or something like that. Am I doing it the right way or is there another better way to do this.

Thanks.

View 5 Replies View Related

Dead Link For Database When Moving To Other Computer

Apr 13, 2008

Dear all,
 I face a problem about linking the SQL express database. Originally, I work with my desktop at home. However, I need to take it outside with my laptop. Once I copy whole project to my laptop and use Visual Studio 2008 again to develop. The following message appear when I run some pages that need to connect the database:
 "An attempt to attach an auto-named database for file E:d drivedocAssignmentProgramming ProjectProgrammingSourceApp_DataASPNETDB.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. "
How can I solve this problem? I think it is an absoultue address and logical address problem. Thanks a lot.
 Regards,
Eric Chan

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved