.NET news » Database 
Web Database Development Step by Step .NET Edition (Step By Step (Redmond, Wash.).)
Author: Jim Buyens
Average rating: (16 reviews)
More .NET Database books
Managing Files with SQL Server 2008's FILESTREAM Feature
SQL Server's new FILESTREAM feature simplifies the process of keeping file-based data, such as images, in sync with relational data.
5 Feb 2009, 20:02:30 Source: Managing Files with SQL Server 2008's FILESTREAM Feature
Tags: Database
New Date Data Types in Microsoft SQL Server 2008
SQL Server 2008 introduces four new date data types:
time, date, datetime2, and datetimeoffset.
This article explores the time and date data types and shows how they can be used and formatted from within an ASP.NET page.
This article also includes a short discussion on the datetime2 and datetimeoffset and compares and constrasts SQL Server 2008's
six different date data types.
Database Concurrency Patterns - SIP and SUP
Take a look at two new patterns to help with database concurrency: SIP and SUP.
Using OleDb to import text files (tab, csv, custom)
I have been browsing the Web for a good and simple class to handle delimited file imports. My current assignment has an import option that needs to deal with that. However, the current implementation (using StreamReader) is not good enough. It doesn't handle all the exceptions you encounter with delimited files. I found a number of examples on the Internet, but none of them really suited my needs. What I really missed was a simple example that I could extend so that it would suit my needs. So, being the developer that I am, I created my own class to import delimited files. After this was completed, I though I'd share it with others as an example.
15 Jul 2008, 07:01:00 Source: Using OleDb to import text files (tab, csv, custom)
Tags: Database
Examples
Convert SQL Server DB to SQLite DB
C# Utility to automatically do the conversion from SQL Server DB to SQLite DB
Check Validity of Sql Server Stored Procedures/Views/Functions
Command line tool to check validity of objects in SQL Server databases.
Multiple Ways to do Multiple Inserts
Various ways to do Multiple Inserts in SQL Server 2000/2005 or Oracle Database using ADO.NET in single database round trip.
Database-Driven Business Layer Templates
A introduction to the flexibilities provided by the use of SQL extended properties in business layer code templates.
A Naming Scheme for Database Tables and Fields
Database developers have historically used a somewhat cryptic system for naming database tables and fields. Originally a result of the limitations of database management systems (DBMS), these naming schemes - or the lack thereof - have been adopted by convention and tradition. However, as database applications become more complex, with more tables and larger teams of developers, and as developers come and go, it becomes much more important to implement a robust and disciplined naming scheme for database objects. A well-defined naming scheme becomes more important when you adopt object relational mapping (ORM) technologies or automatic code generation.
13 Productivity Tips for Transact-SQL 2005
Microsoft implemented many new features in SQL Server 2005, including an impressive set of language enhancements. From new language statements for SQL-99 compatibility to new features in response to customer requests, Transact-SQL 2005 helps to increase developer productivity. This article covers most of the new language features by posing a statement/scenario and then provide some code samples to show how you can use T-SQL 2005 to address the problem. You'll also get a brief glance at Visual Studio Team Edition for Database Professionals, a product that helps a development team to manage databases. Finally, I'll give you a sneak preview of some features in the next scheduled version of SQL Server (SQL Server 2008, "Katmai")...

