Welcome to MSDN Blogs Sign in | Join | Help

La bodeguita de Nacho

SQL Server Troubleshooting Stories - "y una ración de bravas"

Browse by Tags

All Tags » SQL Server   (RSS)
What does it mean that BACKUP TABLE / RESTORE TABLE are not "yet" implemented?
Say you are one of those users who have been using SQL Server since 6.x days. And say you remember that in those versions there was the possibility to backup or restore a single table. Let's try hard to imagine your memory is good enough to be able to Read More...
A tale about solving "Cannot generate SSPI context" and later "[DBNETLIB][ConnectionRead(recv()).] General network error. Check your network documentation" in a shot
I had a customer who was receiving the "Cannot generate SSPI context error" when one, and only one, of his users with a specific domain account tried to log into a SQL Server 2005 using TCP network library and Windows Authentication. It ended Read More...
SQL Server performance counters' library improvement
It seems Cumulative Update 6 (due in mid Feb 08) for SQL Server 2005 Service Pack 2 will include a code change so that performance counters show current performance values while the service is running, no matter what the service state was when perfmon Read More...
How to rebuild your master database in MSDE when it became corrupted?
Let's imagine that your instance of MSDE cannot be brought online because of any reason, like when your master database became corrupted or the their files are unavailable. Under such circumstances, if you try to rebuild the master database with a command Read More...
Scared because SQL Server seems to be running a DBCC CHECKDB on some of your databases on every startup?
A colleague approached me yesterday because he was finding the following entry ( marked in red below ) in his ERRORLOG, and he was worried because he thought the recovery of the ABC database was taking longer because a CHECKDB was run on it during the Read More...
Conocer el valor de la Edición Enterprise a través de sencillos ejemplos
This is the Spanish version of this other post. Esta vez sólo deseo anunciar que mi compañero Jorge "George" Pérez Campo y yo mismo tenemos planes para comenzar una serie de artículos con ejemplos simples que demuestren, Read More...
Understanding the value of the Enterprise Edition with simple examples
Ésta es la versión en inglés de este otro artículo . This time I just wanted to announce that my colleague Jorge "George" Pérez Campo and myself have plans to start posting some simple examples to demonstrate, from a Read More...
What's special with the BULK provider when loading LOB character columns using OPENROWSET?
This is another problem I've been working on recently, whose resolution I felt could be interesting to share here. Let's first reproduce the errors, before trying to explain anything. So, please, connect to your instance of SQL Server 2005 and run this: Read More...
Msg 1013: The object "%s" and "%s" in the FROM clause have the same exposed names. Use correlation names to distinguish them.
Have you ever experienced this error in SQL Server 2005 and under the same circumstances, but using SQL Server 2000 instead, you never "suffered" this problem? This issue was recently raised to my attention. And its resolution I found it of general interest, Read More...
Why my SQL Server performance counters are showing zeroes when current values are higher?
A colleague reported to me what she considered a weird behavior, she was experiencing while trying to monitor her SQL Server 2005 instances' performance counters. Her main concern was this: Why do my SQL Server 2005 counters do not report actual values, Read More...
Be careful with using RegEx on x64 bit boxes
I have been working on a case where a customer reported that, once he plugged in his custom assembly which implemented a set of SqlFunctions and he invoked those functions from T-SQL, SQL Server started eagerly eating all memory and performance dropped Read More...
Raw device support and trying to move the data files of a database to a local disk in failover clustered environments
Even though the documentation doesn't explicitly explain the existence of this limitation, a failover clustered instance of SQL Server (whether it is 2000 or 2005) doesn't support loading data or log files of any database from disks other than those which Read More...
Decreasing the size of a database file through the Management Studio GUI?
Somebody told me today that he was using SQL Server Management Studio Database Properties (Files Page) to try to set the Initial Size property of a database file to a value lower than the one currently set for that file on the server. And even though Read More...
Are these IO statistics correct?
After a long time, I had the opportunity to meet again my colleague and friend Eladio , who is a well recognized Mentor working at Solid Quality Mentors . He was delivering some training sessions to Microsoft customers in our premises today. In one of Read More...
Multiple Core and Hyper-Threading enabled CPUs and SQL Server 2005
One colleague recently asked me, is the information in this article 914278 (How SQL Server 2005 Express Edition determines the CPU count and uses the CPUs during processing) was also applicable to the Standard Edition of SQL Server 2005? And following Read More...
Page view tracker