Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Fast Search data in million row of records

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-02-25 : 08:28:03
Halim writes "1. How the best way i want to search / retrieve a record in table that have a million row of records using visual basic/sql statement ? i always got a 'timeout' message."

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-02-25 : 08:46:24
select *
from MyTable
where col1 like 'someword%'

putting an index on the table should speed things up.


Go with the flow & have fun! Else fight the flow
Go to Top of Page
   

- Advertisement -