Database in Recovery Mode
I have a big delete operation, then while deleting the server went on a restart.When opening the server again, I got the database In Recovery mode.What is the solution?
View ArticleSetFileIOOverlappedRange Error AFTER Installing SQL Server 2008 R2 SP2 / Win...
SQL Server 2008 R2 - 64 BitVersion: 10.5.4260 (SP2 CU1)OS: Windows Server 2008 R2 Enterprise 64 bit SP1 With Hotfix 2679255 installedSQL Server Trace flag 8903 enabledIn the environment described...
View Article[FullText] Indexer seems to cut up some words at accent position
I have a full text catalog defined on 2 VARCHAR columns of a single table. It works well except for a few words where indexation seems to cut the term where an accent is found. It doesn't do it for all...
View ArticleAvailability Group Listener and Named pipes
In a 2 node Availability Group with tcp and named pipe protocols enabled, how can you get named pipes to work ?Say for example I have a Windows cluster called DEVL with 2 nodes DEVLA and DEVLB with an...
View ArticleNeed to script/loop adding new databases to SQL 2012 AlwayOn configuration...
Greetings! I've installed and successfully configured our SQL 2012 AlwaysOn 2-node servers for our new "Intranet" that is coming out. I've gotten AlwaysOn working great, and our Front End servers for...
View ArticleSSIS package and Performance
We have a SQL server which has 24 GB RAM that runs slowly when doing a big SSIS package run (last about 4 hours). I see Page Life expectancy is very low , it goes down to 7 when the packages are...
View Articlecalling an sp with dbo. specified
I have heard rumors that calling a stored procedure runs a little faster if you specify the schema, as in "exec dbo.mysp".We have an app that is sending commands to SQL Server as RPCs, judging by the...
View ArticleAny way to tell who created a job or more detailed history?
Had the case a few days ago I get an email about a job that failed. Although the name looked familiar, after taking a look at the server, I concluded it was not something I had worked on. What are...
View ArticleWhich database login is mapped to which databases and what permission are...
Can I get a script that can give me the details of :Login Name-->User Name-->Permission-->database NameWhich database login is mapped to which databases and what permission are mapped.Thanks
View ArticleDeadlock reports not appearing in log
On our dev system, the trace flags 1204 and 1222 are on, deadlocks are detected and resolved, the reports appear nicely in the profiler, but they are not appearing in the system log. SQL 2008 not R2,...
View ArticleSQL Server 2008 on VM
Hi,We migrated our sql server instances that are mix of 2005, 2008, 2008 r2 (standard, enterprise) from physical to virtual. We have UCS in our data centre. In VM environment we are sharing CPU. Our...
View Articlecan't locate foreign key
Hi,Newbie question. if this is not the right forum, let me know (I'm sure someone will!) SQL SERVER 2012 - I cannot create a foreign key. Error is: Unable to create relationship...
View ArticleWhich is better ? DBCC MEMORYSTATUS or sys.dm_os_sys_info ?
Am a beginner to SQL Server usage. What is the difference between using DBCC MEMORYSTATUS to get the memory usage detail (i.e. % of memory usage), and using columns from sys.dm_os_sys_info ? I heard...
View ArticleIndian Standard DateTime without based on System DateTime
Hi all,I am unable to get the Indian Standard DateTime without based on System DateTime in sql server 2008 r2.Can you please solve my problem.Thanks in advance
View ArticleNolock hint
I have a SQL server database using SQL Server 2008.I had an update performance issue and found that it block by a stored procedure select SQL.I put with (NOLOCK) on the stored procedure and the issue...
View Articlesql server service terminated unexpectedly
A SQL crash has occurred on a clustered SQL Server 2008 R2 SP2 system. The service crashed and restarted itself, any pointers? Error in event log: The SQL Server service terminated unexpectedly. It has...
View Articleola.hallengren maintenance solution
Hi, I am using http://ola.hallengren.com/, but I got an error when I schedule this in sql agent job. it says:1 Incorrect syntax near 'sde', can anyone help, I would exclude the index optimize for...
View ArticleQueries only working with the first 299 rows
Hello everyone, I am having a bit of an issue with SQL Server 2008, I am trying to know why my queries are not working correctly.They only affect the first 299 rows or so, even if I do a "SELECT * FROM...
View ArticleArchive table data will speed up inserts?
I have a table that gets inserted into several times a day. The current archive process thats in place does not include this table and it has almost a million rows in it, along with several...
View ArticleProblem with SQLServerWriter failing to prepare snapshot
I have been having a problem with a third party tool we are using to do farm backups on Sharepoint. It is backing up the WFEs and app servers fine using VSS.. but when it comes time to backup the sql...
View Article