473,587 Members | 2,508 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

writing records while doing select.

Hello,
I am creating a report via select statement.
I have Oracle 9i.
What I want is to keep the running time of the select statement somewhere in
the database.
(It should be timestamp, not date type).
I want to update database records, while I am running the sql statement,
to keep the last running time of sql statement.

How can I do that ?

I would be glade to have a sample code, please (creating table / package +
select statement).

Thanks :)
Apr 26 '06 #1
0 2362

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

Similar topics

1
2225
by: MikL | last post by:
Hi all, I'm regularly getting the "deadlocked..you're the victim" message when two threads work on a table at the same time via JDBC. The two threads don't update the same records. I suspect the cause is related to index or page locks, and/or the fact that the UPDATE statements are doing table scans because there's no index on the primary...
13
3096
by: Jeff Pritchard | last post by:
I have an MDB that contains a single table. Checkweigher data is being continuously written to this MDB from a dedicated workstation over a network into the MDB on the server at the rate of about 120 records a minute. This may increase in the future to about 200. The records are not large. We have other workstations that run sessions on...
3
2757
by: VMI | last post by:
I'm having trouble writing several records from an XML file into an html file. The problem is that it only outputs one record to the html file. I need to export all the records in the xml file to html. How can I do this? Is there a better (and easier) way to export a dataset to a 'friendly-printer' format? The resulting XML file is hard to...
8
1330
by: Paul | last post by:
I have an application that I am tryign to modify, I never wrote the original so need help with my modifications. Currently the app reads and writes to an Access database with one table 'pupils' I would like to keep this table but only ever update the records in this table, but at the same time when I create a new record it puts the current...
10
3256
by: cj | last post by:
I'm having a problem writing an insert command to work with a datatable. I've looked at what the sqldataadapter creates and created my insert command to look the same. I have: MySqlAdapter.InsertCommand = New SqlCommand("INSERT INTO billing( type, dsc ) VALUES ( @type, @dsc)", MySqlConnection) But it gives me the following error when...
0
2414
by: georges the man | last post by:
The purpose: • Sorting and Searching • Numerical Analysis Design Specification You are to write a program called “StockAnalyser”. Your program will read a text file that contains historical price of a stock. The program will allow users to query the stock price of a particular date and output its statistics (mean price, median price and...
2
3319
by: Catch_22 | last post by:
Hi, I have a stored procedure that has to extract the child records for particular parent records. The issue is that in some cases I do not want to extract all the child records only a certain number of them. Firstly I identify all the parent records that have the requird number of child records and insert them into the result table.
5
2289
by: jmarcrum | last post by:
Hi everyone! I'm getting an error that I can't figure out...here's my code...i'm trying to reference the first sqlStatement from the second sqlStatement and run the second sqlStatement. Am I doing it correctly? The error is..."The Microsoft Jet database engine could not find the input table or query 'records'. Make sure that it exists and...
0
714
by: Eitan M | last post by:
Hello, I am creating a report via select statement. I have Oracle 9i. What I want is to keep the running time of the select statement somewhere in the database. (It should be timestamp, not date type). I want to update database records, while I am running the sql statement, to keep the last running time of sql statement. How can I do...
0
7923
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7852
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5395
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.