Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Help! Newbie in need!

Author  Topic 

mastagino
Starting Member

3 Posts

Posted - 2008-06-03 : 08:33:21
Hi guys,

Ive been learning SQL slowly and I need help for a projet I am doing.

I currently would like to compare identical files in a 2 seperate folder. Not only would I like to compare if the files are the same name, but when they are I would like to compare the file contents.

SO basically this is what I need to do:
-Compare file names in folder A with files in folder B
-If a match is found, compare file contents
-If file contents are same, do nothing. If file contents are different, move file to folder C.

Can anyone help me!! :O

Thanks guys!

Gino

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2008-06-03 : 08:37:27
What is the role of SQL Server here? You need a good file comparison utility.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

mastagino
Starting Member

3 Posts

Posted - 2008-06-03 : 08:44:08
Because we have files which come in daily and need to be checked.
The purpose of SQL would be to list the files dynamically while accessing the database.
I know this can be done in VB but I want to do this in SQL wince this is the project...

Can anyone help me?
Any SQL gurus!

Gino
Go to Top of Page

mastagino
Starting Member

3 Posts

Posted - 2008-06-04 : 05:40:39
Anybody have a clue!? :(
Go to Top of Page
   

- Advertisement -