The job was stopped prior to completion by Shutdown Sequence 0.
We got below error during one of the sql server agent job running. The job was stopped prior to completion by Shutdown Sequence 0. We are using SQL Server 2008 R2. I dont see anything in SQL Server...
View ArticleFAIL_PAGE_ALLOCATION - SQL Server Crashed
Hello. last night our production server went pop in spectacular style. The following is the beginning of the 1000's messages from the SQL error log, the whole log is too large to post (it reads from...
View ArticleSQL Server - Merging Two Tables with PK on both tables
Hi, I had a situation where we have two different DBs with Table-A (on DB1) & Table-B (on DB2). I have to merge both tables to a single new table (Table-C, this table can be on DB1 or DB2 or...
View ArticleROWLOCK, UPDLOCK, READPAST Together
Hello, I have noticed few queries uses ROWLOCK, UPDLOCK and READPAST query hints together. I want to know whats the difference between below 2 queries: Case I SELECT queries (ROWLOCK, UPDLOCK,...
View ArticlePartitioning strategy - design help
Hi all, We're trying to come up with a new partitioning strategy for our large fact tables as we are outgrowing our current approach. We're also very excited about using columnstore indexes (as it...
View ArticleMessage is Busy from SQL Server Management Studio
Hi, I started getting a delay when I try to connect to a SQL Server 2005 server from Management Studio. I get a little pop-up from the quick launch telling me : Is Busy. SQL Server Management is...
View ArticleHow to backup to folder other than default? - 'NT Service\MSSQLSERVER'...
Hello All, I installed SQL Server 2012 Express on standalone Server 2008 R2 (64b) as the default instance with all the default settings. Server runs under 'NT Service\MSSQLSERVER' account. After...
View ArticleJob failed
Hi, I am running 1 step job with run as ....... and receiving following error: "Message The job failed. Unable to determine if the owner (xxxx\1234) of job test has server access (reason: Could not...
View Articleschema does not exist or you do not have permission to use it SQL Server 2012
I created two schemas inside the same database by right-clicking the Security node and selecting New -> Schema. They are both owned by dbo. In SSMS new query window I am able to create tables...
View Articlelsass binded to 1433
Hi, I have a very bad situation here where the port is accessed by 1433. I am not able to connect to 1433 for my mssql server. I want to use msdtc also. I need help.
View ArticleWhat is the purpose of Transaction Log in Tempdb
Hi Experts, There are a lot of questions and blogs on truncating and reducing the transaction log of tempdb. But what I understand is that the purpose of transaction log is to recover database (on...
View ArticleGenerating date_key
HI This is my dim_date table here week_in_year column every 5 days need to change value ,in jan we have 31 days, up to 30 days fine ,for 31 day have contain single week_in_year(i mean 7), but February...
View ArticleCan I create a duplicate of login
Can I create a duplicate of login in security section?Thanks
View ArticleSQL Database initial size
Hi, I need your Advice. Details as fallows: Existing DB setting in Production DB (SQL Server 2005) Total Database size: 316686.25 MB (Sql Management Studio-->Database-->Properties--General) Space...
View ArticleLinked servers - different login mappings based on context?
I can set up linked servers with various login mappings for different users. But sometimes I need a login to be mapped differently depending where I am using it. e.g. for scheduled jobs that use linked...
View ArticleCentral Server mangaement system
Central Server mangaement system gives error on sql 2008 R2 dev edition TITLE: Registered Servers ------------------------------ Operation not supported on SQL Server 2005....
View Articlesql server become slow
hi what happen that sql server 2008 become very slow Already sql server was fast
View ArticleLogon trigger - capturing t-sql statements
Hello I am trying to create a logon trigger to alert whenever anyone logs in using the loginname 'sa'. The logon trigger works fine with the code below inserting rows whenever anyone logs in using the...
View ArticleTempdb on SQL 2k8r2
Does having large tempdb files cause performance problems? If yes, what kind of performance problems and why? Considering that all tempdb files have to be the same size and sometimes you need to free...
View Article