.NET news » Database Database Rss Feed

101 Best Web Sites for Secondary Teachers
Author: James Lerman
Average rating:  / 0
(0 reviews)
More .NET Database books
download

SQL Server 2005 Paging Results

With SQL Server 2005 it is now a lot easier to use paged queries than in previous versions. I will be using NorthWind db (mostly) so you can also use the examples I have provided. I will keep the examples simple; anything complex will only cause confusion. I will start with "traditional" methods such as SELECT, TOP, and then move onto the specific SQL Server 2005 paging examples..
26 Mar 2007, 13:10:00   Source: SQL Server 2005 Paging Results   Tags: Database

An Introduction to Oracle's Berkeley XML Database

An article introducing Oracle's Berkeley XML Database and the command shell
20 Mar 2007, 21:46:00   Source: An Introduction to Oracle's Berkeley XML Database   Tags: Database XML

Take Data Offline Using Microsoft Synchronization Services for ADO.NET

Build occasionally connected applications using Microsoft Synchronization Services for ADO.NET
15 Mar 2007, 10:24:00   Source: Take Data Offline Using Microsoft Synchronization...   Tags: Database

Processing with C#, Oracle transactions and Oracle exceptions

The main purpose of this article is to show one different way of cooperation between Oracle and C# in process of developing different Oracle database application with Microsoft Dot.Net technology and C#. In this article I will try to show you a new approach of programming and taking control over Oracle transaction and processing with PL/SQL exceptions. This "new" way of programming with Oracle database and Microsoft C# programming language will provide to everyone Dot.Net developer one more flexible and more powerful way to control Oracle transactions and to "play" with errors which are generated as PL/SQL exception after executing wrong PL/SQL code or PL/SQL code which try to break existing database rules or relations.
13 Mar 2007, 15:17:00   Source: Processing with C#, Oracle transactions and Oracle...   Tags: Database

Disabling Constraints and Triggers

Constraints are valuable tools for maintaining data integrity in databases. However, there are times when it is convenient to disable one or more of them to perform tasks such as data synchronization with an offline database. When SQL Server replication is used to synchronize data between databases, individual objects can be told to withhold enforcement during replication.

For example, when a foreign key constraint is defined using the NOT FOR REPLICATION statement, SQL Server will not enforce the constraint during the replication process. In fact, the NOT FOR REPLICATION statement can be used directly in T-SQL statements that define foreign key constraints, check constraints, identities, and triggers. For those who use SQL Server replication, using the NOT FOR REPLICATION statement on the appropriate objects is a good option. However, if you are instead performing a manual synchronization of your data, another option is to disable the constraints and triggers manually.

Manual synchronization is often performed in online/offline applications where there is a subset of the data to be synchronized and where greater control over how the data is synchronized is required. In this month's column, I will discuss when it might be advantageous to manually disable and enable constraints, what kinds of problems this can solve, and some tricks to help you out..

12 Mar 2007, 19:00:00   Source: Disabling Constraints and Triggers   Tags: Database

SQL Server CLR Integration Part 1: Security

Understanding how the SQL Server and CLR security models work together to keep your database secure
4 Mar 2007, 10:43:00   Source: SQL Server CLR Integration Part 1: Security   Tags: Database Security

Identifying NHibernate-Related Bottlenecks through Performance Monitoring

A distilled methodology for detecting and isolating NHibernate-related performance and scalability issues

Using Asymmetric Encryption and Digital Signatures in a SQL Server 2005 Database

In this article we start with a look at the T-SQL commands for performing asymmetric encryption and decryption. Next, we discuss using digital signatures as a means for ensuring the integrity of the encrypted data. This article concludes with an ASP.NET 2.0 website example that ties together the lessons learned throughout this article series. Specifically, the database used by this ASP.NET application stores customer information with the customer's credit card information encrypted. An ASP.NET page provides a means to view the sensitive information in plaintext as well as a means to add new customers to the database with the credit card information properly encrypted.

Use Table-Valued Functions as Arrays in SQL Server

Provide array functionality in SQL Server using T-SQL or the CLR
27 Feb 2007, 12:34:00   Source: Use Table-Valued Functions as Arrays in SQL Server   Tags: Database

Using Symmetric Encryption in a SQL Server 2005 Database

As the attacks in which hackers use become more and more sophisticated, and the programs in which they attack become increasingly complex, encryption is becoming the last line of defense in database management system (DBMS) security.

In this article we will look at how, specifically, to encrypt the data in a SQL Server 2005 database using symmetric encryption techniques. We'll start with examining the facilities for managing keys in SQL Server and then explore symmetric encryption in SQL Server 2005.