Re: Insert binary file content to DB
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Sun, 7 Aug 2005 17:57:46 -0500
"quest" <annonymous@xxxxxxxxxxxxx> wrote in message
news:eYjGiR5mFHA.2580@xxxxxxxxxxxxxxxxxxxxxxx
> Database : MS-SQL and Access
> I tried to use ADO to perform the task. I am using visual basic 6.
>
With ADO it is GetChunk and AppendChunk or Parameters.
Use these methods with MSAccess and OLE Objects.
Note the links at the bottom of the page.
http://www.ammara.com/articles/imagesaccess.html
With SQLServer there are various data types you might use. Here is an
example of how to store and retrieve BLOBs.
http://www.microsoft.com/technet/prodtechnol/sql/2000/reskit/part3/c1161.mspx
None of these articles are complete but should get you started. Just google
on specific terms and 'VB Sample Code -".NET"' when you need more
information.
hth
-ralph
> "Ralph" <nt_consulting64@xxxxxxxxx> wrote in message
> news:WMWdnb4v85gBpWvfRVn-hQ@xxxxxxxxxxxxxxx
> >
> > "quest" <annonymous@xxxxxxxxxxxxx> wrote in message
> > news:%23rZcQC2mFHA.708@xxxxxxxxxxxxxxxxxxxxxxx
> > > Can someone show me a sample code on how I can insert a binary data
into
> a
> > > database ? How do I retrieve it ? Thanks!
> > >
> >
> > What database?
> > What Data Access Library?
> > What environment?
> >
> > Look up "Data Types" in your "DB's" help file....
> > CLOB, BLOB, RAW, BFILE, BINARY, IMAGE, VARBINARY, &etc
> > GetChunk, BinaryRead, ... &etc
> >
> > -ralph
> >
> >
>
>
.
- References:
- Insert binary file content to DB
- From: quest
- Re: Insert binary file content to DB
- From: Ralph
- Re: Insert binary file content to DB
- From: quest
- Insert binary file content to DB
- Prev by Date: Re: Insert binary file content to DB
- Next by Date: Re: TOP Predicate makes a query readonly???
- Previous by thread: Re: Insert binary file content to DB
- Next by thread: Re: Insert binary file content to DB
- Index(es):
Relevant Pages
|