Professional Web Applications Themes

Store files in DB - Microsoft SQL / MS SQL Server

You can use image as the datatype. It is a binary datatype with a storage limit of 2 GB -- Jacco Schalkwijk MCDBA, MCSD, MCSE Database Administrator Eurostop Ltd. "hngo01" <hngo01hotmail.com> wrote in message news:096401c347ac$69b2fa30$a501280aphx.gbl... > Hi all, I have couple different files with different > format (.txt, .jpg, .doc, .mdb) I want to store these file > in the DB. Can I use BIN as the Data Type? Thanks > >...

  1. #1

    Default Re: Store files in DB

    You can use image as the datatype. It is a binary datatype with a storage
    limit of 2 GB

    --
    Jacco Schalkwijk MCDBA, MCSD, MCSE
    Database Administrator
    Eurostop Ltd.


    "hngo01" <hngo01hotmail.com> wrote in message
    news:096401c347ac$69b2fa30$a501280aphx.gbl...
    > Hi all, I have couple different files with different
    > format (.txt, .jpg, .doc, .mdb) I want to store these file
    > in the DB. Can I use BIN as the Data Type? Thanks
    >
    >

    Jacco Schalkwijk Guest

  2. #2

    Default Re: Store files in DB

    There are various data type that can be used. Will you
    call the image from a front-end applications to view the
    image. If so I recommend storing the path in the
    database an making your call from the application to
    display it.
    >-----Original Message-----
    >You can use image as the datatype. It is a binary
    datatype with a storage
    >limit of 2 GB
    >
    >--
    >Jacco Schalkwijk MCDBA, MCSD, MCSE
    >Database Administrator
    >Eurostop Ltd.
    >
    >
    >"hngo01" <hngo01hotmail.com> wrote in message
    >news:096401c347ac$69b2fa30$a501280aphx.gbl...
    >> Hi all, I have couple different files with different
    >> format (.txt, .jpg, .doc, .mdb) I want to store these
    file
    >> in the DB. Can I use BIN as the Data Type? Thanks
    >>
    >>
    >
    >
    >.
    >
    Jaime E. Maccou Guest

  3. #3

    Default Re: Store files in DB

    Well, you can just stored the type of the file (word, excel, jpg etc) in a
    separate column and use that in your app to decide how to interpret the data
    that is stored in the image column.


    "Jaime E. Maccou" <jemaccearthlink.net> wrote in message
    news:022201c347e8$f9b37ba0$a501280aphx.gbl...
    > There are various data type that can be used. Will you
    > call the image from a front-end applications to view the
    > image. If so I recommend storing the path in the
    > database an making your call from the application to
    > display it.
    > >-----Original Message-----
    > >You can use image as the datatype. It is a binary
    > datatype with a storage
    > >limit of 2 GB
    > >
    > >--
    > >Jacco Schalkwijk MCDBA, MCSD, MCSE
    > >Database Administrator
    > >Eurostop Ltd.
    > >
    > >
    > >"hngo01" <hngo01hotmail.com> wrote in message
    > >news:096401c347ac$69b2fa30$a501280aphx.gbl...
    > >> Hi all, I have couple different files with different
    > >> format (.txt, .jpg, .doc, .mdb) I want to store these
    > file
    > >> in the DB. Can I use BIN as the Data Type? Thanks
    > >>
    > >>
    > >
    > >
    > >.
    > >

    Jacco Schalkwijk Guest

Similar Threads

  1. Flash Media Server (Where To Store .flv files)
    By trpullen in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: October 3rd, 08:40 PM
  2. How to store property values of custom controls to *.aspx.resx files at design time?
    By theis.netronic@freenet.de in forum ASP.NET Building Controls
    Replies: 0
    Last Post: February 2nd, 10:31 AM
  3. store variables in external files
    By polakemi webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 6
    Last Post: February 1st, 11:32 PM
  4. where to store external cast files
    By high on a mountain top in forum Macromedia Director Basics
    Replies: 2
    Last Post: October 16th, 06:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139