473,383 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Index= <th scope="col"> ?

Is an index in a database the equivalent for a <TH scope="col"> in a column
of a
table in the html code?

--
Luigi ( un italiano che vive in Svezia)
https://www.scaiecat-spa-gigi.com/sv...or-italien.php


Jul 23 '05 #1
3 1648
No. TH is essentially a bolded TD tag. In MSSQL, a table w/o a
clustered index is a "heap", the rows are in random order. A table
with a clustered index, physically stores its rows in the clustered
index and is ordered by the index keys. A non clustered index is based
off the clustered index (if there is one). The reason why indexes are
important is that the data lives on disk. The database doesn't load
the entire table into memory, waiting for you. When you perform a
query, it goes out to disk and fetches a subset of rows, hopefully by
using a index. Otherwise it has to scan the entire table. (Try
scanning a phone book. It's not much fun if it isn't sorted.) If you
want an analogy, an index is more like a memory pointer. I don't think
it's possible to explain indexes in one paragraph. Suggest reading up
on it in Books On Line.

Jul 23 '05 #2

"louis" <lo************@gmail.com> skrev i meddelandet
news:11**********************@z14g2000cwz.googlegr oups.com...
No. TH is essentially a bolded TD tag. It seems to be more than that

http://www.w3.org/TR/REC-html40/stru....html#h-11.4.1
In MSSQL, a table w/o a clustered index is a "heap", the rows are in random order. A table
with a clustered index, physically stores its rows in the clustered
index and is ordered by the index keys. A non clustered index is based
off the clustered index (if there is one). The reason why indexes are
important is that the data lives on disk. The database doesn't load
the entire table into memory, waiting for you. When you perform a
query, it goes out to disk and fetches a subset of rows, hopefully by
using a index. Otherwise it has to scan the entire table. (Try
scanning a phone book. It's not much fun if it isn't sorted.) If you
want an analogy, an index is more like a memory pointer. I don't think
it's possible to explain indexes in one paragraph. Suggest reading up
on it in Books On Line.


Any book that you would recommend?
--
Luigi ( un italiano che vive in Svezia)
https://www.scaiecat-spa-gigi.com/sv...i-italien.html



Jul 23 '05 #3
Guru's Guide to Transact-SQL by Ken Henderson. He has 3 books, talking
about MSSQL peculiarities.

On Technet, there is a free online copy of the administrator's pocket
consultant.
http://www.microsoft.com/technet/pro.../adminpoc.mspx

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: Jan Wagner | last post by:
Hi, can't figure this one out, what's the CSS way to specify the language? In HTML it would be simply an lang="xx" attribute, or XHTML xml:lang="xx", but, how about in CSS? This would be...
36
by: Roedy Green | last post by:
The only browser I have encountered that supports <colgroup><col class="behold"></colgroup> to apply a CSS style to a whole column, is Microsoft Internet Explorer. I have been told it SHOULD NOT...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.