Click here to Skip to main content
16,011,868 members
Home / Discussions / Database
   

Database

 
QuestionSQL Reporting Services 2000 Pin
xfitr230-Aug-06 9:44
xfitr230-Aug-06 9:44 
AnswerRe: SQL Reporting Services 2000 Pin
xfitr230-Aug-06 11:41
xfitr230-Aug-06 11:41 
GeneralRe: SQL Reporting Services 2000 Pin
Michael P Butler30-Aug-06 21:24
Michael P Butler30-Aug-06 21:24 
QuestionQuestion Pin
messages30-Aug-06 6:55
messages30-Aug-06 6:55 
AnswerRe: Question Pin
Colin Angus Mackay30-Aug-06 9:59
Colin Angus Mackay30-Aug-06 9:59 
GeneralRe: Question Pin
messages30-Aug-06 23:31
messages30-Aug-06 23:31 
QuestionCompare 2 DataTables Pin
Omkar Ghaisas30-Aug-06 4:36
Omkar Ghaisas30-Aug-06 4:36 
AnswerRe: Compare 2 DataTables Pin
Mike Dimmick30-Aug-06 12:23
Mike Dimmick30-Aug-06 12:23 
Um. The point of having the cache is to save the overhead of querying the database. If you have to query the database to find out if the cache is still valid, the cache becomes pointless - it's just wasting memory.

ASP.NET 2.0 offers the SqlCacheDependency class which, on SQL Server 2005, uses a feature where the server software itself can call you back to tell you that the results of a query have changed. SQL Server 2000 doesn't offer this, but ASP.NET supplies a tool (aspnet_regsql.exe) which can be used to create (I assume) triggers on tables which will allow a simple scalar lookup to determine if the base table has changed, rather than having to perform the potentially-costly query.

In general, though, to compare two DataTables, you would simply iterate over the Rows collection, and if there was any row that was different in one table compared to the other one, or a row present in one missing in the other, they'd be different.

Stability. What an interesting concept. -- Chris Maunder

QuestionHow retrive the values from a Table Pin
dayakar_dn30-Aug-06 3:03
dayakar_dn30-Aug-06 3:03 
AnswerRe: How retrive the values from a Table Pin
_AK_30-Aug-06 3:11
_AK_30-Aug-06 3:11 
QuestionStored Procedure with Output Pin
joshp121730-Aug-06 2:47
joshp121730-Aug-06 2:47 
AnswerRe: Stored Procedure with Output Pin
Sage30-Aug-06 14:30
Sage30-Aug-06 14:30 
QuestionSQL Mail Pin
Arghya_mp30-Aug-06 0:27
Arghya_mp30-Aug-06 0:27 
AnswerRe: SQL Mail Pin
kumarprabhakar7430-Aug-06 2:35
kumarprabhakar7430-Aug-06 2:35 
QuestionSQL Query Pin
aaraaayen29-Aug-06 20:18
aaraaayen29-Aug-06 20:18 
AnswerRe: SQL Query Pin
_AK_29-Aug-06 23:02
_AK_29-Aug-06 23:02 
GeneralRe: SQL Query Pin
aaraaayen29-Aug-06 23:57
aaraaayen29-Aug-06 23:57 
GeneralRe: SQL Query Pin
_AK_30-Aug-06 0:07
_AK_30-Aug-06 0:07 
QuestionHow to maintain isolation level in MSSQL SERVER 2000? Pin
param thaker29-Aug-06 19:12
param thaker29-Aug-06 19:12 
AnswerRe: How to maintain isolation level in MSSQL SERVER 2000? Pin
Mike Dimmick30-Aug-06 0:18
Mike Dimmick30-Aug-06 0:18 
GeneralRe: How to maintain isolation level in MSSQL SERVER 2000? Pin
param thaker30-Aug-06 3:07
param thaker30-Aug-06 3:07 
QuestionBULK INSERT with CONVERT or CAST? Pin
Yong Yau29-Aug-06 16:36
Yong Yau29-Aug-06 16:36 
AnswerRe: BULK INSERT with CONVERT or CAST? Pin
Sage30-Aug-06 14:33
Sage30-Aug-06 14:33 
GeneralRe: BULK INSERT with CONVERT or CAST? Pin
Yong Yau31-Aug-06 16:01
Yong Yau31-Aug-06 16:01 
GeneralRe: BULK INSERT with CONVERT or CAST? Pin
Sage1-Sep-06 0:17
Sage1-Sep-06 0:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.