Failed to flush the commit table to disk in dbid 5 due to error 2601
I have a database with Change tracking enabled and when i tried to backup i got this error:Failed to flush the commit table to disk in dbid 5 due to error 2601. Check the errorlog for more...
View ArticleHow do I capture how many times an event happens in my table?
My table logs the execution of SSIS packages with results as Skip, Run, and Complete. Ideally I should see two rows for each package, one for run and one for complete but in some cases I see run, run,...
View ArticleMS SQL Login information?
Hi All,How can we find the last login information in sql server 2008, it means when was the user trying to login in to sql server.Thanks,SAAD.
View Articlet-sql question
I am trying to create a t-sql script when ever blocking happens with the following condition in a SQL db I want to get alert: If there is a session blocking another session for more than 5 minutes then...
View ArticleSQL server Agent Job email notifications not being sent
I trying to set up some failure job Email notifications on Sql Server Agent jobs. So, I configured database mail and tested and was able to receive mail through sp_send_dbmail and "Test mail" option...
View ArticleRestore Model system Database in Sql Server 2008/R2
Dear Gurus,I'm a new bie to MS-SQl server. I'm trying to restore "Model" system database from the backup, but ending up with error.I used /m /t3608 and /t3609.Could you please help me in fixing the...
View ArticleNot Able to Apply conditions Properly???
hi everyonei am facing a problem in creating a query,if anyone can help me,it will be reallu helpfulactually i am having a table consisting of two column as shown aboveColumn name:1) PhaseName...
View ArticleMicrosoft OLE DB Provider for SQL Server cannot get all the schemas?
I use MS SQL Server 2008 for Database Development. Now, I need to get all the tables in SQL Server via OLE DB For SQL Server. However, after querying, only one system table called sysallocunits is...
View ArticleControl Access to SQL Server Visual Designers
Is it possible to control access of a user to the visual table designers of SQL Server e.g. the table designer or the view designer. What i want to achieve is that the changes to the SQL Server objects...
View ArticleSQL Server 2005 became "no responding" until I restart windows 2003
i am not getting any error in the SQL Server Error log or Event Viewer, no blockings on the server. i have monitoring the PERFORMANCE DASHBOARD tool in that also memory usage and every thing showing...
View Articlesql full text search shows up on blocked process report
Ran the following SQL full text search on one of our larger repos.Select F.[KEY] AS KEYWORD, F.[RANK] AS KEYRANK FROM CONTAINSTABLE(O2545, FileText, @FileText, 50) F50 rows returned in two minutes 38...
View ArticleJobs logged in the "Job Activity Monitor" but not in the "View History"
SQL Server 2005 Enterprise Ed,Hi guys,I have the following issue:There are some jobs running successfully. The execution is reported in the "Job Activity Monitor" highlighting the "Last execution" and...
View Article(1 row(s) affected) Msg 8152, Level 16, State 14, Line 2 String or binary...
I am working on a project for college and I cannot figure out why I am getting these errors. Here is my code and errors I am receiving. in addition, I none of the data is being entered expect for two...
View ArticleLoading data into a SQL server 2008 R2 Failover Cluster
Hi, I have been doing research on creating the windows cluster and installing the SQL 2008 failver cluster.How do I restore my databases from a stand-alone instance to the cluster? I know it is...
View Articleddl admin privilege
Hi all,does a ddl admin privilege have execute permission on procedures without granting explicitly .Regards,Venkat.
View ArticleSQL Services fail to start after WSUS windows updates whether they have SQL...
SQL Services fail to start after WSUS windows updates whether they have SQL updates or not.#### Application Event log - Windows Server 2008 R2 Standard - SQL Server 2008 R2 EE #### 2013-02-19 - 3:33:13...
View ArticleRecovery Model
Hi All,We have databases with Full recovery model. But there were not much transactions with respect to that databases. Am new to DBA, my superior asked me to take backups everyday at end of day. Is it...
View ArticleSimple queries taking 15+ seconds to run
Hi,In our customer's environment, Save, Find operations from the Web Applications takes 2 seconds to 2 minutes.There are number of SQL statements fired before the actual Save (PreSave) using some...
View ArticleAfter doing an ALTER TABLE, inserts not working correctly
I upgraded my SQL Server from 2008 to 2012, and everything worked o.k.I then added three columns to some tables. I used the following script to alter the tables: private int ModifyNewColumns(string...
View ArticleSQL Server 2012 - FileTable FileShares getting out of sync.
It's strange to me that I can't find anyone with the same issue, because it's happening to me in two different though similar environments...I am creating FileTables and FileShares with non-transacted...
View Article