Saturday, January 31, 2009

Every so often, I have to do database administration activities, like restore a database (typically a DotNetNuke database downloaded from a hosted site).

I know the details are in the SQL BOL, but I usually have to hunt for them. Pinal Dave's site comes to the rescue with a good abbreviated rundown of the RESTORE commands.

Pinal Dave's site is packed with lots of useful database information and I would highly recommend it to up and coming DBAs. He is a regular columnist for SQL Server Magazine.

 

1/31/2009 6:01:50 PM (Eastern Standard Time, UTC-05:00) |  | Blogs | Microsoft MVP | SQL | SQL Server 2005 | SQL Server 2008 | SQL Server Magazine#
Thursday, January 01, 2009

Well, I finally have deposited my source code from the Nova CodeCamp presentation on SQL CLR here on my blog.

 

I apologize for taking so long. I needed to update some of the code and strip out any source code control references.

 

SQLCLRUDA.Zip (29.89 KB)

 

My presentation slides can be found in a blog entry below.

1/1/2009 9:53:22 PM (Eastern Standard Time, UTC-05:00) |  | .Net Framework 3.5 | Code Camp | NovaCodeCamp | SQL Server 2005 | SQL Server 2008 | SQLCLR | Visual Studio 2008#

Here is a little commentary that I dispensed at my recent Nova CodeCamp presentation with regards to user defined aggregates written using SQL CLR for the Microsoft SQL Server. SQL 2008 has improved the user defined aggregate feature, but it currently comes at a price. First I discuss the attribute setting to implement the feature, then I provide necessary information on how to deploy it!

 

For those developers building user defined aggregates (UDA) in SQL Server 2008, you now can build an aggregate that exceeds the 8000 byte limitation in SQL Server 2005.

 

To implement this feature, you set the MaxByteSize to -1. This will allow the UDA to grow to a size above 8000 bytes up to 2 GB. An example of the attribute setting is shown below.

 

[Serializable]

[Microsoft.SqlServer.Server.SqlUserDefinedAggregate(

   Format.UserDefined,

   IsInvariantToNulls = true,

   IsInvariantToDuplicates = false,

   IsInvariantToOrder = false,

   MaxByteSize = -1)

        ]

 

Great so far. Now here is where the problem starts. You cannot deploy an assembly with a UDA having this setting from within Visual Studio 2008. You have to deploy the assembly manually.

/*

 * Manually add assembly to database

 */

CREATE ASSEMBLY UDA from 'D:\Development\UDA\bin\UDA.dll'

WITH PERMISSION_SET = SAFE

GO

If you attempt to deploy the UDA with the above attribute, you will get the following message:

 

Error: 'MaxByteSize' property specified was not found.

 

You can find information on MSDN about the MaxByteSize setting here.

 

1/1/2009 9:32:00 PM (Eastern Standard Time, UTC-05:00) |  | SQL Server 2008 | SQLCLR | UDA | Visual Studio 2008#
Tuesday, December 23, 2008

http://www.novacodecamp.org/Nova Code Camp

Here is my presentation from the Nova CodeCamp held on December 6th in Reson, Virginia.

Dec 2008 Nova CodeCamp.pptx (198.08 KB)
12/23/2008 6:56:53 AM (Eastern Standard Time, UTC-05:00) |  | Code Camp | SQL Server 2005 | SQL Server 2008 | SQLCLR#
Sunday, September 07, 2008
Error when installing SQL Server 2008 Adventureworks database sample. If you download the install package from CodePlex, you may get an error when you attempt to install the database due to Filestream access not being set properly.
9/7/2008 12:39:58 PM (Eastern Daylight Time, UTC-04:00) |  | SQL Server 2008#
Wednesday, April 02, 2008

On Saturday, March 29th, software developers from around the Metro DC area met to listen to presentations by over a dozen software experts. The presentations included a range of topics from new technologies being released by Microsoft to practices to improve quality and delivery management.

This event was free to the public and was hosted by Strayer University in Woodbridge, Virginia. Attendance was over 80, with some attendees coming from as far away as York County.

John Morales at Nova CodeCamp Event discussing AJAX Development

Jeff Schoolcraft and I coordinated this event, but it was the volunteers and speakers that donated their time that made this event a success. We were fortunate to receive sponsorship from several companies and organizations.

You can find out more about Nova CodeCamp at www.novacodecamp.org.

4/2/2008 6:56:53 AM (Eastern Daylight Time, UTC-04:00) |  | .Net Framework 3.5 | Ajax | CAPAREA | DotNetNuke | NovaSQL | SQL Server 2008 | Visual Studio 2008 | NovaCodeCamp#
Saturday, March 15, 2008

Working with Microsoft MVP, Jeff Schoolcraft, we have organized a wonderful developer learning event on Saturday, March 29th at Strayer University in Woodbridge, Va.

CodeCamp SOUTH

Speakers include:

  • Brian Noyes, Microsoft MVP
  • Jonathan Cogley, Microsoft MVP
  • Sahil Malik, Microsoft MVP
  • Frank LaVigne, Microsoft MVP
  • Antonio Chagoury, DotNetNuke Team Lead

and many more.

Topics to be covered include a host of new technologies along with some introductory courses. Here is a sample (you can see the rest at the NovaCodeCamp site).

  • Visual Studio 2008
  • SQL Server 2008
  • SharePoint 2007
  • DotNetNuke Module Development
  • Office 2007 Development
  • Service Oriented Architecture (SOA) Development
  • Ajax
  • Silverlight

For you developers, this is a golden opportunity to see presentations that would typically be presented at high priced conferences like Microsoft TechEd and VSLive. And it is FREE. However, registration is limited to the first 100 that sing up - so make your reservation today!

 

 

 

3/15/2008 12:47:14 PM (Eastern Daylight Time, UTC-04:00) |  | .NET Framework | .NET Framework 2.0 | .Net Framework 3.5 | Ajax | ASP.NET | Code Camp | DotNetNuke | Microsoft MVP | SharePoint 2007 | SQL Server 2005 | SQL Server 2008 | SQLCLR | Visual Studio 2005 | Visual Studio 2008 | WCF#
Search
Archive
Links
Categories
Admin Login
Sign In
Blogroll
 CTO 2.0
Antonio Chagoury
Dot NET Ramblings
Brian Noyes
 New Entry
 SharePoint Resources
Lamont Harrington
 Winsmarts
Sahil Malik
Themes
Pick a theme: