Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
|
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 22nd, 2007, 07:09 PM
Authorized User
 
Join Date: Nov 2005
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default Indexes for searching

If I have a table with 10 columns, and I want to be able to search by any single column, or by any combination of the columns, would a single index including all columns be best? Or would ten indexes, one for each individual column, be preferred?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Indexes luisjeronimo BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 June 27th, 2008 09:34 AM
Indexes for searching fizzerchris SQL Server 2005 0 May 22nd, 2007 07:08 PM
Complicated Indexes luciano XSLT 0 July 19th, 2005 08:01 PM
Indexes SQ SQL Language 1 October 5th, 2004 10:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.