Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Finding "missin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 10961 of 11205
Post > Topic >>

Finding "missing" rows

by maury <maurizio.alberti@[EMAIL PROTECTED] > Apr 14, 2008 at 03:28 AM

Hello, I have a DB table with data filled from a weather sensor probe,
I have one row every 10 minutes and the data fields is not
in DateTime format but in string format:
yyyyMMddHHmm

So for example I have
200804140340
200804140350
200804140400
200804140410
and so on

I need to write a query in SQL server that "tells" me if there is some
hole
in this table, for example if some data was not retrieved or the
sensor
probe didn't collected for an hour or other time interval...
for example if I have
200804140340
200804140350
200804140410
the query have to spot that the record with 200804140400 date is
missing

Some suggestion about building this query?

Thanks




 6 Posts in Topic:
Finding "missing" rows
maury <maurizio.albert  2008-04-14 03:28:20 
Re: Finding "missing" rows
"Anith Sen" <  2008-04-14 09:28:52 
Re: Finding "missing" rows
--CELKO-- <jcelko212@[  2008-04-14 07:37:07 
Re: Finding "missing" rows
maury <maurizio.albert  2008-04-15 09:34:51 
Re: Finding "missing" rows
--CELKO-- <jcelko212@[  2008-04-15 10:29:26 
Re: Finding "missing" rows
maury <maurizio.albert  2008-04-16 04:06:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 20:29:18 CDT 2008.