fn_virtualfilestats - NumberWrites and umberReads column
So in SQL Server 2008 and beyond what do the columns numberReads and numberWrites mean? I thought this was simply the number of reads the number of writes issued by the sqlserver.exe process. I went...
View ArticleUpdate PDF file in FileTable
Hi- I'm new to working with FileTables and am wondering if the following code (which saves annotations to a PDF file in the FileTable with changes that are made through the PDF control) makes sense. My...
View ArticleDisable Error 3197 "I/O is frozen on database %ls. No user action is...
Hi Experts,I have a MS SQL Server 2008 R2 Server with plenty of shared point databases. MS DPM (Data Protection Manager) configured for the databases backup. Every time the backup initiated it logs...
View ArticleCauses for "Snapshot isolation transaction failed"???
What are the possible causes of a "Snapshopt isolation transaction failed...DDL" message?I have a production database of 250 million row that has been running very well for years.We do use snapshot...
View ArticleCONNECTION PROBLEM OF SQL DEVELOPER
I COULD NOT MAKE A NEW CONNECTION.WHAT WOULD I GIVE IN THE COLUMNS USERNAME,PASSWORD,HOSTNAME,PORT NOMBER WHEN ASKING FOR A NEW CONNECTION
View Articlealgorithm behind slow IO reporting
I would like to understand what algorithm SQL Server 2008 uses to log the 'taking longer than 15 seconds' message, e.g.Aug 8 16:53:05 daffy MSSQLSERVER: 833: SQL Server has encountered 1435...
View ArticleWhy are DDL changes to a temporary table not allowed within a snapshot...
Why are DDL changes to a temporary table not allowed within a snapshot transaction, especially when the temporary table is created within the snapshot transaction? I understand why DDL changes to a...
View ArticleA severe error occurred on the current command. The results, if any, should...
I have a strange situation on a database, which are on SQL Server 2008 R2 Express SP2. The database size is something around 90 MB.When a user try to insert a record inside one table, he receive an...
View ArticleDatabase Mail issue
We are running SQL Server 2005 64 bit EE Build 5057 on Windows server 2003. Our Database mail seemed to have stopped working and i receive the following error.Log Database Mail (Database Mail Log)Log...
View ArticleSQL Agent - UPDATE OPENROWSET not working
Hello,I've deployed an SP to export some data to an Excel sheet (using OPENROWSET and Microsoft ACE provider) which works flawlessly when launched it from a query window using my admin credential....
View ArticleMsg 8624, Level 16, State 1, Procedure broadcast_item_delete, Line 39...
I have a very simple procedure which is crashing with this error. we are using sql2008. the FK to table rashim_titles is causing the problem as when I drop the FK it worksthe crashing statement:exec...
View ArticleProblem with backup MS SQL 2008 when database has 2 or mare logs
Hello!I have database, that has 2 ldf. I try to do backup log via a program that uses ODBC Driver (SQL Server Native Client 10.0 ODBC ). But the backup file is not created. And application doesn't...
View ArticleRAISERROR in SQL 2012 since SQL 6.5
Hi everyone,we must to upgrade SQL 2008 R2 to SQL 2012, but all the RAISERROR in stored procedures are in the sintax:RAISERROR 50001 'Error during execution of task XXXXXX'Obviously, this sintax is not...
View ArticleDrop Clustered Index when there's no other index's taking a long time.
Hi All,I'm testing the time it takes to Drop Clustered Index when there's no other index's and see that this operation still takes quite a while. The table I'm working with has 500M records and no...
View ArticleTxn log is not clearing in SIMPLE
Hi,I tried to repro a scenario for log-clearing the log in SIMPLE recovery model. I know if there is an ACTIVE TXN, and if we issue a CHECKPOINT in SIMPLE recovery model, nothing happens i.e. 0 VLFs...
View ArticleSQL server, Error:18456
I am trying to delete old jobs and maintainance plans I get the following error: SQL server, Error:18456-Rick- This message was created using recycled electrons...
View ArticleQuestion on disk layout on SAN
One question where I would be needing your Inputs. Environment information:Windows 2008 R2.SQL Server 2008 R2. Table partitioning is not possible for a better layout. This is regarding the drive...
View ArticleLinked Server error: Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
Good afternoon,I have the following issue that i can't seem to "fix":I have 2 instances: Instance A (primary databases for my application) and Instance B (relational databases for Reporting...
View ArticleSQL join 2 date tables
Hi,I am attempting to join 2 header tables "receipt" and "plan" at date (receiptdate=date)I'm not getting an output and I suspect a join issue - any ideas:SELECT dbo.tbReceipt.ReceiptDate,...
View ArticleCopy Data Between Two Servers (Prod - Dev)
Hi, can someone let me know the best way to copy the data betweens two diffrent servers (prod - dev). i have a table which has like 50000 rows on dev server, based on a column called symbol and...
View Article