SQl server agent for named instance not starting
Hi In one of my machine (sql server 2005 ) we have 3 instances 1 default and 2 named (all are using same service account), i am not able to start sql server agent for named instances (no details in...
View ArticleSQL Server 2012 AlwaysON HADR Setup
I have few question regarding always on integration with AD and DNS Server. As I understand WSFC need to be enabled for alwayson HADR setup in 2012 and we need IP reserved for each nodes, ClusterName...
View ArticleSQL Server 2005 Database Mail - Mail configuration information could not be...
I'm trying to setup Database Mail and send a test message, but it's not working.I've done several step-by-steps and all and I can't get it to work. Also checked several posts in this forum but none...
View ArticleCannot start sql server (cluster)
Hi.I have set up a cluster, identical in two environments. In vmware vphere 5.sql 2008r2 on server 2008r2 x64One of them will no longer start the sql service.Don't know exactly what has happened here,...
View ArticleIf i use "mssql server 2008 r2" and "oracle 10g" simultaneously in one...
I want to use "mssql server 2008 r2" and "oracle 10g" simultaneously in one server.But, i worryed about collision problem... is there any errors?
View ArticleFind data import duration by a Windows Service
HI,We have a windows service which pulls in data from a file share daily. How can I find out, how long does it take everyday to finish the data import process?Thanks!Thanks very much, Manoj Deshpande.
View ArticleHow to determine why duration of a query varies.
I have a complex SQL query generated by a C# object model layer. Using SQL Profiler I have monitered the database which is only used by this application. For the same query the duration varies between...
View ArticleMaintanance backup plan fail
Hi allI have a maintenance plan to backup ALL databases on everyday 11:00am. however it failed start from wednesday.I see the log is so strange:Executing the query " declare @backupSetId as int select...
View Articlehow to multi-target for vista, windows 7 and windows 8 using sql server express
the original application was built for .net 3.5 using sql express 2008 mdf file with connect string ofData Source=.\SQLEXPRESS;AttachDbFilename=c:\MDF\StringTmp.mdf;Integrated Security=True;Connect...
View ArticleCreating one or more indexes on composite primary key?
So I have this new table, and I want to create a compound primary key on. How do I handle the index with this situation ?The table will typically be queried with a join to it with a condition that...
View Articlesql server add primary key on existing table
How do i add primary key to this table i show in picture..Pls anyone resolve this...!
View ArticleSQL Express database file auto-creation error but web-config changed to Azure...
I have an app that is based on the new MVC4 template with SImple Membership provider.I've deployed the app to an Azure website and changed the connection string from a local express-database to an...
View ArticleQuery Optimization
Hello All,I have a query : SELECT TOP 1000 FACT_TABLE.[ClaimLineNumber] AS [ClaimLineNumber], FACT_TABLE.[clmnum] AS [clmnum], FACT_TABLE.[memid_blinded] AS [memid],...
View ArticleTime-out occurred while waiting for buffer latch type 3 for page (1:203),...
Strange effect when running a manual checkpoint in TEMPDB (don't ask me why I did this).It took 5min to complete and finally failed generating error: Time-out occurred while waiting for buffer latch...
View ArticleGet a notification when free space into a database is going to terminate
Hi all,is there a way to receive a notification when free space (unused + unallocated) of a database is going to be spent?
View Articlecan backup leave database in restoring state?
I recently had a problem with the 'model' database remaining stuck in RESTORING state and keeping SQL Server from starting up. I eventually recovered by restoring system databases from a 10 days old...
View ArticleWhy is "instead of delete" trigger not fired by delete from within "after...
One of my tables has both an "after update" and an "instead of delete" trigger. When I perform a delete within the after update trigger, the instead of delete trigger is not fired. Although I don't...
View ArticleWhy MODEL database recovery is full eventhough it is template for tempdb
HiWe all know that model database recovery model is full and tempdb is simple. But we also know that model database is template for tempdb. Then what exactly changes tempdb recovery model during sql...
View ArticleChanging sql collation settings in a sql failover cluster.
Hi,We have 5 branch offices and 1 head office, recently we installed a sql failover clustering with 2 nodes in the head office. The problem now is the 5 branch offices are having sql collation as...
View ArticleBuiltin\Administrators cannot login in SQL 2008 R2
I created a Windows Login, Admin2, and added that to the Windows Administrators Group.I then added the Builtin\Administrators login to SQL and assigned it to the Sysadmin Server role.I then logged into...
View Article