VSTSDBE RC0 Post 3

Tools, Visual Studio
Second round of testing. Instead of associating with a project, I tried creating a reference to a .dbschema file. Same error. This time, I'm going to clear out everything. I tried creating it initially on top of the code from CTP 17. So, another chance to try out the reverse engineer process of "Import Database Schema." Works great. New AdventureWorks database inside Visual Studio with a tested deployment faster than you can spit. Created a new server project. Added a login, just to give it something to do. It deployed fine. On to the compound project. Let's see what happens. Just to see, I did a build and deploy before I added references or objects or anything. It worked great. Whatever that means. I'm taking it a step at a…
Read More

VSTSDBE RC0 Post 2

nHibernate, Tools
There is no joy in Mudville. The install of RC0 went smoothly. I was able to create a new server project and deploy it. I was able to reverse engineer AdventureWorks into a new project and deploy that. When I went to create a new compound project, combining the output from the two... deployment failed. I got an arcane error about something in the Microsoft.Data.Schema.SchemaModel.ModelSerializationException erroring out. Useful. So, at this point, the functionality I had in my demo for the PASS Summit isn't working. Yikes. I've got two weeks... no pressure... I posted a note about it over at the MSDN discussion site. If you have a solution, swing by and drop it off.
Read More

Great Article on DBA-Developer Conflict

nHibernate, Object Relational Mapping, T-SQL
What a great way to phrase the issue. I love the concept of the people-people impedence mismatch. We're going through it pretty regularly where I work. Our developers are convinced that using an ORM tool, in this case nHibernate, they're eliminating all the problems with the database because they're taking complete control of the database through nHibernate. All code will be on their side of the fence, no more messy stored procedures. All data structures will look like their objects, no more having to figure out those silly JOINS. Best of all, by setting all this up, no more messing with those stupid and obnoxious DBA's. Unfortunately, they're still planning on object persistance (don't call it data storage) inside of a SQL Server database... Um, guys, you haven't eliminated a…
Read More

VSTSDBE RC0 Install

Tools, Visual Studio
I've downloaded and started the install. The first screen I'm seeing is not filling me with confidence. The executable that is currently running is called "DBProRepair.exe" However, the installed completed without any issues. Just for giggles, I tried opening my PASS presentation (created on CTP 17). If it worked, I wouldn't have to recode. Ah, well, no joy. Not that I expected any. Oh, but the Conversion Report that comes up afterwards is very informative. Reverse engineer against the AdventureWorks2008 database went off without a hitch. All the objects imported into the database with no issues too. So far, so good. Created all the projects. No issues. I'm configuring for a deployment now. We'll see how that goes. Builds worked fine. I forgot to change the deploy action the first…
Read More

Visual Studio Team System Database Edition GDR RC

Tools, Visual Studio
I'm a bit late to notice this, but Gert Drapers announced on Monday that the release candidate for VSTSDBE, or good ole VSDB as I've decided to call it, is now available. I figured they'd do something during the Professional Developers Conference (where supposedly a new printing of my book was being given out). Now I need to get on the stick & upgrade my virtual... maybe. According to the post, functionality hasn't changed. Maybe I should just leave everything alone on my machine until after PASS... Nah! I'll post progress for the uninstall, the install and the recreation of the compound project.
Read More

Procedure Cache and Dynamic Management Views

SQL Server, T-SQL
I'm just going through the chapter on the procedure cache in the new book and I'm having a blast playing with the dynamic management views and functions that let you access the procedure cache. It's just too much fun and way too easy to get detailed information about the queries in the system, not like the old days. First, you can access the cache itself with the DMV, sys.dm_exec_cached_plans. This shows some of the data describing the plan in cache, but most importantly it provides the plan_handle. You need this for other joins later. You can also use sys.dm_exec_query_stats to get aggregated performance statistics about the plan. It also has the plan_handle and two things new to SQL Server 2008, the query_hash and the query_plan_hash, also known as query fingerprints.…
Read More

Twitter?

Misc
After much discussion in a set of emails between some of the more dangerous people that attend the PASS conference, I've decided to create a Twitter account. I created it under my name for the time being. I may blow it up later & go with something else. I'm not sure. I still don't quite get the point of this one, but I'm hooked in now. If you're interested in "following" me (like I could lead you anywhere), click here.
Read More

Andy Warren for PASS Board?

PASS
Andy posted the question more than a week ago. I need to pay more attention to his blog. In my opinion, the answer isn't yes and it isn't hell yes. It's **** YES! For cryin' out loud! I totally respect his feelings of being overwhelmed and busy. I'm there too. I've completely overcomitted, so I understand. But Andy Warren just strikes me as one of those really smart, capable guiys. You know who they are. They walk in to situations and things just improve. I think he can do two things, only one of which I could do. I think he'll help PASS deliver on it's promise, working with the other board members. I also think he's likely to have a few good ideas (something I'm extremely short on) that…
Read More