When storing the location of the file in the database, would you store the
directory path and file name or just the file name?
I am trying to determine which would be best. I understand that if you
store the directory and then the directory changes you need to update all of
your data. But then if you store the filename and let your application worry
about the location, you are now relying on the application to tell you where
it is unless you document the directory somewhere.
Thanks
Chris
[quoted text, click to view] "ina" wrote:
> On Feb 22, 10:47 am, "vt" <vinu.t.1...@gmail.com> wrote:
> > Ina,
> >
> > I recon you should store the file separately in system and just put the
> > location I table. If you store picture in db, performance will be very poor.
> > I absolutely agree with Uri's comment
> >
> > VT
> >
> > "Stefan Delmarco" <StefanDeOnl...@fotia.co.uk> wrote in message
> >
> > news:eLJxHJmVHHA.488@TK2MSFTNGP06.phx.gbl...
> >
> >
> >
> > > If you still want to store your files in the database, use an IMAGE (SQL
> > > 2000) or VARBINARY(MAX) (SQL 2005) field. Using these data types will also
> > > allow you to leverage SQL's full text search for these files.
> >
> > > --
> > > Cheers,
> > > Stefan Delmarco
> >
> > >
http://www.fotia.co.uk- Hide quoted text -
> >
> > - Show quoted text -
>
> Thank you very much for this information. :D :D I was thinking about
> to store all in DB as I would like to be able to produce rapport in
> access project .adp. But definitely build a file system it is much
> more easy and trustful
>
> ina
>