473,569 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1664
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.goo glegroups.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
4162
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 required for a screen reader (text to speech) for accessibility, to help the reader software use the correct presentation method (e.g. correct language...
36
5080
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 do so, since this is not part of the specification. How then to you apply styles to entire columns? Surely you don't have to write <td...
5
13324
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 http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the...
0
7615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8130
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7677
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.