Welcome Guest Search | Active Topics | Members | Log In | Register

Re: Storing documents in SQL SERVER 2000 for ASP.Net application Options · View
Marc Gravell
Posted: Monday, January 07, 2008 8:59:24 AM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 07/01/2008 08:59:24
Date: Mon, 7 Jan 2008 08:59:24 -0000

Well, if you want to store (binary) documents *inside* SQL Server
2000, then your only option is "image". SQL Server 2005 introduces
varbinary(max) which can function in a very similar manner, and 2008
introduces file-streams.

Yes, there are pros and cons of documents inside the database. For my
document management system, I just keep a relative* path in the
database, with the files outside; this allows me to map them directly
into a virtual folder in IIS. However, you would probably need to use
a bespoke handler/module to enforce access control (or perhaps edit
the file ACLs through code; but this is possibly harder?).

Note that it is harder to get a single backup of the data+files if
they are segregated like this...

Marc

(*=relative to the root of my docstore tree, so I can easily move the
physical files without having to update the database)


Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.029 seconds.