Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 16, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

Life runs on code. Find out how Visual Studio 2010 can help you realize your vision. Learn more...

Home > Search > Articles & Samples > SQL Server
Search:
What's New - What's Hot
Listings for Administration Administration (82)
Listings for Backup and Restore Backup and Restore (89)
Listings for Cache Cache (28)
Listings for Data Provider Data Provider (30)
Listings for Data Warehousing Data Warehousing (33)
Listings for Database Design Database Design (480)
Listings for Debugging Debugging (25)
Listings for DSN DSN (4)
Listings for DTS Package DTS Package (45)
Listings for Encryption Encryption (8)
Listings for Error Handling Error Handling (27)
Listings for Functions Functions (104)
Listings for Images Images (17)
Listings for Import & Export Import & Export (23)
Listings for Installation Installation (36)
Listings for Jobs & Tasks Jobs & Tasks (2)
Listings for Migration to SQL Server 2000 Migration to SQL Server 2000 (110)
Listings for Miscellaneous Miscellaneous (546)
Listings for Performance Tuning Performance Tuning (213)
Listings for Queries Queries (170)
Listings for Reports Reports (215)
Listings for Samples & Scripts Samples & Scripts (51)
Listings for Security Security (84)
Listings for Server Management Server Management (66)
Listings for SQL DMO SQL DMO (13)
Listings for SQL Mail SQL Mail (15)
Listings for SQL Server FAQ SQL Server FAQ (33)
More Categories for SQL Sever 2005 SQL Sever 2005 (808)
Listings for SQLXML SQLXML (102)
Listings for Stored Procedures Stored Procedures (288)
Listings for T-SQL T-SQL (132)
Listings for Tips & Tricks Tips & Tricks (255)
Listings for Triggers Triggers (44)
Listings for Virtual Instance Virtual Instance (0)


SQLXML 3.0: Build Data-Driven Web Services with Updated XML Support for SQL Server 2000    Version: 0.00       Price: $0.00   
Total Hits: 3  |  Today: 1 Author: Christian Thilmany       Rating:  
Read Reviews | Write Review |   Your Rating: 

XML is becoming the ubiquitous data format on the Web, and XML support in SQL Server is evolving to meet the additional demand. Using XML, SOAP, HTTP, and SQL Server, you can now build powerful Web Services easily. To show just how simple it is with SQLXML 3.0, this article walks the reader through the process step by step, from setting up a virtual directory enabling data access via HTTP to executing queries and building Web Services. Finally, the author illustrates the creation of two Web Serv...

Passing XML to SQL Server, Document.write on Resize, Transformations on the Fly, and More    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Nancy Michell       Rating:  
Read Reviews | Write Review |   Your Rating: 

What's the best way to write data back to SQL Server™? Writing stored procedures seems reasonable using OPENXML, but it also seems that I have to manually specify the structure of my XML document every time I want to use OPENXML. What is the best way to pass XML back to SQL Server? Is there a way to specify a schema file when I do complex inserts or updates with OPENXML inside a stored proc?...

Dynamically Bind Your Data Layer to Stored Procedures and SQL Commands Using .NET Metadata and Reflection    Version: 0.00       Price: $0.00   
Total Hits: 5  |  Today: 1 Author: Atif Aziz       Rating:  
Read Reviews | Write Review |   Your Rating: 

One major inconvenience of using SQL stored procedures from code is having to match type information. You have to write long wrapper functions around the procedures just to expose the data types. In the .NET Framework, however, the reflection services of the System.Reflection namespace allow you to query rich metadata that describe data types. This article explains how to use reflection in .NET to end your stored procedure nightmares. The author creates four custom classes, including one that ge...

Developing Apps with the .NET Compact Framework, SQL Server CE, and Replication    Version: 0.00       Price: $0.00   
Total Hits: 3  |  Today: 0 Author: John Papa       Rating:  
Read Reviews | Write Review |   Your Rating: 

Handheld and other portable devices are shipping with ever growing feature sets. These devices can now communicate on private networks and over the Internet through Wi-Fi and built-in wireless modems that are combined with cell phones. Handheld devices are popular not only for personal use, but also many businesses are taking advantage of the mobility they offer. The growing demand for better portability means an increasing demand for mobile applications. One example could be an application that...

Managed UDTs Let You Extend the SQL Server Type System    Version: 0.00       Price: $0.00   
Total Hits: 3  |  Today: 0 Author: Peter W. DeBetta       Rating:  
Read Reviews | Write Review |   Your Rating: 

The next version of SQL Server, code-named "Yukon," will offer enhanced support for user-defined types (UDTs). Because UDTs can be managed by the CLR, you can represent a wide variety of data structures to create types not possible with previous versions of SQL Server. With UDTs you can more precisely control the kind of data your type accepts, resulting in better data management. This article explores UDTs in "Yukon" and covers their design and implementation....

Automate Testing of Your Stored Procs    Version: 0.00       Price: $0.00   
Total Hits: 3  |  Today: 0 Author: James McCaffrey       Rating:  
Read Reviews | Write Review |   Your Rating: 

Many Windows®-based applications have a SQL Server™ back-end component that contains stored procedures. Although techniques to automatically test functions in the front-end code are well known, the techniques to write test automation for stored procedures are not. SQL Server 2005 will provide greatly enhanced integration with the Microsoft® .NET Framework including the ability to write stored procedures in C# and other .NET-targeted languages. This will certainly increase the use of stored proce...

Display Your Data Your Way with Custom Renderers for Reporting Services    Version: 0.00       Price: $0.00   
Total Hits: 6  |  Today: 0 Author: James Yip       Rating:  
Read Reviews | Write Review |   Your Rating: 

SQL Server™ 2005 Reporting Services from Microsoft is a great tool that offers a centralized approach to storing and rendering reports. It also allows users to view and download reports without installing additional software. But what's most convenient for users is that reports can be saved in any number of different formats using custom report renderers. In this article, I will demonstrate how to develop one such report renderer that outputs HTML reports, but the skills you'll learn can easily ...

XML Features in SQL Server 2000    Version: 0.00       Price: $0.00   
Total Hits: 4  |  Today: 0 Author: John Papa       Rating:  
Read Reviews | Write Review |   Your Rating: 

SQL Server™ 2000 includes several XML features that let you transform relational rowsets into hierarchical XML documents, read XML documents, and bulk load data via XML. For example, you can pass an XML document to a stored procedure, join the XML to some tables and return a rowset, or even modify data in the database. The inclusion of the OPENXML function and the FOR XML statement have been prompted by the ever-expanding role of XML in today's enterprise systems. Some of these features not only...

Performance-Conscious Thread Synchronization    Version: 0.00       Price: $0.00   
Total Hits: 3  |  Today: 0 Author: Jeffrey Richter       Rating:  
Read Reviews | Write Review |   Your Rating: 

In my career, I have architected and implemented many thread synchronization techniques. This has provided me with a lot of experience that has shaped the way I now think about thread synchronization problems. In this new column about concurrency, I will discuss my way of thinking on the subject and offer some code that I think you'll find useful when dealing with thread synchronization problems yourself....

The SQL Site Map Provider You've Been Waiting For    Version: 0.00       Price: $0.00   
Total Hits: 4  |  Today: 0 Author: Jeff Prosise       Rating:  
Read Reviews | Write Review |   Your Rating: 

Now that ASP.NET 2.0 is a shipping product, it seems appropriate to revisit an issue that tops the new features wish lists of many developers: a SQL Server™ site map provider.
As you probably know, ASP.NET 2.0 vastly simplifies the process of building data-driven site navigation interfaces. You build a site map, slap a SiteMapDataSource control onto the page, and bind a Menu or TreeView control to the SiteMapDataSource. The SiteMapDataSource uses the default site map provider (typically XmlSi...

Data Type Synonyms    Version: 0.00       Price: $0.00   
Total Hits: 6  |  Today: 0 Author: Sumit Garg From Chandigarh       Rating:  
Read Reviews | Write Review |   Your Rating: 

Data type synonyms can be used instead of the corresponding base data type name in data definition language (DDL) statements, such as CREATE TABLE, CREATE PROCEDURE, or DECLARE @variable. However, after the object is created, the synonyms have no visibility. When the object is created, the object is assigned the base data type that is associated with the synonym. There is no record that the synonym was specified in the statement that created the object....

SQL SERVER – Order of Columns in Update Statement Does not Matter    Version: 0.00       Price: $0.00   
Total Hits: 5  |  Today: 0 Author: pinaldave       Rating:  
Read Reviews | Write Review |   Your Rating: 

I recently received few comments that I have not written on simple subjects recently. In fact, this blog is dedicated to all those who are really learning SQL Server and almost all the articles and posts are posted here keeping this goal in mind. One of the questions in the email which requested to write simple subjects was “Does the order of columns in UPDATE statements matter?” Let me try to answer this question today....



DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net