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 ArticleHow to find permissions on all the tables of a database of one login.
How to find permissions on all the tables of a database of one login.Thanks
View Articledatabase issue
Hi, Autogrow of file 'database_log' in database 'database_name' was cancelled by user or timed out after 16411 milliseconds. Use ALTER DATABASE to set a smaller FILEGROWTH value for this file or to...
View ArticleMonitor 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 ArticleUnable 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 ArticleForce 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 ArticleSQL 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 Articleproduct 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 ArticleDynamic 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 Articlesysjobactivity 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 ArticlePerfmon 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 ArticleDebugging 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 ArticleDefault 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 ArticleHow 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 ArticleChangeTracking auto cleanup problem
I use ChangeTracking in SQL 2012 and IsAutoCleanup is true. But my settings have no effect on the actual situation. I put 1 hour, 5 hours, 10 minutes, 2 minutes, 40 minutes, but the cleaning is always...
View ArticleHow 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 ArticleSQL 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 ArticleCan 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 ArticleSSIS package
Hi All, I have made an maintenance plan and would like to export to dtsx, and import again.however I find the schedule on each subplan is disappeared after import. Any things I can do to keep the...
View Articlesql server services starting problem..
HI team,when i try to start the sql server services i am facing the bellow error, please give a answer...
View Article