PL/SQL (MOSC)

MOSC Banner

finding out whether a unique column value exists in a row - SQL beginner

edited May 17, 2011 1:52AM in PL/SQL (MOSC) 12 commentsAnswered
 Excuse my ignorance in SQL. I didn't do much in SQL queries or DB design in general, but I'm eager to learn. Idea behind: I'm traversing a directory tree (Java, jdbc) (depth first) and want to collect all files
in that tree and put them as BLOBS into the database.

To find out whether a file is the same as another file (possibly in a different path) I calculate the md5sum
(not sure whether it is proof against collisions or if I should use SHA-256 or some combination of md5sum + chksum).
(EDIT: files of zero size tend to have the same md5sum

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center