February 14, 2006 at 6:01 pm
I am new to SQL. I have data consisting of 85 records that update every 5 minutes. I would like to query only the last 85 every 5 minutes. What is the easiest way to accomplish this task?
Thank You
SQL2DAY
February 14, 2006 at 8:00 pm
Your ddl would be helpful...
but..something like....
select top 85 [identity_field],*
from table t
order by [identity_field] desc
HTH
Mathew J Kulangara
sqladventures.blogspot.com
February 14, 2006 at 8:18 pm
Thank You--
I tried this and it worked great. What is ddl?
SQL2DAY
February 14, 2006 at 8:32 pm
ddl = data definition language
basically your table structures etc...
Glad it worked 🙂
Mathew J Kulangara
sqladventures.blogspot.com
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply