.NET news » Database Database Rss Feed

< 1 2 3 4 5 6 7 8 9 10 11 12 >
10 Minute Guide to Business Research on the Net
Author: Thomas Pack
Average rating: 3.5 / 3
(3 reviews)
More .NET Database books
download
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.

An Overview of Cryptographic Systems and Encrypting Database Data

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. Since Microsoft announced their Trustworthy Computing security initiatives four years ago, the industry has been waiting to see how these initiatives would be implemented in upcoming products. With the introduction of Microsoft's newest DBMS, SQL Server 2005, it does indeed seem as though they have provided what they have promised.

What follows is a two-part article series that provides an in-depth examination of encrypting data in SQL Server 2005. In this article we will exploring key challenges facing database systems and the motivations for providing robust encryption mechanisms directly within the database system. We will also look at encryption fundamentals and SQL Server 2005's encryption capabilities.

Serving SQL XML through a WebService (SQL2005)
How to server XML from SQL2005 through a WebService
4 Feb 2007, 04:04:00   Source: Serving SQL XML through a WebService (SQL2005)   Tags: Web Services Database XML
Importing data with SSIS Object model
Describes how to use SSIS object model for importing data to SQL server 2005
3 Feb 2007, 07:09:00   Source: Importing data with SSIS Object model   Tags: Database
Use SQL Parameters to Overcome Ad Hoc Performance Issues
Defining (rather loosely) ad hoc queries as SQL commands built as strings by an SQL client application and submitted to SQL Server.
< 1 2 3 4 5 6 7 8 9 10 11 12 >