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

Query in the maintenance plan tables does not reflect reality

Hi all, I am using SQL Server 2005 Enterprise Edition.I want to get information about my maintenance plan using T-SQL but the results I get does not show the real maintenance plans state.Here is my...

View Article


Understanding sliding window technique for partitioned tables - SQL Server 2012

Hi,reading this article http://blogs.msdn.com/b/sqlcat/archive/2013/09/16/top-10-best-practices-for-building-a-large-scale-relational-data-warehous.aspx?wa=wsignin1.0where it is reported "Always keep...

View Article


Audit log, trigger, and Single Responsibility Principle

I would like some guidance on SRP and creating trigger(s) for logging data changes.  I am going to use a history or shadow table that mimics the data table and triggers to log the changes.  What are...

View Article

automate sql scripts

HiHow can i auotmate the SQL Server scripts and route this output to mail.Select @@versionRegardsMrvsMRVSFLY

View Article

Querying InLine Table Valued Function: Buffer provided to read column value...

I put together an inline table valued function to produce a table.  I have 3 stored procedures that select from this function.  1 takes the results and concatenates to a single column (let's call it...

View Article


The conversion from date to BINARY is unsupported. ERROR

I try to query database, sometime it can query and sometimes it cannotAnd It show error belowcaused by: Unable to retrieve result from data source "xxxxxxx" during    query execution.  Failed query:...

View Article

High CPU - Low Memory

Hi All, I'm having some issues with SQL Server, a product that I have on multiple machines works fine however on one server it seems to be having issues. Looking into this further it seems SQLServer...

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


SQL 2012 - Extended Events->System_health->Watch Live Data Output -...

Hi all, Just wondering how I should interpret these log messages when I watch live data if there are no failed Login attempts logged in the SQL Server Logs? Any advice appreciated. Kind Regards, Matt

View Article


Image may be NSFW.
Clik here to view.

T-SQL Script type job

Hi All,I have a script, the output of which I want to schedule. So far for such tasks I used to use SSIS and then schedule it.Now the problem is that my SQL Server Agent is on local machine and the...

View Article

How does the software know the database is suspect or unavailable?

Hello,We know it is unavoidable that SQL Server database may be  damaged, suspect or unavailable for some reasons such as power off unexpectedly,  harddisk failure etc.If this happens, we can choose...

View Article

Cannot open backup device 'F:\foldername'. Operating system error 5(Access is...

SQL 2005 EnterpriseEven if I logon as Administrator and try to backup any of my databases to local partitions, I get this error below. I have been operating fine up until this point and doing backups...

View Article

Transaction Log issue

Dear AllI have a database with SQL 2008 R2, running a database with SQL 2000 compatability.The database's recovery is set to simple.It is not been used for either replication or mirroeingAccording to...

View Article


Question regarding SQL Server, Disks and Partitioning....

Folks, I have a few basic questions regarding the benefits of partitioning on the same drive.  I've ready articles that say there is a benefit, and I've ready articles that say there isn't a benefit....

View Article

CPU usage is high...

hi team,we have one of production sql server that production having 8 processes(CPU), those 8 processes always CPU hit to 90% .we checked all the required parameters but no issues, how we can resolve...

View Article


Windows Server 2008 R2- VS 2010- SQL SERVER 2012 SP1 Installation

The hotfix available in the below linksIssue 1: Prior Visual Studio 2010 instance requires UpdateFix Available:http://www.microsoft.com/en-us/download/details.aspx?id=23691Issue 2: Microsoft .NET...

View Article

Image may be NSFW.
Clik here to view.

November on TechNet: Calling All SQL DBE Gurus - Enlighten Us!

"An influential teacher, or popular expert" Oh mighty reader, we need your enlightenment! Only YOU can show us... the TRUE WAY to code! Win the love and adoration of generations to come, by giving...

View Article


Consideration while KILLing a transaction

Hi,I have a questions related to KILLing a transaction. 1. Can i directly Kill a transaction if I found it is the culprit in the blocking chain. Do I need to intimate the end-users of Killing the head...

View Article

Move FTData Folder - SQL Server

Hello,OS Name    Microsoft Windows Server 2008 R2 Enterprise Version    6.1.7601 Service Pack 1 Build 7601Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)   Apr  2 2010 15:48:46   Copyright (c)...

View Article

SQL Server clustering issue

We have a two node cluster. We applied windows OS patches on both the nodes as follows:There are 3 services(SQLServerA,SQLServerB,DTC) running in this SQL clusterNode1: Moved all the three services...

View Article
Browsing all 15264 articles
Browse latest View live


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