V
V
Vitaly Rybchenko2016-03-16 08:36:13
SQL Server
Vitaly Rybchenko, 2016-03-16 08:36:13

How to find the hash sum of a file in MS SQL?

There are a bunch of files on the disk, I need to get their hash sum and write them to the database.
How to do it?
If I understand correctly, then CHECKSUM is not suitable for this, because. can only work with a value from a table, but cannot work with a file.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
res2001, 2016-03-16
@biovr

Write a script (bat, ps) that will count hashes and write them to the database.

O
Olgeir, 2016-03-16
@Olgeir

https://msdn.microsoft.com/en-us/library/ms174415.aspx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question