21,636 questions

Sort by: Updated
2 answers

Create a linked server in SQL 2025 connecting to a SQL 2017 Instance

Hi- I currently have a linked server on a SQL 2019 Sql Server Instance connecting to a SQL 2017 instance using provider SQLCLNI11 which has been deprecated. I need to migrate the Linked Server to a SQL 2025 Instance connecting to the same SQL 2017…

SQL Server Database Engine
asked 2026-11-13T19:02:31.75+00:00
Thomas E Rozzi 0 Reputation points
commented 2026-11-13T21:10:01.38+00:00
Erland Sommarskog 137.7K Reputation points MVP Volunteer Moderator
3 answers

Differences between ALTER ANY LOGIN & securityadmin Server level role?

Hello, what are the differences between ALTER ANY LOGIN & securityadmin Server level role? Think I have an idea that securityadmin Server level role probably has higher permissions but would like to know more specifics. Thanks in advance.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-07-04T19:51:01.053+00:00
techresearch7777777 1,961 Reputation points
edited an answer 2026-11-13T05:07:26.15+00:00
techresearch7777777 1,961 Reputation points
2 answers

Login failed for User

I get "Login failed for User" error in visual basic connection to sql-server. This error occurs when I move my database from one PC to another. I solve this problem by using same "PC-name" & "User-Name" of my old PC…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,914 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-06-27T17:45:45.307+00:00
Habib ur Rehman 41 Reputation points
edited an answer 2026-11-13T05:06:57.2033333+00:00
Habib ur Rehman 41 Reputation points
0 answers

I need help making an ado connection string from ms access to sqlexpress 15.

I've been trying to figure out a connection string for a couple days now. I'm new to ado. I've been using odbc for years, but I want to update the old colde. Please also let me know if I need quotation marks and apostrophes and does there need to be…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-05-28T14:49:46.333+00:00
Sam Coburn 1 Reputation point
2 answers

Login failure

I have posted many questions regarding this and don't seem to get it right. However, there is a twist to this. I think I succeeded in granting permission to the user 'quirverT', because when I tried to create a new account on my website, the error…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-05-13T09:48:11.46+00:00
Donald Symmons 2,996 Reputation points
edited an answer 2026-11-13T05:02:39.03+00:00
Donald Symmons 2,996 Reputation points
1 answer

Can't deploy SSIS package - An error occurred during decryption. (Microsoft SQL Server, Error: 15466)

When trying to deploy an SSIS .dtsx package, I get the below error message: --------------------------------------------------------------------------------------------------- TITLE: SQL Server Integration Services …

SQL Server Integration Services
SQL Server Integration Services

A Microsoft platform for building enterprise-level data integration and data transformations solutions.

2,786 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-04-10T00:09:47.347+00:00
Santiago S 1 Reputation point
edited an answer 2026-11-13T04:57:59.71+00:00
Santiago S 1 Reputation point
1 answer

How do I create a view using existing tables from another database just like using dblinks?

Hi experts, Would like to kindly ask for help with creating a view using a query that selects from tables from another database in the same server. Thanks!

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

4,702 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-03-25T06:54:08.513+00:00
SomebodyHelpMePlease 26 Reputation points
edited an answer 2026-11-13T04:54:27.07+00:00
SomebodyHelpMePlease 26 Reputation points
0 answers

MySQL to C# Connection Error

Developer technologies | Windows Forms
Azure Database for MySQL
Azure Database for MySQL

An Azure managed MySQL database service for app development and deployment.

1,249 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-03-19T04:18:03.63+00:00
Mohamed Rafi N 26 Reputation points
2 answers

sqllogin user log in

i need a help, i need to have sql server account where this sql user should not user ssms . ssms should be blocked how to do it

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-03-07T11:13:21.19+00:00
k muthus 41 Reputation points
edited an answer 2026-11-13T04:50:18.7733333+00:00
k muthus 41 Reputation points
0 answers

Lost Database encryption (TDE) password, How to recover?

Hi , Our DBA lost the password of the certificate with which our database was encrypted. We've to migrate the database to latest. How can I recover? If I create a new on can I apply new cert to the DB? Can I disable the TDE, then backup and…

SQL Server Migration Assistant
SQL Server Migration Assistant

A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.

603 questions
asked 2022-02-03T09:21:22.123+00:00
Raveendar Oddi 6 Reputation points
1 answer

Lost acces to sqlexpress

I have a problem with permmisions. IN company we must changed our computer name and settings after migration to active directory. But I forget that my old PC name is admin in sql express. And I do not know sa password becouse in time of instalation I…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2021-12-14T08:31:08.563+00:00
d.o.m.i.n.i.k 1 Reputation point
edited an answer 2026-11-13T04:40:52.27+00:00
d.o.m.i.n.i.k 1 Reputation point
1 answer

Seeking help on storing keys in Azure Key vault for on premise database?

Hello, We want to implement Transparent Data Encryption (TDE) for some of our on premise databases and we want to store the keys/certificates in Azure Key Vault.. Given the below constraints, Is it really possible ? ON premise and Azure…

Azure Key Vault
Azure Key Vault

An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.

1,524 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2021-11-30T11:05:03.267+00:00
anil kumar 1,626 Reputation points
edited an answer 2026-11-13T04:39:11.8466667+00:00
anil kumar 1,626 Reputation points
1 answer

Looking for script to for login creations and assigning permissions.

Hi Experts, Does anybody has a script or stored procedure which takes care of login creation, user creation and adding roles and permissions. Basically, looking for script which does the following : We will pass loginame, login type, db name,…

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

4,702 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2021-10-07T06:46:25.64+00:00
Sam 1,456 Reputation points
edited an answer 2026-11-13T04:36:51.2966667+00:00
Sam 1,456 Reputation points
0 answers

Help for Linked server code

Hi, I am unable to run the following query from server:cd_pdserv02.DBTBB_BACK and getting the linked server error. How I can grant the access of linked server to run the query. OR is there anyway to run the query successfully. Thanks for your help …

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

4,702 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2021-05-26T03:10:30.69+00:00
Kenny Gua 411 Reputation points
1 answer

How connect to sql database | server | not local | not use web service, api

I have quite a bit of experience developing for Windows, but not so long ago I switched to Xamarin. I need to connect to a Microsoft SQL database, without using web services and api, the database is not local, it is on a public server. I need any…

Developer technologies | .NET | Xamarin
Developer technologies | .NET | Xamarin

A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.

5,342 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2021-03-22T19:07:17.363+00:00
Nort ⠀ 671 Reputation points
edited an answer 2026-11-13T04:28:11.8433333+00:00
Nort ⠀ 671 Reputation points
1 answer

SSIS Oracle Source - DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

Hi All, I'm using Visual Studio 2019 to get data from a Oracle Database and transfer it to a SQL 2019 database. I'm using Oracle connection (Connection Manager for Oracle Connections) for my source and an OLE DB connection for my SQL 2019 database.…

SQL Server Integration Services
SQL Server Integration Services

A Microsoft platform for building enterprise-level data integration and data transformations solutions.

2,786 questions
asked 2021-04-08T14:33:05.567+00:00
Deepak 101 Reputation points
edited an answer 2026-11-13T04:27:38.71+00:00
Deepak 101 Reputation points
3 answers

Cannot connect to SQL Server Express

I have a Server running Windows Server 2019 Essentials and SQL Server Express 2019. This can be accessed on the machine through SSMS. I have followed the configure the SQL Server remote access ( Enable TCP/IP Port 1433, restarted services, Added rules in…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2021-02-21T09:53:12.73+00:00
Ian Taylor 41 Reputation points
edited an answer 2026-11-13T04:23:58.91+00:00
Ian Taylor 41 Reputation points
3 answers

Need help on parameterization of Integration Runtime and Azure Key vault Secrets on link service in Azure Data Factory pipeline

Hi, I have to migrate 90 clients database from Azure Managed Instances databases to Azure VM Data Servers. For the above requirement, I have created the below resources * 90 Azure Data Factory Pipelines * 90 self-hosted integration runtime as each…

Azure Key Vault
Azure Key Vault

An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.

1,524 questions
Azure Database Migration Service
Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

12,111 questions
SQL Server Integration Services
SQL Server Integration Services

A Microsoft platform for building enterprise-level data integration and data transformations solutions.

2,786 questions
asked 2020-12-29T17:41:43.283+00:00
HemantSudehely-0557 246 Reputation points
edited an answer 2026-11-13T04:20:30.61+00:00
HemantSudehely-0557 246 Reputation points
1 answer

Possible to host SQL server 2022 in AWS RDS as SSRS database?

Hello, I would like to know is that possible to host SSRS database sql server 2022 in AWS RDS? I trying to host SSRS in EC2 and SQL server in RDS then I use rds admin user to connect database on Configuration manager set up and getting this permission…

SQL Server Reporting Services
SQL Server Reporting Services

A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.

3,178 questions
asked 2025-03-19T06:45:09.5666667+00:00
Swe 25 Reputation points
edited an answer 2026-11-13T04:14:06.57+00:00
Swe 25 Reputation points
4 answers

Best Practice: which database should I use when creating an audit table for a SQL SERVER LOGON TRIGGER

Hi All, I have a requirement to create a LOGON TRIGGER to monitor logins for auditing purposes. The requirement is to create a table and capture all known logins. I am using SQL Server 2017, enterprise edition. I'm curious which database I should…

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

4,702 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2020-12-16T19:03:09.453+00:00
Abrams, Dan 86 Reputation points
edited an answer 2026-11-13T04:14:02.49+00:00
Abrams, Dan 86 Reputation points