Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15694 articles
Browse latest View live

Intent locks

what's the differences between the following locks ?Intent Shared (IS)Intent Update (IU)Intent Exclusive (IX)Shared Intent Update (SIU)Shared Intent Exclusive (SIX)Update Intent Exclusive (UIX)

View Article


reuild index under bulk-logged recovery mode

If we set the database recovery option to bulk-logged before Rebuilding index, in-case during the rebuild index the system crash . the rebuild index operation will be ROLLBACK ?

View Article


Extent Allocation on the physical disk

is there any way to  make sure if the extent allocation (64KB) are continuously allocated (uniform extents) on the physical disk? Pre allocate the data files size can do that ?

View Article

SQL Server Agent Job Notifications Not Working

We have successfully setup Database Mail, and I am able to right click and 'Send Test E-Mail' and it works perfect. We have a few jobs setup in SQL Server Agent, and if the job fails it should e-mail...

View Article

Image may be NSFW.
Clik here to view.

dm_db_index_physical_stats

are there any calculation for column avg_fragmentation_in_percent ?So avg_fragment_size_in_pages = Page_count/fragment_count.  

View Article


update statistics with sample

I am having a SQL Server 2016 instance , and I found that update statistics with sample 10 percent not always works for small tables. for example I have a table have 10000 rows , and update stats with...

View Article

After server restart, Tempdb not releasing space

Hello,In my SQL instance I  have 1 TempDB mdf and 7 ndf files which all grew to 63 gb and filled up the 500 gb drive.I got permission to reboot server, however, TempDB files did not shrink.What should...

View Article

Query Xevent using TSQL

I have the following 2 xevent, and I am just wondering how to query it using TSQL ?CREATE EVENT SESSION [audit_login] ON SERVER  ADD EVENT sqlserver.error_reported(...

View Article


powershell Backup-SqlDatabase

Anyone know if there are verbose mode / or log output can output the results of Backup-SqlDatabase ?

View Article


Image may be NSFW.
Clik here to view.

failed: run sql server agent job to call store procedure on another server

Sql server A, Sql server B, oracle database server  CNow,SQL server B load data from oracle database server C to sql server B's database BB, using store procedure Load_oracleOn SQL server A,I create...

View Article

Intermittent Connectivity Issues

Application team is facing intermittent connectivity issues to the database, they are facing below error, after multiple tries they are able to connect to the database.Databases servers are configured...

View Article

alter table to add columns doesnt seem to work

hi we are running 2014 enterprise and the following alter command doesnt seem to work...i tried rowversion also.  I know i've done something similar before but on later versions of sql most...

View Article

SQL Server Connection Issue

Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The specified network name is no...

View Article


change datatype varchar to nvarchar in publication table (transaction...

there is article published from serverA to serverB   (transaction Replication)Table: productdatatype: varchar(50)when am going to alter the table ,alter table product alter column name nvarchar(50)...

View Article

SQLServerLogMgr::LogWriter: Operating system error 170(The requested resource...

Hello Experts,        We have SQL Server 2012 on Windows server 2012 Failover cluster(VM).  Few days back we have installed Anti virus on Cluster nodes and got the error SQLServerLogMgr::LogWriter:...

View Article


How to get the information why SQL server and windows server went hung state?

Hello Experts,  SQL server is in windows cluster 2012 and it is in VM ware. Some times this server is going hung state and it is fail over to another node with out showing any error message.   And...

View Article

PolyBase : Access Data in cosmodb using mongodb fails with error

Hi All,I am trying to access data in my azure cosmosdb  using SQL Server PolyBase (cosmosdb was created using "Azure Cosmos DB for MongoDB API) I am able to connect and access documents using mongo...

View Article


SQLServer 2019 BDC comparision

All,I have to come up with a comparison for SQLServer 2019 BDC. What other softwares can it be compared with (both Vendor based and OpenSource)?Thanks,gopi

View Article

getting error related to quoted identifiers on computed columns

hi we run 2014 standard.  does anybody know what this error means? its definitely related to a computed column i just added over which a non clustered unique index was built.  the computed column is...

View Article

SQL Server 2016 SP2 > Database mail not sending mails.

Hi All.I have several sql server instances running SQL Server 2016, sp2Microsoft SQL Server 2016 (SP2-GDR) (KB4532097) - 13.0.5102.14 (X64)   Dec 31 2019 22:39:35   Copyright (c) Microsoft Corporation...

View Article
Browsing all 15694 articles
Browse latest View live


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