Fix Permission Issue Creating Diagrams in SQL Server

Today, I was trying to create a diagram in SQL Server to setup table relationships. I kept getting an error. I gave my user owner rights on the database but that still did not work, until I found this: EXEC dbo.sp_changedbowner @loginame = N'sa', @map = false This fixed it!


dotNetTips.Dev.Cleaner Utility

The dotNetTips.Dev.Cleaner is an app that will quickly remove temporary and cached files created by Visual Studio and SQL Server. The reason I created this app is because from time to time Visual Studio builds will error for some unexplained reason, especially after getting new source from source control. It's because these temporary and cached files [...]

dotNetDave Rocks SQL Saturday #289 (Orange County)

The dotNetDave Rocks The Nation Tour will stop in southern California at the SQL Saturday on April 26th. Lets Rock the OC! If you live in the area you need to attend the following session: Rock Your Technical Interview™ Have you ever not gotten a job because you weren’t prepared for the interview? Would you [...]

SQL Server 2012 Released!

SQL Server 2012 has been released to manufacturing today! SQL Server 2012 will provide Mission Critical Confidence with greater uptime, blazing-fast performance and enhanced security features for mission critical workloads; Breakthrough Insight with managed self-service data exploration and stunning interactive data visualizations capabilities; Cloud On Your Own Terms by enabling the creation and extension of [...]

.NET 4.0 Bug with SqlConnection Object

We recently completed some load tests and found a bug with the SqlConnection object in .NET 4.0.  When reviewing the results of our load test we noticed that the handle count climbed up to 85,000 and never went down.  After investigation we found the problem is with the SqlConnection object. We contacted Microsoft about the [...]

SQLSaturday #73

I hope everyone in southern California is planning to attend this years SQL Saturday in Huntington Beach, CA on April 9th. It’s always a great time and lots of free training! I will have a limited number of my latest book to sell "David McCarter's .NET Coding Standards" ($12) and a DVD full of conference [...]