November 2003 - Posts

Posted @: Paul Laudeman's Blog

Microsoft PDC 2003 full content now available

Microsoft has made the PDC 2003 seessions (audio/video/powerpoints) available online for your viewing pleasure (via Duncan Mackenzie). If you missed the PDC, be sure to check these out!

http://microsoft.sitestream.com/PDC2003/Default.htm

with 0 Comments

Originally Posted By JosephCooney Here

I've read a couple of arguments for and against stored procedures vs. dynamic SQL.

http://weblogs.asp.net/rhoward/posts/38095.aspx

http://weblogs.asp.net/fbouma/posts/38178.aspx

http://weblogs.asp.net/RHoward/posts/38298.aspx

http://dotnetjunkies.com/WebLog/seichert/posts/3698.aspx

Here is my take.

Stored procedures are your methods against the "database" object. You write stored procedures for all the same reasons you add methods to objects (rather than manipulating the object internals themselves). If you want to change some aspect of the internals of the database, the only place you have to look to see what impact this will have is in your stored procedures. It gives you encapsulation and abstraction. Simple CReate-Update-Delete statements are generated for you. Wrapper classes for your stored procedures are generated. When you write a new procedure you re-generate your data tier. The only place where stored procedures fall down a little is writing performant ones that allow you to search tables on a large number of criteria, however there are code generation ways around this too. As I said in my comments on Rob Howard's orriginal post I love stored procedures and couldn't really imagine writing database driven apps without them, so I might be biased. 

originally posted by: Ken Brubaker here
 

Eron Wright post some ideas on how to set up queries in Yukon to use, presumably, Yukon's event notification for ASP.NET cache invalidation.

Update: Here's a good summary of the supported caching/notifications in ASP.NET 2.0 for SqlServer 2000 and Yukon.

with 0 Comments

Originally Published on Doug Seven's Blog

We published the following articles on SqlJunkies.com today:
 
Yukon Demo: AdventureWorks Contacts
By Jason Stowe - An Example Using SQLCLR Stored Procedures with HTTP Endpoint using HttpWebRequest/HttpWebResponse and Generated Proxy Classes
 

SQL WebBench is a stand alone browser based application that demonstrates Native SQL Web Services in Microsoft® SQL Server™ Yukon Beta 1. SQL Web Bench allows for HTTP SOAP endpoint manipulation and the ability to invoke remote SQL web services right from your browser via a WSDL XSL transform. SQL Web Bench demonstrates and exposes the raw SOAP that is sent and received from the server.

 
This step-by-step article describes how to move a database diagram that was created in SQL Server Enterprise Manager. Database diagrams are contained in the dtproperties system table of the database.
 

This article describes how to implement a callback function during the installation of the SQL Server 2000 Desktop Engine (MSDE 2000) and also discusses all the conditions that must be met to make sure the callback function runs properly.

 
Using the sp_fixindex Stored Procedure
This article discusses how to use the undocumented sp_fixindex system stored procedure to correct problems in the indexes of SQL Server system tables.
 
When you query a linked server, you frequently perform a pass-through query that uses the OPENQUERY, OPENROWSET, or OPENDATASOURCE statement. You can view the examples in SQL Server Books Online to see how to do this by using pre-defined Transact-SQL strings, but there are no examples of how to pass a variable to these functions. This article provides three examples of how to pass a variable to a linked server query.
with 0 Comments
By Peter van Ooijen
In this article, Peter will show you how to build a custom control based on the .NET datalist control. This custom control will implement a lot of the functionality discussed in the datagrid story.

Read More     Discuss in the Forums     See More Articles
with 0 Comments
In response to Tom Rizzo post PASS 2003 - would love to hear your feedback - free lattes!  we have started a new SQL Server 2000 Best Practices Analyzer forum. Please help the SQL Server team build another great tool for us!
with 0 Comments

The guy is just brilliant so I had to spread the knowledge

Great Presentations on many different cutting edge topics::http://research.microsoft.com/users/gray/jimgraytalks.htm

BIO

Jim Gray is a "Distinguished Engineer" in
Microsoft's
Scaleable Servers Research Group
and manager of Microsoft's
Bay Area Research Center (BARC).

Jim's primary research interests are in databases and transaction processing systems. His current work focuses on building supercomputers with commodity components, thereby reducing the cost of storage, processing, and networking by factors of 10x to 1000x over low-volume solutions. This includes work on building fast networks, on building huge web servers with CyberBricks, and building very inexpensive and very high-performance storage servers.

Jim also is working with the astronomy community to build the world-wide telescope . When all the world's astronomy data is on the Internet and is accessible as a single distributed database, the Internet will be the world's best telescope. This is part of the larger agenda of getting all information online and easily accessible (digital libraries, digital government, online science, ...).

with 1 Comments

Originally posted by Vasanth Dharmaraj

Back in 1998 Microsoft made a big splash about the TerraServer - one of the first terabyte databases to be made available on the web. Now, a terabyte of storage can be purchased for £1000. Now Jim Gray (one of the founding fathers of modern database theory and Turing Award winner) and his research colleagues have been working on SkyServer, like TerraServer but looking the other way. http://skyserver.sdss.org. This is a digital sky survey of the northern 1/3rd of the universe, covering 10TB of pictures plus 1TB of catalog information and containing a total of 3 billion records inside a SQL Server database. http://skyserver.sdss.org/dr1/en/tools/chart/navi.asp shows an XML web service for accessing this information. You can even query the database using T-SQL here (http://skyserver.sdss.org/dr1/en/tools/chart/list.asp).

We've also built a virtual observatory at http://skyquery.net. This is a federated database that combines databases from about 10 separate observatories. This enables you to treat all these observatories as if they were just one giant database. Everything here is in the public domain: http://www.skyserver.org has everything you need to build your own Sky Server! The code itself is written in C# and ASP.NET.

with 0 Comments
By Shannon Horn MCAD, MCSD, MCT

Originally Published: Monday, October 27, 2003
Reader Level: Beginner Intermediate

Discuss this Article in the Forums

The DataGrid control is the most flexible and robust data bound control offered by ASP.NET. The DataGrid control renders as an HTML table in the user’s Web browser that can contain any other combination of controls, can be dynamically manipulated using scripts and server-side code, accommodates in-row editing and updating of displayed data, sorting of columns, and built-in paging. The built-in paging supplied by the DataGrid control may either be semi-automatically managed by the control or be manually managed using code.

http://www.sqljunkies.com/Article/4D778A1D-0559-4338-9683-11A199553D7C.scuk
with 0 Comments
New Article: Getting Time Right in Analysis Services

Rare is the OLAP cube that does not include a so-called Time dimension – a dimension that allows data to be analyzed over time. Though often named simply “Time”, the typical Time dimension is actually a date dimension, with a hierarchy consisting of Year-Quarter-Month-Day or the like.

By Tom Chester

with 0 Comments