Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default I want to use hourly update from SQL query

I want to get hourly usage from a database this is to help check efficiency
of machinery. At present I have a speadsheet that returns amount of units
left to produce and other usefull information but would like to be able to
get an hourly units produced per machine. This will help target slower
running machines.
At present I use a SQL query to pull information in real time from database.
Can I use another SQL sdtaement or is there a formulae that will only pull
the information within specific time frame. ie form 06:00 to 07:00 first
hour then from 07:00 to 08:00 etc. all I wish back from this data is units
produced per machine per hour.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default I want to use hourly update from SQL query

If time is one of the fields in each record, you should be able to restrict
your query to that.

If you are getting cumulative numbers, then saving the last set and
comparing to the next set should give you the difference. If you get the
information every hour, then you should be able to manipulate that different
to get the numbers you want.


--
Regards,
Tom Ogilvy


"Jim Ferguson" <Jim wrote in message
...
I want to get hourly usage from a database this is to help check

efficiency
of machinery. At present I have a speadsheet that returns amount of units
left to produce and other usefull information but would like to be able to
get an hourly units produced per machine. This will help target slower
running machines.
At present I use a SQL query to pull information in real time from

database.
Can I use another SQL sdtaement or is there a formulae that will only pull
the information within specific time frame. ie form 06:00 to 07:00 first
hour then from 07:00 to 08:00 etc. all I wish back from this data is units
produced per machine per hour.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UPDATE Query fi.or.jp.de Excel Worksheet Functions 0 July 13th 09 07:54 PM
update DB via MS Query from WS Gaylen Excel Discussion (Misc queries) 4 April 3rd 09 03:38 PM
Update Query Roger Bell New Users to Excel 1 October 11th 07 11:34 AM
Update Web Query rook Excel Discussion (Misc queries) 3 September 18th 07 05:06 PM
How to convert half hourly data into hourly kippers Excel Discussion (Misc queries) 5 February 1st 07 10:27 AM


All times are GMT +1. The time now is 02:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"