VarBinary (1 Viewer)

zezo2021

Member
Local time
Today, 06:47
Joined
Mar 25, 2021
Messages
381
Hello

I Store PDF in Var Binary field in SQL server Db

How can I compact this field to a minimum size

Because the DB become bigger after uploading some PDF FIELD


Any tips or tricks

Thank you so much
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 21:47
Joined
Oct 29, 2018
Messages
21,455
One idea is to zip the file first before storing it. Why are you worried about the size of the db?
 

zezo2021

Member
Local time
Today, 06:47
Joined
Mar 25, 2021
Messages
381
Online
 

zezo2021

Member
Local time
Today, 06:47
Joined
Mar 25, 2021
Messages
381
I'm using GoDaddy

and access and SQL server

I can store the pdf in the web hosting folder

but I don't know how to get the path of the file from the Microsoft access
 
Last edited:

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 21:47
Joined
Oct 29, 2018
Messages
21,455
I'm using goddady

and access and SQL server

I can store the pdf on web hosting


but I don't know how to get the pass of the file from access
Maybe you can ask them if you have FTP capability. If so, you can use FTP to download the file from their server using Access.
 

zezo2021

Member
Local time
Today, 06:47
Joined
Mar 25, 2021
Messages
381
Maybe you can ask them if you have FTP capability. If so, you can use FTP to download the file from their server using Access.
I want to store the Path of the file (Online) path inside string field

user click on this link or string open the file
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 21:47
Joined
Oct 29, 2018
Messages
21,455
I want to store the Path of the file (Online) path inside string field

user click on this link or string open the file
Yes, I understand. If it's just PDF, you might be able to use a URL (depending on how/where it's stored online), and the file will open in the browser. If you want the file to open using Acrobat Reader, you'll have to download the file first.
 

OuterApply

New member
Local time
Yesterday, 21:47
Joined
Mar 10, 2022
Messages
15
I liked dbguy suggestion about ftp as it made me think of other things too.
As just one (of many possible) random examples, check out Adrive.com
They offer very cheap plans and FULL ftp capability - totally open (not just sftp) which would allow you to store files and then write vba code to easily grab a copy of it for the user and open it when needed, or send files up as well.
Just another thought.
 

Users who are viewing this thread

Top Bottom