Log Can't be truncated but no CDCs or Replication exists.
We restored databases to our test environment and set up AlwaysOn (AlwaysOn was set up for these databases in prod as well). Whenever I try and backup the log I'm getting "The log was not truncated...
View ArticleRestore Job has been failed with error message as "Skipped log backup file....
We have already configured log shipping on server. But now restore job failed with error message as "Skipped log backup file. Secondary DB"Kindly provide resolution steps for same.
View ArticleNeed to generate a report on SQL Server Service dependencies in a cluster for...
Hi Guys,I got one requirement that I need to extract the sql server service dependencies on 20 cluster servers and generate a report this in the below formatSQL Server Service || SQL server virtual...
View ArticleWhat is causing this "The timeout period elapsed during the post-login phase."?
This is happening on a shared environment running DataCenter. We are doing a bulk merge of about 100 plus records. It is failing in different spots but always the same error. Sql has no error logs,...
View Article300 million rows in a table
Hello Gurus,I have a table with over 300 million records in it. I was wondering if you can give me some ideas on how to ensure performance of the database is optimum. What is generally advised?1- Can I...
View ArticleScript to find who is trying take backup on Database
Hi,I have a script to find who is taking the database backup and physical device information, but i need to know which job is trying to run in a particular time to run the backup on...
View ArticleForeign keys are not showing up in Visual Studio
Hello all,I am having an issue where my SQL Model in Visual Studio 2010 is not fully generating code for my foreign keys. In my SQL database I have a few tables with foreign key relationships. In VS...
View Articledatabase engine connection
In my laboratory i have a P2P LAN, and on each Windows 7 - PC i have installed SQL Server 2008 (Standalone/Enterprice Server). On Windows there are the Administrator and User - Accounts. Both accounts...
View ArticleSQL_Handle 0x0000000000000000000000000000000000000000
We have OLTP and OLAP sitting on the same database for different reasons. I have 16 Proc machine and i have set MAXDOP to 4. While i am still testing different values, But i see select queries on...
View ArticleMicrosoft TechNet Wiki Guru - Winners for August!!
The results for August's TechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2013/09/11/technet-guru-awards-august-2013.aspx Congratulations to all our new Gurus for...
View ArticleUpdate Job owner for all SQL Agent jobs;
Hi Is it possible to update the job owner for all sql agent jobs? I have several jobs on a server don't want to do it manually. I am running sql 2008 EE.Thanks
View ArticleIs it possible for me to save the script of the database i created in Azure?
Hi guys,I developed my webapp in Visual Studio 2012 and i also created my database in my Windows Azure SQL. However, i'm using a trial account which will be expiring very soon and my database contain...
View ArticleSQL Server 2008 R2 - Cannot connect to the instance
I am not sure what is happening. It has been several times I am loosing the instance of SQL Server 2008 R2 Enterprise edition installed on Windows 7 PC.A connection was successfully established with...
View ArticleWay to seperate data file and log file
I have a weird situation. Currently, I have a server that hold IIS, some apps, and SQL Server on the same C. Right now, we got another drive on the server. The Question is : should I move the data file...
View ArticleSQL Server 2012 Enterprise Core license for MSDN version?
I've been trying to do some scalability testing on SQL 2012 Enterprise edition (from MSDN - no Key required). After wondering why I couldn't use all the CPU, I found the issue that Enterprise+CAL is...
View ArticleSQL Server is terminating because of fatal exception c0000005
I believe this is related to old DTS packages running, but I'm not certain of the exact cause or the fix. This is running on Windows 2003 Std SP2 x86 build 3790 GDR 080813-1204 and SQL Server 2005 Std...
View ArticleDB datafile setup
Hi all, We build up a new sql 2012 db for storing picture data with some few selects on that data. All disk are SAN and we expect the data at ~ 1 TB. How should I setup datafiles for this DB? Multiple...
View ArticleError Connecting to SQLSERVER:SQL as a drive for LocalDb
Please see below. There is some kind of communication problem when I try to access "(localdb)\Projects" using the ability to connect to SQL Server as a drive, and then ultimately later (e.g. $server =...
View ArticleCDC is not capturing data
I had enabled CDC but nothing is captured in the CDC table, any idea what is the cause?below is the script that I ran.... EXECUTE SYS.SP_CDC_ENABLE_DB; GO EXECUTE SYS.SP_CDC_ENABLE_TABLE @source_schema...
View ArticleFileTable folder on a SQL cluster
HiI have a couple of questions about FiletableWhen I run below query against my filetable I get nothing. and I believe I should get a Path. right?select file_stream.GetFileNamespacePath()from MyFTable...
View Article