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

Avoid or Remove Deadlock

Hi,I have two process running parallel. One process(process1) is deleting rows in table 1. But in another process(process2) table2 is getting inserted with rows.Table2 has table1's primary key as...

View Article


Login failed to sql server after changing domain account

Dear allI have joined the server running sql server 2012 to another domain because my previous DC demoted, created domain account then used the account to start sql server service successful. The...

View Article


Multiple Partitioned Indexed Views

Hi,I have a peculiar problem for which I can't seem to find any info. In a DW scenario I have a fact table which is partitioned. To insert/update the table we switch partitions out, then in per day. It...

View Article

Image may be NSFW.
Clik here to view.

Be our December TechNet SQL DBE Guru. Give the gift of code!

It's that time of the year again!It's Giving time!A time to think of those less awesome than you.A time to give something back to the community.Think of those happy faces you will make, as they open...

View Article

Image may be NSFW.
Clik here to view.

Database backup got failed because of below error.

Hi All,PFSS,we are taking the backup of the database through maintenance plan wizard. is there any other way without changing the name of database?Thanks,rup

View Article


Performance Issue Using T4199 or T4126

Hi, we migrated a database from a SQL Server 2008 server (production) to a SQL Server 2008 R2 server (test - version 10.50.4000).  The test server has the trace flag 4199 enabled.  The original...

View Article

SQL server CLR creation error "Failed to create AppDomain"

We have a CLR stored procedure registered on all different SQL environment which was working perfectly. But one SQL server 2008R2 instance throw an exception while creating CLR as:Failed to create...

View Article

Any script to add multiple agent jobs in new agent category?

I have created new agent category and now I want to add jobs under that category. Any script which can fulfill above requirement?Rahul

View Article


SQL 2012 statistics issue

Hello,I have a performance problem on my SQL 2012 SP1 enterprise edition database server. Basically we have a query that is reporting against a 600 million row table on which we have a clustered index...

View Article


Perfmon Versus DMVs

I am looking at Perfmon and I can see that for the following countersSQLServer:Buffer Manager               Buffer cache hit ratio...

View Article

A scalar function removes rows

Hello,I have a complex scalar function which requires 2 integers and returns 1 integer.Now if I add that function to my query I loose two rows. Is that possible ?The function is add to the select list....

View Article

SQL Restore error

Dear all,I'm trying to restore an SQL Server database from one server to another but I get the following error:The media family on device 'G:\FULL_databasename.bak' is incorrectly formed. SQL Server...

View Article

Sequence restarted at restart server???

I've created a sequence for a logging table:CREATE SEQUENCE [dbo].[LoggingSequence] AS [bigint] START WITH 110356 INCREMENT BY 1 MINVALUE 1 MAXVALUE 9223372036854775807 CACHE 2000 GOBut now it has...

View Article


SQL Agent Job is failing due to job has been suspended

Hi All,I am working on Migration Project,  so after installed sql server i restored msdb database and edited maintatince plans with new connection string and when i am trying to run any job i am...

View Article

INSERT statement conflicted with the FOREIGN KEY constraint. The statement...

Hi all, I get this error when inserting data...The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Participant_Log_BiometricInstance_Participant_Activities". The conflict occurred in...

View Article


Debugging SQL minidump - sqllang.dll symbol issue

Hi,I am attempting to debug a SQL 2012 minidump to find the root cause for the dump.I am getting the following log0:006> !analyze -v...

View Article

I/O Frozen in SQL logs

Hello,Twice a day during the DPM Backups users could not access anymore the applications... I noticed in the SQL logs these...

View Article


Licensing for MS SQL Server 2000 & MSDE 2000

Hi, I'd like to ask about the licensing requirement for Microsoft SQL Server Service Manager v8.00.20.39 and Microsoft SQL Server 2000 Desktop Engine (MSDE 2000). Let me describe the situation. In the...

View Article

Proof of concept by Monitoring the Data in MDF and NDF Files

Hi All: As per the below statement from Microsoft: SQL Server files can grow automatically from their originally specified size. When you define a file, you can specify a specific growth increment....

View Article

sys.index_columns.key_ordinal versus index_column_id

http://msdn.microsoft.com/en-us/library/ms175105.aspxWhat is the difference between key_ordinal and index_column_id?One one table where there is no PK indicated by there is a clustered unique index...

View Article
Browsing all 15264 articles
Browse latest View live


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