Quantcast
Browsing all 15889 articles
Browse latest View live

SQL CPU affinity and unchecking instances from using it, what is the result?

Hi, Our SQL DBA has configured CPU affinity for two instances out of four. What is the resulting CPU available to the unchecked instances? If the the server has 32 cores and the first two instances...

View Article


Job is not running but activity monitor is showing next schedule time

Hi,My backup jobs are not running. activity monitor is showing next schedule time but job is not running & there is no any failure log or error i have found in sql server error log. but i have...

View Article


Reporting Service

Hi,What is the difference if we add reporting services in the current instance and if we install as seperate instance?During installation there is one option to select features. We can select database...

View Article

Monitor ressource governor workload group fails as data collection ?

Hi all, I set up ressource governor in sql 2008 r2. Am able to monitor cpu usage % per workload group live. When I add "\SQLServer:Workload Group Stats (*)\CPU usage %" into a data collection no data...

View Article

Unable to create filegroup for filestream implementation on SQL Server 2008...

Hi,While trying to create a filegroup of a SQL Server 2008 instance with the following query, we get the following error message:Query: ALTER DATABASE MyDB ADD FILEGROUP MyDBFileGroup CONTAINS...

View Article


Force kill a process

If I have a backup of a database and don't mind using it, is there a way to force kill a process.  Ater an hour of watching a process killed after 10 minutes of execution, I still get the following...

View Article

Image may be NSFW.
Clik here to view.

Can be stored procedures without cache?

Hello Guys!Today one procedure in my company after job for recompile, was no cache stored when I find with this select:SELECT [cp].[refcounts]  , [cp].[usecounts]  , [cp].[objtype]  , [st].[dbid]  ,...

View Article

DTS package runs successfully but job failed

I have one jobs which is created by DTS package in SQL server 2000.For some days the job is failed having below error.Executed as user: FIRSTQ\SQL_Service. ...ing...   DTSRun OnStart:...

View Article


SQL Server 2012 - Missing or lost transaction and no errors to show what went...

I have 2 missing records in SQL server and I am trying to identify the problem that caused this issue. New records are inserted using a Stored Procedure, which will return an error code to the...

View Article


product level vs service pack

Hi.  When I run a profile on one of my engine instances, I see this@@version = Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (X64)   Sep 21 2011 22:45:45   Copyright (c) 1988-2008 Microsoft Corporation...

View Article

Error carga archivo plano con Bulk Insert

Hola a todos.Tengo un problema cargando un archivo plano con Bulk Insert, cuando se carga el archivo no puede interpretar la letra "Ñ" y la reemplaza por símbolos como "Ñ"  ejemplo un apellido como...

View Article

Dynamic SQL

 Hi, How good are Dynamic SQL queries for SQL Server's better peformance ? I m just asking because I got a request from one of our developers to tune a stored proc that he develped. It has 800 lines...

View Article

sysjobactivity cannot insert duplicate

We have a job which runs through ok, but right at the end it (presumably) tries to update sysjobactivity to say success. Upon attempting to do this it looks like it's failing (with error below in error...

View Article


Image may be NSFW.
Clik here to view.

Perfmon is reporting very high "waits started per second". What are possible...

Win 2008r2 Enterprise.  SQL 2008R2.Included is a screenshot of the perfmon capture.  Notice the Wait Stats section at the bottom and the high waits starts per second.  What causes could explain this...

View Article

Debugging tips for job/procedure - SQL 2005

SQL 2005 standard editionCan I step into a stored procedure from SSMS ?Ive read where you can do remote debugging if you install some additional components, but Id rather not do that.

View Article


Default return value from stored procedure if none specified?

If a procedure just simply returns with no value specified, what will that value be, 0?

View Article

How to tell if statistics are causing problems

Is there a system view I can query to tell me if there is something wrong with statistics for a database which might cause strange problems with a procedure?

View Article


How to tell if a job is hung up or being blocked? no blocks seen with sp_who2

Ive started a job on a server that I have inherited, by right clicking on it and starting it.Its still running, and has not errored yet, but Im thinking it should have finished by now.How can I tell if...

View Article

SQL 2008 R2 standard edition upgrade to enterprise

Hi AllI try to upgarde the editions of SQL 2008 R2 standard. But Failed.Overall summary:  Final result:                  Failed: see details below  Exit code (Decimal):           1570409569  Exit...

View Article

SQL Server keeps stopping every time I start it.

Hi All,I can't log into sql because every time I try to start my sql server in services it stops again.SQL ErrorLOG: 2013-05-13 17:03:07.15 Server      Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0...

View Article
Browsing all 15889 articles
Browse latest View live