Viewing 15 posts - 181 through 195 (of 286 total)
There is no strict way to find the last rebuil date time info...
Please refer the below links:
http://sqlblog.com/forums/thread/13120.aspx
http://www.sqlservercentral.com/Forums/Topic340343-149-1.aspx#bm340730
May 26, 2011 at 4:03 am
SELECT Name, MAX([Used Food]) AS Max_Used_Food
,COUNT(Name) AS Count_Food
FROM SomeTable
GROUP BY Name
I was little fast for the column header...try this.
May 26, 2011 at 2:21 am
SELECT Name, MAX([Used Food]),COUNT(Name) AS Max_Used_Food
FROM SomeTable
GROUP BY Name
Try this...
May 26, 2011 at 2:19 am
Adding a point, depends on the cluster key and its uniquness, the other non-cluster key will change.
Please refer the below:
http://sqlzealot.blogspot.com/2011/02/sql-server-index-details.html
May 26, 2011 at 1:01 am
I faced such issues sometimes back. I had separated the queries.
As long as you have many condition, it would be great if you can go for a dynamic parameterized query...
May 24, 2011 at 4:33 am
you canot enforce unique constraint with multiple null values for a column
May 24, 2011 at 3:30 am
DELETE CurIndividual FROM CurIndividual
LEFT JOIN CurAccounts ON CurIndividual.MemberID = CurAccounts.MemberID
WHERE CurAccounts.MemberID IS NULL
Can u try this....
May 21, 2011 at 9:22 am
Adding one more point....
Be a regular visitor of SSC...
May 19, 2011 at 2:37 am
We can probably think of creating a job and execute the script you have at scheduled interval.
We can even send alert mails using DBMail or SQLMail.
May 19, 2011 at 1:49 am
Are you encountering parallelism even you change it to MAXDOP1?
May 18, 2011 at 1:54 am
Thanks for sharing the document.
Again, it says the "Translation from parse tree to internal query representation requires some Normalization". Any idea what are the steps taken in those calculus representaion...
May 16, 2011 at 11:02 pm
then its pretty easy as it is to move the records with the created date difference from the current date exceeds 10 days.
Use DateDiff function for the same.
May 16, 2011 at 10:55 pm
Do you have any created date or updated date in the table? That would be the right key to purge the data.
May 16, 2011 at 10:40 pm
But other things like normalisation,compilation and optimisation happens when you actually execute that object.
Query engine does normalization? Could you please post the link which explains the same. That would be...
May 16, 2011 at 10:38 pm
Viewing 15 posts - 181 through 195 (of 286 total)