Content
Database Mirroring Doubt
I read that in Database Mirroring, every transaction on primary database is replicated to mirror database. I have a doubt here. The mirror database is not accessible, so how the mirror database gets updated?


How to uninstall SQL,because it won't let me.\
TITLE: Remove SQL Server 2019 ------------------------------ There are validation errors on this page. Click OK to close this dialog box. Review errors at the bottom of the setup page, then provide valid parameters. ------------------------------…


Is there an issue if back up of SQL Express DB is restored on MS SQL Server DB?
Is there an issue if back up of SQL Express DB is restored on MS SQL Server DB?


asp.net setup doubts
Hello We Have developed one small web application which has aspx page and cs file c# as a code behind. We use database as sql express 2008 R2 Microsoft SQL Server Express Edition with Advanced Services ( sql server management studio …


SSIS tool tips are not disappearing VS2019 16.11.22
Various tags pop-up, seemingly at random, when I'm editing an SSIS package. They often stay there for quite a while always at the front of the screen as I move the VS window around. If I select another app, they disappear. In the case of this…


How to fix ODBC error 772 windows 11 22H2
ODBC connection with sql server 2005 (compatible 2000) failed after november update. January update didn't fix the problem. Already tried with installing newer version of the ODBC driver, but this didn't work. Anyone any other idea ?


How to prevent SQL Server from adding additional parenthesis and changing the definition of a column on it's own when executing a create table script
We have to change the increment value and reseed the identity definition for columns on several tables within one of our databases. We accomplish this by using the, “alter table ‘X switch ‘Y“, command which allows us to merely switch the partition from…


Fragemented indexes
Hi All, Is there a way to tell at what level the index pages are fragmented ? is it leaf level or intermediate levels of the index is fragmented? just a side note, does sys.dm_db_index_physical_stats () show us leaf level fragmentation or does it shows…


Can an INSERT statement block SELECT ?
Hi All, Can an INSERT statement block SELECT statements? not sure why ? Can anyone help me understand in what scenarios it may happen? Thanks, Sam


SQL Tempdb taking up space
Hi friends, we have two synchronous and one asynchronous sql 2016 servers with Always On. Our tempdb are six files in one volume on one disk and another six files on another disk for a total of 12 files. During the early morning routines, a curious…


Why does sys.dm_hadr_cluster return a row on SQL 22 on Linux when AlwaysOn is enabled?
Hi folks- I have a SQL 22 on Windows instance and a SQL 22 on Linux instance. I have enabled AlwaysOn on both and created a read-scale/clusterless AG that spans the two. When I query sys.dm_hadr_cluster on Linux, I receive the following…


Two node Always On cluster setup
Hi All, SQL Server 2019 - CU18 Windows 2019 - 2 Node Cluster. 8 CPU Cores - 96GB RAM --> Would this CPU and RAM be sufficient ? Have around 120 databases with total size of 350GB and a very busy processing with over 2000 connections to the databases…


How to put DB in signle user mode which is in Cluster
Hi Team, As part of some activity, i am planning to put SQL DB in single user mode? This is SQL Cluster (Active/Passive). What is the procedure?


The SELECT permissions was denied on the object 'dm_os_host_info', database 'mssqlsystemresource, system
Hi Team, Recently i am working on one test server, by mistakenly i revoked some permissions. After that when i try to login i am getting error and i don't have any login account(Systadmin) to login to the server. Please suggest me how to fix that. I do…


can replication be limited to just some tables in the db?
hi , can replication be limited to just some tables on the db or must it be on the entire source db? and if the source has timestamps, will there be any problem for sql to keep them as is on the target/replicated db?
SSRS permissions issues.
Greetings. I have a group of folks that I want to allow the ability to author reports within specific folders only. Within the home/ folder1 structure they have the Browser role. Within the home/ folder1/ custom structure they have all roles possible.…
Change Tracking - Multiple xdes_id in table [sys].[dm_tran_commit_table] for the same commit_ts
Change Tracking is activated on a Microsoft SQL Server 2012 To get the Commit Date of the changes we LEFT JOIN on table [sys].[dm_tran_commit_table] FROM CHANGETABLE(CHANGES [Grf].[ChangementStatut], 55169) ct LEFT OUTER JOIN…


SSIS incorrect connection string format (intermittently)
I have migrated SSIS project from SQL server 2017 to SQL Server 2019. In this project connection strings are loaded dynamically from database - there are always 8 databases through which it iterates. After migration to SQL 2019 I periodically receive…


SSRS report - Toggle column
I know I can toggle column's visibility based on another item. That means the other item would have a plus sign for a user to click on. What I want is to use the same toggle mechanism to collapse a column but without user interaction. Another words, to…
database reference for Linked Server Object
Hi all, I imported a SQL Server 2016 database into a VS 2022 SQL Server Project and the import finished without exceptions. When I tried to build the project, though I got a whole bunch of warnings about non existent referenced objects and that is…

