473,322 Members | 1,526 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,322 software developers and data experts.

Saving OLE Objects to SQL Sever Table take a long time

It takes five minutes when using object linking and embedding to save
a PDF file using a normal from. The data type is image in an SQL Sever
table.

We are trying to keep track of the legal documents that we have
purchased.
Is their a better technique to use, rather saving the PDF file .
Could we save the path to a text or varchar datatype.

May 3 '07 #1
2 3538
On 3 May 2007 08:59:23 -0700, "to*******@msn.com" <to*******@msn.comwrote:
>It takes five minutes when using object linking and embedding to save
a PDF file using a normal from. The data type is image in an SQL Sever
table.

We are trying to keep track of the legal documents that we have
purchased.
Is their a better technique to use, rather saving the PDF file .
Could we save the path to a text or varchar datatype.
Saving the path is my preferred method. Even though SQL Server does a MUCH better job with objects than does Access,
there is still quite a bit of overhead involved. the only real benefit (at least to me) of storing items in the database
is that they're probably better protected from accidental deletion and from edits by outside programs and users.
Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
May 4 '07 #2
On May 4, 5:53 am, Scott McDaniel <scott@NoSpam_Infotrakker.com>
wrote:
On 3 May 2007 08:59:23 -0700, "tomleb...@msn.com" <tomleb...@msn.comwrote:
It takes five minutes when using object linking and embedding to save
a PDF file using a normal from. The data type is image in an SQL Sever
table.
We are trying to keep track of the legal documents that we have
purchased.
Is their a better technique to use, rather saving the PDF file .
Could we save the path to a text or varchar datatype.

Saving the path is my preferred method. Even though SQL Server does a MUCH better job with objects than does Access,
there is still quite a bit of overhead involved. the only real benefit (at least to me) of storing items in the database
is that they're probably better protected from accidental deletion and from edits by outside programs and users.

Scott McDaniel
scott@takemeout_infotrakker.comwww.infotrakker.com
Scott is correct; the best method is to save only the path to the pdf/
image in the db. You can open the pdf/image using windows api call
shellexecute (opens the object using whatever app is registered in the
system to handle that file type).
http://support.microsoft.com/kb/170918 (How To Use ShellExecute to
Launch Associated File)

May 5 '07 #3

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

Similar topics

0
by: Jon Franz | last post by:
----- Original Message ----- From: "Jon Franz" <jfranz@neurokode.com> To: "Serge Orlov" <sombDELETE@pobox.ru> Sent: Wednesday, November 19, 2003 2:39 PM Subject: Re: Python Database Objects (PDO)...
5
by: Sunil Menon | last post by:
Dear All, Given a Hash Table containing "n" objects (each having many properties) - is it possible to know how much memory that hash table has taken - in a simple console application? Please...
11
by: cwdjrxyz | last post by:
Several threads have discussed the accuracy of time calculated using script when Daylight Saving Time (DST) is considered. A page at http://webexhibits.org/daylightsaving/ gives much information on...
1
by: Inon Zukerman | last post by:
hello everyone. My problem is as follows : my application keeps a hashtable with Outlook.MailItem objects. I need to save and load this hashtable (with those objects inside) when starting and...
4
by: dale zhang | last post by:
Hi, I am trying to save and read an image from MS Access DB based on the following article: http://www.vbdotnetheaven.com/Code/Sept2003/2175.asp Right now, I saved images without any...
18
by: TORQUE | last post by:
Hi, Im wondering if anyone can help me with a problem. I have a form with more than 50 unbound fields. Some of the fields will be blank from time to time. This seems to be where im having...
1
by: mazdotnet | last post by:
Hi guys, I have to make a event signup page for our company that would display the event time/date in 3 different time zones (Eastern - New York, Central - Chicago, and Pacific - San Francisco)....
4
by: ulaskaraoz | last post by:
Hi, I have a std::map instance that I want to save into harddisk so that I donot have to recompute it each time. The map itself is keyed by a string and the values are pointers to other objects....
3
by: Maximiliano | last post by:
Hello, I have an asp.net project that calculates a general tax. Ok, this tax is a big object formed with another child objects (as a mather of fact 15 another child object within it), like Ship,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.