On Fri, May 28, 2010 at 7:32 AM, Rafael Copquin <[email protected]> wrote:
> I have a requirement to save hundreds of Word files, with sensitive
> information, so only the user can read them and prevent anybody from
> copying them.
>
> I thought of saving them in a SQL Server database and this raises a few
> questions:
>
> Is this a good idea?
>
> If so, which data type in SQL Server should I use?
>
> How would this be accomplished using VFP 9 as the front end?
> (I need some code snippet here, both for saving and retrieving the file)
>
> Are there any alternative ways, EXCLUDING .NET, since I have not learned
> that yet?
-------------------------

Nope it can't be done.  ;->

Bad Steve!

The datatype should be text.  You can put the entire content of the
doc into that no problem.  I have used it to store xRays and other
medical images.  This one table became the biggest one in the db that
I was responsible for.  In excess of 600 gig about a year ago.

How to push it from VFP, someone else will have to chime in on that.
In general you would probably do a FTOS() and then pass that var in
your insert statement.



-- 
Stephen Russell

Sr. Production Systems Programmer
CIMSgts

901.246-0159 cell

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to