SQL Server: What is the best way to Data Migration? [closed] - sql-server-2005

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I want to migrate data from one database to another database in Microsoft SQL Server 2005. I need to verify those rows retrieved before I insert them to the destination database's tables. Which approach is reasonable for this kind of things?
I am trying to use two datasets in my VB.NET program. Is it reasonable? Can you suggest me?
Thanks in advance,
RedsDevils

It depends on how much data you're talking about, but I'd tend to pass on .Net datasets for a migration task, as that means pulling all the data into memory. If you must do this via a .Net client program, at least use a DataReader instead. But what's even better is to keep it all in Sql Server via Sql Server Integration Services.

Related

SQL Server Integration Services: how to manage multiple sources? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I merged two databases for analyses purposes. One of these databases is out of production, so the data is not changing. The other db is live and continuously growing.
What's the best practice in terms of data management/storage? Do I have to delete all rows and reload + union data from both databases or is there a better way to manage this?
Thanks in advance
Sam
If you know the SSIS then make a package which will check keys and based on that it will inserted only unique rows.
You can easily apply lookup via ssis in source and destination.
Let me know if you need any help

migrate data from SQL Server to dBASE [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
my current app is using ASP.Net Core and using SQL Server as DBMS.
is it possible to migrate data into dBASE based application like Visual-FoxPro 9.0?
if yes then how i can do that?
Yes you could use VFP and if "you really wanted to", you could migrate data to a VFP database.
However, it is better to keep the data in MS SQL Server database and use it from VFP. It is really simple to connect to MS SQL server database and do CRUD operations there from within VFP. Basically there are 3 methods you could choose from:
Remote Views (RV)
SQL Pass Through cursors (SPT)
CursorAdapter class
CursorAdapter is the latest historically and most advanced option. You could visit my blog for a starter (https://cetinbasoz.blogspot.com/)

How to verify if two databases are identical using SQL Server Management Studio [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have two databases in two networks. I want to check one against another for to see table definition mismatches. I have database definition scripts of both databases. Is there any built-in function in SQL Server to achieve this.?
All the configurations in database servers are similar. The server version is SQL Server 12.0.2.
Update: I know there are text comparison tools, and I use beyond compare.
If you have the database definition scripts the easy way is to use diff on the UNIX (or Mac) command line, or windiff in Windows (see https://answers.microsoft.com/en-us/windows/forum/windows_10-files-winpc/does-windiff-exec-available-in-windows-10-64-bit/624fb262-7cba-49bd-b02e-74814a4d11b6?auth=1).
Otherwise you can use a database design tool. There are many available but they all cost a lot more than using diff.

SQL or NoSQL for my app [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I'm developing an application for iOS, Android, Windows Phone and in the future a web version of it.
I'm relatively new in databases so I started learning a bit of SQL and PostgreSQL.
My application is for industry and will show pruducts and other information relatively with that.
My question is should I use SQL database or NoSQL database, and which should I use?
Thanks!
Use the database that makes it easiest to model your data. If your data is relational, use a relational database. If your data is best represented as a document, use a document database. If your data is best represented as a graph, use a graph database.

Apply Database Changes after edit SQL Server [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a DataBase SQL , I did some changes in tables and datatype of this data base
but this data base contains data
I used a select Insert statement from the old database to the new one after edit
Is it the best way to bring he data to the new database or I can use better way ??
It depends why you are doing it and when.
If you are doing this as a one off process on your development machine and there is only a small number of simple tables then this approach will be fine
If you are doing it for a larger number of tables, need it to be re-runnable or want a GUI then use SSIS or "SQL Server Import and Export Wizard". It's easy to use.