473,405 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Trying to sort transactions by time

I'm trying to write a query that will find multiple transactions that
take place within a pre-determined time limit. I can easily compute
the time between adjacent transactions and then judge whether they fall
within the time limit, but I can't figure out a way to do this for
three or more transactions. Does anybody know how to do this?

Feb 21 '06 #1
1 1315
bo********@fns.usda.gov wrote in
news:11**********************@o13g2000cwo.googlegr oups.com:
I'm trying to write a query that will find multiple
transactions that take place within a pre-determined time
limit. I can easily compute the time between adjacent
transactions and then judge whether they fall within the time
limit, but I can't figure out a way to do this for three or
more transactions. Does anybody know how to do this?


Create a query that contains (at least) the following fields: 1)
PrimaryKey of table, 2)the time you wish to evaluate, 3)
calculated value of time + time limit.

Create a new query that takes your first, and the original
table.

Set the criteria for the time from the original table to
BETWEEN [query].[original time] AND [query].[calculated time]

Run the query. see the results.
--
Bob Quintal

PA is y I've altered my email address.
Feb 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Christopher J. Bottaro | last post by:
Hi, Why is there no support for explicit transactions in the DB API? I mean like transaction() to start the trans and commit() and rollback() would end the trans or something. The reason why I...
1
by: Arthur Dent | last post by:
I have a log file in this format: YYYYMMDD HHMMSS DATADATADATADATADATA RESULTCODE and I want to be able to parse the log and gleen information about gaps in time between transactions. For...
7
by: Richard Maher | last post by:
Hi, I am seeking the help of volunteers to test some software that I've developed which facilitates distributed two-phase commit transactions, encompassing any resource manager (e.g. SQL/Server...
3
by: Lada 'Ray' Lostak | last post by:
Hello ppl, Imagine some online system, based on PgSql. There are 'many' parts which depends on each other. I will give small example, but instead of simple table imagine changing tenths various...
0
by: Jennyfer Barco | last post by:
Hello, I'm expiriencing something weird, once in a while I have duplicated transactions because it looks like a stored procedure is being executed twice from .NET. When this happens I get 2 record...
1
by: RAM | last post by:
Hello, I am learning .NET 2.0 (ASP.NET, ADO.NET). I would like to ask experienced programmers when to use System.Transactions. One programmer told me that he never used System.Transactions, he...
12
by: Rami | last post by:
I have some requirement for an automated payment system. The system has four machines setup as follows: 1- Two machines have a clustered database. 2- Two machines have a .net business logic...
3
by: Ken | last post by:
I used the classes (SqlCommand, SqlConnection) of part of System.Data namespace. I got an error which mentioned "Could not load file or assembly assembly 'System.Transactions, Version=2.0.0.0,...
4
by: steven | last post by:
I have a small database that I have been testing. I get an error about a transaction deadlock. The code is in stored procedures and I added transactions to the sp's but the error happened again....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.