Quantcast
Channel: SQL Server Migration forum
Viewing all 1700 articles
Browse latest View live

SQL 2014 AlwaysOn to SQL 2017 AlwaysOn

$
0
0

Is there a way to easily migrate a SQL 2014 AlwaysOn cluster to a SQL 2017 AlwaysOn cluster?

Can we connect the two clusters and replicate the databases in order to migrate them from 2014 to 2017?

Thanks,

Jay


Migrate from SQL 2008 to SQL 2016

$
0
0

While migrating the databases from SQL 2008 to SQL 2016

do we need to restore the master/model(sys dbs) database on SQL 2016 (New server), or just the user databases


 


Import Microsoft ACCESS Attachment data type, data

$
0
0

I would really appreciate some novice to intermediate explanation of how I can migrate an Access 2013 table that has an attachment data type field into SQL 2014.  I am not an expert on coding it and it has many records, with sub records in the fields.  It looks like an array.  We are just moving the back-end of a split Access Database to SQL.

Thank you.

Script to copy SQL logins from old instance to New

$
0
0

would like to script the SQL logins from old  instance and copy to New 2014 and 2016

any suggestions


Python methods or functions for mssql-scripter?

$
0
0

Hi,

I'm seeing command line options for mssql-scripter here:

https://github.com/Microsoft/mssql-scripter/blob/dev/doc/usage_guide.md

It shows options that you can run on a Windows/Linux or Mac command line but not functions that you can use in python code. 

Want to see if there's a way to import mssql-scripter module inside a python program and make function calls in my code. Is that possible?

restoring database to managed instnace

$
0
0

i am trying to restore bacpac file to sql server MANAGED INSTANCE, HAVING THE SSMS ON MY LOCAL COMPUTER,

AND ITS THROWING THIS ERROR


k

SSMA with SQL Server 2008 R2

$
0
0

Hello everyone. I've found myself with this sitauation: I have to migrate from a large MS Access mdb database to SQL Server 2008R2, but the current version of SSMA (Microsoft SQL Server Migration Assistant 7.11 for Access) doesn't give the ability to work with SQL Server 2008R2. Any suggestions? Tried to find older versions of SSMA, but apparently microsoft abolished all links to such versions. Thank you in advance for your help. I'm looking forward to hear from you, since this task is extremely urgent.

Migration of SQL Server 2012 to 2014 or 2016 and Windows compatibility

$
0
0

Hi Team,

I have few concerns about migrating SQL 2012 db's to 2014/2016 on windows 2016/2019 platform.

There are few SQL 2012 db's running in Azure environment and have to migrate them as well.

Current SQL/Windows Versions:

SQL Versions: SQL 2012 SP4

Current SQL/Windows Versions:

SQL Versions: SQL 2012 SP4

Windows Version:Windows 2012 /2012 R2

We are planning to migrate all SQL 2012 db's to 2014 or 2016 and to the latest windows version i.e, 2016 or 2019 but there are few limitations like windows compatibility. 

As per my understanding we can't migrate 2012 db's onto windows 2016 or 2019 but can migrate SQL 2012 db to 2014/2016 but onto windows 2012 R2 platform. correct me if I am wrong.

Or is there any way to migrate SQL 2012 db to 2014/2016 into windows 2016?

Please advise.

Thanks,

Manisha K




SQL server latin1_general_ci_ai collation in 2008R2 to supported collation in 2016 server.

$
0
0

Hi All,

I'm migrating SQL Server 2008R2 to SQL server 2016 with SP2.

In current 2008R2 server has latin1_general_ci_ai collation.

While installing SQL server 2016, i'm not able to find the same collation.

Please let me know the  latin1_general_ci_ai collation supported collation in SQL 2016.


Kindly suggest which collation in SQL server 2016 supports latin1_general_ci_ai collation.

Slow stored procedures after migration 2008 to 2016 SQL server

$
0
0

Dear,

i have recently migrated database from SQL 2008R2 SP3 (WS 200R2 )to SQL2016 SP2 CU2 (WS 2012R2). Migration was made with backup restore method.

Now we are facing with really slow performance of one stored procedure. New server is far more powerful that old one but sp is x3 slower that the old server.

- Execution plan on both servers is same

- I have left compatibility level to 100 and also made change to 130 but without success.

- I have exec sp with recompile again no success with

- Index and update statistics are up to date

- Exec store procedure with recompile

- I have add some trace flags which where recommend but without success

- Changed cardinality estimator :

ALTER  DATABASE  SCOPED CONFIGURATION SET  LEGACY_CARDINALITY_ESTIMATION = ON;
GO

ALTER  DATABASE  SCOPED CONFIGURATION SET  QUERY_OPTIMIZER_HOTFIXES = ON;
GO

ALTER DATABASE SCOPED CONFIGURATION SET PARAMETER_SNIFFING =OFF ;GO

Thank you




Upgrade Windows Server 2008

$
0
0

We are planning to upgrade Windows 2008 4 node cluster.

Envrironment: (This is QA)

Windows Server 2008 R2 4 node active active cluster

SQL Server 2008 R2.

We are planning to remove cluster and make 4 nodes as 4 standalone machines with windows Server 2012 R2  then install 2016 on  4 server.

Nore more Clustering and no more HA. Even we don't need any databaese.

Goal is conver existing cluster to 4 standalone machines With Windows Server 2012 and SQL Server 2016. It means just new server.

Please provide some idea that how to proceed?

How to restore the sql database from Dev servere to Production server database

$
0
0

Hi,

I have sql database "asnetdb" in my Dev server now I would like to restore this data base into production server can I know how this can be done.

Thanks

Migrate DB2 (z/OS) v11 to SQL Server 2016 (or 2019), possible?

$
0
0

Need to migrate a DB2 database running v11.1 on z/OS to MS SQL Server.

Is there a version of SSMA that supports DB2 v.11.1 on z/OS and migrete into SQL Server 2016 or later?


Log file missing after restore

$
0
0

Hi,

Yesterday we migrated one DB from 2008 R2 to 2016. We did backup and restored.

after an hour while we validaiton data at destination we found that some data missing. When we compare with 2008 R2 the data is there in 2008 R2.

Now what to do to fix this issue. Please help us.

Migrate SQL AG node 1

$
0
0

Hi,

Need your guidance to understand, I have two nodes always-on cluster in one Environment and want to migrate it to a new environment. these nodes will be migrated through V2V migration using a tool called Zerto, I beleive V2V will migrate everything same what is in the VM but my question here is, in the new environment what changes needs to be done on AD level to make cluster or Always on up and running. ?


SQL Server DBA



Powerbuilder 12.5.2 connectivity with SQL Server 2017

$
0
0

Hi Everyone,

Would you please assist me to find a guide to connect PB12.5.2 to a SQL server 2017. Currently we are using 2014 and planning to upgrade SQL version with 2017. As i noted from tech site from 2017 to onward SP's will no longer be available  but CU's so any helping material on this please?


Upgrading AD from 2008 R2 to 2016. Does it have any impact on SQL Server 2008 R2/2012 R2/2016

$
0
0
We are upgrading our Active Directory from 2008 R2 to 2016. Does it have any impact on SQL server 2008 R2 / 2012 R2 / 2016

Rajakumar

Migrating a WSFC (Windows Server 2012 R2) from one domain to another

$
0
0

I have a WSFC (Windows Server 2012 R2) running SQL Server 2014/2016 and use Always on Availability groups for DR.

I am looking to migrate it from one domain to another.

I did google for details - appears not supported and I will have to rebuild cluster on new domain.

Any advice welcome.

Regards

K.Sander

Moving SQL Server disk from one VM to another VM

$
0
0

Have a SQL 2005 Server that I am upgrading to SQL 2012. The SQL 2005 have a three disk mount to it with 2.5 terabyte of data. My Question is that can I mount these existing VDisks from this server to the new Server which is also a VM?

Plan:

1. To upgrade SQL 2005 to SQL 2012.

2. Build a new Windows Server with Windows 2016.

3. Install SQL Server 2012 SP4.

4. Either its a detach/attach or backup and restore.

5. Please advise best plan to move these disks in this scenario. Thanks

Attempts to import a bacpac file into local SQL Server results in collation mismatch error

$
0
0

Hi,

  This is my first time using TechNet to ask a question instead of just browsing for an answer.  I can't find a good explanation for what I am seeing with this error message:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Could not import package.
Warning SQL72012: The object [censored] exists in the target, but it will not be dropped even though you selected the 'Generate drop statements for objects that are in the target database but that are not in the source' check box.
Warning SQL72012: The object [censored] exists in the target, but it will not be dropped even though you selected the 'Generate drop statements for objects that are in the target database but that are not in the source' check box.
Error SQL72014: .Net SqlClient Data Provider: Msg 468, Level 16, State 9, Procedure CensoredViewName, Line 12 Cannot resolve the collation conflict between "Latin1_General_100_CI_AS_KS_WS_SC" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.
Error SQL72045: Script execution error.  The executed script:
CREATE VIEW [censored].[CensoredViewName]
AS
SELECT t.object_id AS TableID,
       t.name AS TableName,
       c.name AS ColumnName,
       (CASE WHEN a.ColumnName IS NULL THEN 0 ELSE 1 END) AS Selected
FROM   sys.tables AS t
       INNER JOIN
       sys.columns AS c
       ON t.object_id = c.object_id
       LEFT OUTER JOIN
       CensoredTableName AS a
       ON a.TableName = t.name
          AND a.ColumnName = c.name;


 (Microsoft.SqlServer.Dac)

------------------------------
BUTTONS:

OK
------------------------------

The two columns I know for a fact are the exact same collation in the original database, and the destination is of the same collation, so how can there be conflict?  What is changing the collation of my columns during import?  I presume that it has something to do with the table being joined to the sys.tables, but I cannot figure out what is happening on my own.  The database being exported is an Azure Database if that means anything.

Thanks.

Viewing all 1700 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>