Click here to Skip to main content
15,921,062 members
Home / Discussions / Database
   

Database

 
GeneralRe: ado Pin
Husein26-Nov-03 21:17
Husein26-Nov-03 21:17 
QuestionInserting identity columns with CommandBuilder generated commands? Pin
Carl Mercier20-Nov-03 7:51
Carl Mercier20-Nov-03 7:51 
AnswerRe: Inserting identity columns with CommandBuilder generated commands? Pin
Husein22-Nov-03 3:33
Husein22-Nov-03 3:33 
GeneralChange row header in data grid Pin
SathishVJ20-Nov-03 6:39
SathishVJ20-Nov-03 6:39 
Generalsql dmo quest Pin
ranjjj19-Nov-03 18:28
ranjjj19-Nov-03 18:28 
GeneralRe: sql dmo quest Pin
Johnny Go-Lightly20-Nov-03 14:34
sussJohnny Go-Lightly20-Nov-03 14:34 
QuestionHow does DataView.RowFilter works? Pin
Alexandru Savescu19-Nov-03 7:11
Alexandru Savescu19-Nov-03 7:11 
AnswerRe: How does DataView.RowFilter works? Pin
Husein23-Nov-03 2:51
Husein23-Nov-03 2:51 
I have discovered the same thing. In a test application that I created the results were REALLY unbelievable.
The thing that I did was:
1. Connect to SQL Server
2. Use Northwind as Initial Catalog
3. Filled the dataset with Customers table records

After using DataTable.Rows.Find("MORGK"), the time taken was 40 milliseconds
After using DataTable.DefaultView.Find("MORGK"), the time taken was 0(?) WTF | :WTF: milliseconds but the record index was correctly found and the return value was 51.
After using DataView.RowFilter the time taken was 70 milliseconds.

And then, going through the documentation, DataTable.Rows.Find() uses PrimaryKey to locate the record. There was nothing like this for RowFilter so my assumption is that DataView uses an approach like Table Scan which means that PrimaryKey is completely ignored. Also, DataView constantly monitors for new rows and if it matches the criteria it is automatically available in the DataView.

I guess this could be a sort of explanation.

Husein
GeneralSelect reads from XML file in ado.net Pin
imran_shahid@msn.com18-Nov-03 21:24
imran_shahid@msn.com18-Nov-03 21:24 
Questionhow to apply filter to Master/Detail records in dataset Pin
imran_shahid@msn.com18-Nov-03 21:19
imran_shahid@msn.com18-Nov-03 21:19 
AnswerRe: how to apply filter to Master/Detail records in dataset Pin
gokselm22-Nov-03 14:31
gokselm22-Nov-03 14:31 
GeneralCursor Pin
Anonymous18-Nov-03 4:42
Anonymous18-Nov-03 4:42 
GeneralRe: Cursor Pin
Jeff Varszegi18-Nov-03 5:34
professionalJeff Varszegi18-Nov-03 5:34 
Generalcall ado nextrecordset failed Pin
zhangxinghai17-Nov-03 21:52
zhangxinghai17-Nov-03 21:52 
Questionhow to store xml data from xml file in database table Pin
Kris{PL}17-Nov-03 11:55
Kris{PL}17-Nov-03 11:55 
GeneralBorland C++ Builder DB usage Pin
EricCartman17-Nov-03 5:43
EricCartman17-Nov-03 5:43 
GeneralSQLObjectListPtr Pin
ranjjj17-Nov-03 3:14
ranjjj17-Nov-03 3:14 
GeneralSQLObjectListPtr Pin
ranjjj17-Nov-03 3:14
ranjjj17-Nov-03 3:14 
Generalsqldmo.tlh Pin
ranjjj16-Nov-03 22:33
ranjjj16-Nov-03 22:33 
Generallistdatabasepermissions Pin
ranjjj15-Nov-03 23:53
ranjjj15-Nov-03 23:53 
GeneralLoad a file into a binary column in SQL server Pin
CillyMe15-Nov-03 17:32
CillyMe15-Nov-03 17:32 
GeneralRe: Load a file into a binary column in SQL server Pin
mhmoud rawas15-Nov-03 18:39
mhmoud rawas15-Nov-03 18:39 
GeneralRe: Load a file into a binary column in SQL server Pin
CillyMe16-Nov-03 22:32
CillyMe16-Nov-03 22:32 
GeneralLoad a file into a binary column in SQL server Pin
CillyMe15-Nov-03 17:31
CillyMe15-Nov-03 17:31 
GeneralRe: Load a file into a binary column in SQL server Pin
Jeff Varszegi18-Nov-03 5:38
professionalJeff Varszegi18-Nov-03 5:38 

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.