Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
Hi.I have a standard news table that has id(PK),headertext(nvarchar),innertext(nvarchar),photo(nvarchar) and url(nvarchar).Do i need to provide any extra indexing as this is a stand alone table without any relationships.Thanks.
It's a small news web page.The queries is for receiving data pages according to date(i forgot to put the data column in the first post),rows as this is a news forum will be top 20 rows per day lower 1 row per day.I am not sure how to give a ration between reads and writes.Thanks.
Sorry for the delay.Here is the query and basically all of these are like this one.Thanks i'll look at any answers tomorrow.
select rownum,id,headertext,innertext,url,photo,datecFrom(select id,headertext,innertext,url,photo,datec, ROW_NUMBER() OVER(ORDER BY datec desc) as rownumFrom news n) as newsinfoWHERE RowNum BETWEEN @startRowIndex AND (@startRowIndex + @maximumRows) - 1
Thanks.One thing i forgot to mention is that i will be using full text search for searching the news table.I've read that it must be fed with a unique column such as the primary key.Will this interfere if i use your scenario?Thanks again.