Solved

Limit of saving file in sql table

Posted on 2013-02-03
7
145 Views
Last Modified: 2013-02-03
I dont want to use SQl Server's filestream. I want to save the files in a table in database using varbinary(max)....

How big the file can be?
0
Comment
Question by:Camillia
  • 3
  • 3
7 Comments
 
LVL 9

Expert Comment

by:Aeriden
ID: 38849041
0
 
LVL 9

Accepted Solution

by:
Aeriden earned 250 total points
ID: 38849043
Sorry, the link is for SQL 2012.  For SQL 2008, reference http://msdn.microsoft.com/en-us/library/ms188362%28v=sql.100%29.aspx

(still the same maximum size)
0
 
LVL 7

Author Comment

by:Camillia
ID: 38849060
If i want to think in terms of pages, how many pages is 2GB? or i cant compare it as such?
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 9

Expert Comment

by:Aeriden
ID: 38849268
In the old days (circa SQL Server 4.x and 6.x) we used to think in terms of pages.  I haven't thought that way in a long time (haven't needed to).  Perhaps you could provide some insight as to why pages would be of concern to you (and perhaps relevant)?
0
 
LVL 7

Author Comment

by:Camillia
ID: 38849275
I want to explain to my manager what 2GB compares to # of PDF files.
0
 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 250 total points
ID: 38849617
I want to explain to my manager what 2GB compares to # of PDF files.
Unfortunately, you cannot do that.  The best you can do is pick some random files and divide the sum of all the sizes by the total number of pages.  For example the PDF that I see are a little over 2Kb per page, but I am talking about a PDF with over half a million pages.

But I do need to add that if you have PDFs with anywhere close to 2 GB and you are attempting to save in database you have bigger problems.

Good luck with your approach and make sure to come back to this thread in say about a year or two and tell us how it worked out for you.
0
 
LVL 7

Author Comment

by:Camillia
ID: 38849669
Thanks. Not going to store 2GB of files. I was just looking at example. Going to put a limit on the size of the file we save.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now