Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to Implement OLE in MS SQL Server

Author  Topic 

jooorj
Posting Yak Master

126 Posts

Posted - 2011-04-10 : 19:17:38
In MS Access
there is a datatype called OLE : which can store files, doc,jpg files
but also it can open file directly with one click.
and return it back with save/update directly on that opened file.
the question is how to implement this feature in SQL Server/.NET (C#,VB.NET)

Thank you

jooorj
Posting Yak Master

126 Posts

Posted - 2011-04-23 : 11:21:42
any replay
Go to Top of Page

sunitabeck
Master Smack Fu Yak Hacker

5155 Posts

Posted - 2011-04-23 : 12:27:41
There is no equivalent feature in SQL Server, and I would think that that is by design. The target audience and business purpose of Access is not the same as that of SQL Server.

You can certainly implement something similar if you need to, with a little bit of work. You would need to store the files in SQL server as blobs or filestream objects and then build a user interface and data access layer using C# or some similar technology.
Go to Top of Page

jooorj
Posting Yak Master

126 Posts

Posted - 2011-04-23 : 14:39:38
I do that, but it is weak, because user does not want to switch between application and temp file which store the file like mm.doc.
so it is complex for a user.
I think there is a way like memory stream to retrieve a file and then restore back with a little bit of work.
thank you for your replay.
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2011-04-23 : 14:49:25
Anything like that will be done in the application that uses the data, not the database.

--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -