Quantcast
Channel: SQL Server Database Engine forum
Browsing all 15930 articles
Browse latest View live

How to setup SQL Alert on any error in SQL Server

I am looking for any possible ways to setup SQL Server Alerts on any error that occurs in SQL Server, is there a simple way to achieve this? I know, I can configure separate SQL Server Event Alerts...

View Article


Extended Events Mirroring Tracing

I am doing some performance investigations in a database.Two servers with synchronous database mirroring between two data centers.A simple stored procedure with one insert statement (auto-commit...

View Article


Apply service pack = Copy Resourcedb

As per book online=================Because the Resource database file contains all system objects, an upgrade is now accomplished simply by copying the single Resource database file to the local...

View Article

Quota in Tempdb

Can we place quota in tempdb/userdb so that one session can't use more than 10% of it's actual size.Manish

View Article

SQL 2012 AlwaysOn AG and SQL Login

Hi all,I have two servers, lest say SRV01 and SRV02 with SQL Server 2012 Enterprise, I've built an AlwaysOn Availability Group and I've a single database, let's say DB1, in this AG.My instances are...

View Article


SQL Server 2008 R2 - Memory Problem - Error: 17803, Severity: 20, State: 13.

Hi, since a few back we been having some memory problems with our sql server, nothing have really change in the enviroment but these issue are kind of new. ANY HELP WOULD BE APPRECIATE THANKS. here is...

View Article

Maintenence plans - if tasks not connected will they all still execute?

I'm looking at a maintenance plan that someone else setup and the tasks (rebuild index, reorg index and check db integrity) are not connected.Shouldn't they be connected in order for them all to be...

View Article

SQL server 2008 (build 10.0.5500): Why a table with Non-clustered index takes...

Quite strange .  CREATE TABLE [dbo].[test]([i] [int] NOT NULL, PRIMARY KEY CLUSTERED  ([i] ASC )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON,...

View Article


Import into Time Field

I want to import a datetime field data from MS Access to MS SQL 2008 Time field and realize that it import 1:00:00 PM from MS Access table to change to 1:00:00 AM in MS SQL Server table.It works if I...

View Article


how to find out perticular database has performance issue?

I have Altiris application database on sql server 2008 R2. user is requesting to find out performance issue on database.I need to know how to troubleshoot for perticular database performance issue or...

View Article

ChangeTracking explicit cleanup

I have what I would think is a very standard use case for Change Tracking in SQL Server 2012.  We have an OLTP database and a separate reporting database which will be periodically updated via...

View Article

Miantenence plan job is enabled - so why no job history in msdb.sysjobhistory?

SQL 2005 SP2Have a maintenence plan, which I was attempting to view the job history on.Both from sql agent, and through the statement below.  In both cases, I see NOTHING.SELECT TOP 100 * FROM...

View Article

SQL 2005 NUMA Foreign Pages Issue

So what I'm seeing is 8 NUMA NODES and Node 001 has 562,568 Foreign Pages... while the others do not... I'm not an expert in SQL but what can I do to fix this? We're running on VMWare 64cores /...

View Article


Database curruption

Hi, CHECKDB found quite some errors on a database. The error messages are like:Msg 8909, Level 16, State 1, Line 1Table error: Object ID 0, index ID -1, partition ID 0, alloc unit ID 0 (type Unknown),...

View Article

Clustered 2008 Enterprise Install and Mater Key Encryption Problems

I have had a Clustered SQL Server 2008 environment working well for years.  For some reason now when it fails over I am receving cannot decrypt errors when my stored procedures run.  I have narrowed it...

View Article


Image may be NSFW.
Clik here to view.

Unable to release Tempdb free space

Hi All,My tempdb drive size is 50 GB. Now it is occupied 43 GB. when i checked sp_spaceused, the result as below.database_name | database_size | unallocate spacetempdb               | 43161.94 MB   |...

View Article

checking cores for sql server

Hi,How to check how many cores on per cpu in sql server orhow many cores our sql server instance is using. I need this for licensing purpose.Thanks

View Article


SQL Audit fail

Hi I see many audit fail for MSSQLSERVER at eventlogand the login is from a remote computer and the login name is"domainname\REMOTESERVERNAME$"But I don't know which login it is referring to . Any hints?

View Article

Replication and Clustering

Hi, Is it possible to set up a Publisher-subscriber replication on a SQl cluster that has two nodes? I have never seen this kind of configuration before. Thanks. 

View Article

Can xp_instance_regread be error handled

I have a small script generator which will try to find which folder a backup file needs to be restored to and eventually print the restore script in the messages section in SSMS. During location of the...

View Article
Browsing all 15930 articles
Browse latest View live


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