Board index » delphi » Curiosity about TADODataset
Brian Hollister
![]() Delphi Developer |
Curiosity about TADODataset2003-11-07 03:35:31 AM delphi118 Does anyone out there use the SET NOCOUNT ON option when using a TADODatset? TADODataset.CommandType := cmdText; For instance; SET NOCOUNT ON SELECT * FROM tmpCompanyProducts WHERE CompanyProductsIndex IS NULL Is this better than just; SELECT * FROM tmpCompanyProducts WHERE CompanyProductsIndex IS NULL Is there any benefit to this? I know that i include it in most of my sproc's just to eliminate the extra bits being passed back across the network. Does this have the same effect when using the TADODataset or TADOQuery? Thanks for your time, Brian |