How to restore .bak file to SQL?
I want to create a new SQL database and restore a .bak file to it from a different database.
Migrate MSSQL user databases.
Hi, I am about to migrate 1,000 databases from several older SQL installations (2008-2019) to a new SQL Server 2022 environment. Is it recommended by Microsoft to migrate databases by using either backup and restore (log shipping for larger databases) OR…
ID's coming back as nulls are not appearing in my data set
I am trying to create a, intergrity check that bring back data after a record has been cancelled after a certain event. In my query. I am joining to a few tables and I can see all the old cancelled record. When I then cancel any new records, some IDs I…
indexes - cleanup
Hi All, Need some suggestions on how to disable or drop some of the unused indexes? Regards, Sam
How to give an AAD group view only access to a single database within SQL Server with multiple databases
I have a SQL Server in my subscription with multiple databases. Each database corresponds to a client organization. I wanted to give each client read only access to their individual database without them being able to see the other databases. For a…
How do I back up a SQL database to Azure from Microsoft SQL Server Management Studio
I don't have access to the Azure portal to do it from that instance. I need to migrate the database to another server
Logic App SQL (V2) - Unable to create connection / 502 BadGateway
Issue Unable to create a Logic App SQL (V2) connection. What I am trying to setup a VNET integrated Logic App (Standard) that will connect to our onpremises SQL database using the SQL (V2) connectors. Architecture Logic App > NSG > Azure…
how does database scoped credential work
I understand how to create and why, but how does then underlying process work? how does the second server know about the credentials created on the first server when using polybase. Our security team want an explanation as we wish to connect an on…
How to modify filepath of datafile that is inside a filegroup? Is it the same approach on alter database modify file directly the file that is inside a filegroup? Or need to do alter database modify filegroup modify file?
How to modify filepath of datafile that is inside a filegroup? Is it the same approach on alter database modify file directly the file that is inside a filegroup? Or need to do alter database modify filegroup modify file?
where do I download a copy of sql server MDM for testing
I AM TRYING TO SHOW A CLIENT WHAT MDM FOR SQL SERVER CAN DO.
Cannot add drive using Failover Cluster Manager - no disks suitable for cluster disks were found
I am creating a new SQL cluster to replace out old cluster. I created a new, two server cluster running Server 2022. I am told I need to add the disk to the cluster before I can install our SQL server software. I created a new volume in our PowerStore.…
SSMS 20 can't show conflict viewer
Hi! Clicking on View conflicts in Object Explorer open Connect to Server dialog form instead of Conflict Viewer. If I fill in form to connect to the same server, it creates very strange error: A connection was successfully established with the server,…
Does DMA for SQL keep the source database intact?
I want to run DMA on a 2022 SQL Server. I want to migrate databases currently existing on a 2008R2 SQL server. 2 questions: If migrated successfully, will the source database remain intact and functional? and Is there a way to only migrate one database…
Connection to a managed SQL instance using Microsoft Entra Integrated Authentication
We need your assistance with connecting to a managed SQL instance using Microsoft Entra Integrated Authentication from VM. We're encountering the following error when attempting to connect. This is required for migration of our solution to Cloud. …
How to update the activation of SQL Server?
Dear All, We have an open value agreement and recently we have added an extra SQL license to the agreement. First, we purchased a license for 4 cores then we added 4 cores. Now, how can we use these new extra SQL Server licenses on the existing SQL…
Licensing for read a database master in sql server always on
Good morning, I'm wondering about the licenses to have on the nodes of an Always On cluster. We have the main node and two passive secondary nodes. In order to monitor the good state of a cluster I made a procedure stored in the master database which…
we got alert issue on SQL server
Hello support team, Error : -1 in function sqlconnectionwithretry(SQLConnectionwithretry)) (258) (08001)[Microsoft][OBDC driver 17 for sql server] TCP Provider: the wait operation timed out Pls kindly check my attatch file for detail Thank…
SQL Server blocking
The attached query is causing blocking problems (root blocker) with other SQL statements. Can you please review the attached query and suggest If I need add/or remove indexes to prevent blocking. Please advise. https://easyupload.io/zwcpgi
Does Encryption columns (Deterministic/Randomized) support Merge SQL statement inside stored Procedure? If not, how to replace merge SQL statement with other code?
There are 2- encrypted (Deterministic & Randomized) tables And I am loading data into Table1 via SSIS package. And after that, I am using Stored Procedure to merge data from table1 to table2 based on matches - INSERT, UPDTAE OR DELETE.
DT_BYTES not able to convert Packed decimal in right format
I get weird result when I convert the ASCII file containing the packed decimal received from upstream system. The data is in form 0x00 0x00 0x00 0x00 0x00 0x97 0xB4 0x62 0x19 0x0A which dosen't seem to me correct ZONED format. Can someone please…