473,407 Members | 2,306 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,407 software developers and data experts.

Database Progress Bar

Does anyone have a good idea of how to display a rather accurate progress
bar to show how far along a query is? I am executing multiple queries and
would like to have something graphical for the user to see that the program
is still working. Thanks in advance!
Nov 16 '05 #1
3 2475
NuBBeR,

Unfortunately, there really isn't a way to do this (for most DBs, SQL
Server being one of them).

If you have multiple queries executing, then you can give a progress
indicator for the overall operation (over the multiple queries), but not for
the progress of the individual query.

You can still provide something to indicate that the application is
alive. For example, take the search progress bar in windows (it bounces
back and forth, just to indicate it is doing something).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"NuBBeR" <be***********@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP09.phx.gbl...
Does anyone have a good idea of how to display a rather accurate progress
bar to show how far along a query is? I am executing multiple queries and
would like to have something graphical for the user to see that the
program is still working. Thanks in advance!

Nov 16 '05 #2
Nicholas-
Thank you for the feedback! Where can i find the search progress bar?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uJ**************@TK2MSFTNGP14.phx.gbl...
NuBBeR,

Unfortunately, there really isn't a way to do this (for most DBs, SQL
Server being one of them).

If you have multiple queries executing, then you can give a progress
indicator for the overall operation (over the multiple queries), but not
for the progress of the individual query.

You can still provide something to indicate that the application is
alive. For example, take the search progress bar in windows (it bounces
back and forth, just to indicate it is doing something).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"NuBBeR" <be***********@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP09.phx.gbl...
Does anyone have a good idea of how to display a rather accurate progress
bar to show how far along a query is? I am executing multiple queries
and would like to have something graphical for the user to see that the
program is still working. Thanks in advance!


Nov 16 '05 #3
If you're using Sql Server you can trap the InfoMessage event (include some
print statement and even though they aren't error messages, they'll come
back and you can bump the progress bar)

--
W.G. Ryan, MVP

www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"NuBBeR" <be***********@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP09.phx.gbl...
Does anyone have a good idea of how to display a rather accurate progress
bar to show how far along a query is? I am executing multiple queries and
would like to have something graphical for the user to see that the program is still working. Thanks in advance!

Nov 16 '05 #4

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

Similar topics

1
by: Jasper Recto | last post by:
I have a little program that opens a progress database and runs a report. Dim Path As Object Dim Report As Object Path = "d:\ReportBuilder\VendorShipping.p" Report =...
5
by: ssp | last post by:
Dear all, I'm dealing with a very tricky problem and can't seem to find the answer with google. the problem is: i want to store huge data (binaries) inside a mysql databases blob - to later...
1
by: pginfo | last post by:
Hi, I have had two times problem with pg database corruption. My system: Dual athlon 2.4 1 GB RAM, linux red hat 7.3 reiserFS Also on the system I have cron that every 3 h. make dump and...
1
by: Ruth | last post by:
Alison, You are going to find this a real coincidence! To begin with, I am Roberta Laird's husband. I think you know Roberta. We also are friends with Laura McConnell. Anyway, I am in business...
3
by: Pierre | last post by:
Hi, I was wondering if anyone ever done a progress bar that reflects a database update. I have an update query with SQL server that takes about 5 minutes. I can't figure out a way to show the...
13
by: Dino Buljubasic | last post by:
I want to get the size of a file stored in SQL Database (as image data type). Anybody knows how to do this? Any help will be greatelly appreciated
2
by: Randy | last post by:
Hi,all I met one problem of connecting Access database in asp.net web program. I use ODBC link to Access, the connection string like "PWD=12345;DSN=QADLinkMDB;DriverId=25;MaxBufferSize=2048;FIL=MS...
0
by: narayan2586 | last post by:
Hi all, When ever i am trying to connect my application it's giving below error message: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: ; nested...
1
by: Tarscher | last post by:
Hi all, I'm collecting a large datablock from a remote database (1 query). It can easily take upto 1 minute. Is there a way I can give the user an indication on what percentage already has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.