Solved

Crazy Question

Posted on 2014-02-27
5
193 Views
Last Modified: 2014-02-28
Hello All,

You may think I am day-dreaming or currently on something. But actually I want to know if this is at all possible? please correct me -

Can I set up a sql server DB such that it can read my outlook attachments directly by itself and store it somewhere in network - without me been logged on to my computer? so lets say if I give the SQL server my network ID and other credentials - will it do that then?

Just a crazy question with no heads or tail - I am thinking

Thank you
0
Comment
Question by:Rayne
  • 3
5 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 200 total points
ID: 39891310
No.  SQL Server don't "reach out" for things.  You write programs that do that.  In addition, the program will have to login as you if you aren't logged in.  Logins and user credentials are specifically intended to block things like that.
0
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 300 total points
ID: 39891485
As Dave says, not directly.

You would need to find/write a script/program that:
- connects to Outlook or your email server
- downloads attachments in a local folder
- connects to a SQL DB
- uploads attachments from the local folder to the SQL server

This would need to run on some computer/server, using credentials that allow it to connect to Outlook and SQL.

HTH,
Dan
0
 

Author Comment

by:Rayne
ID: 39891496
Thank you Dan and Dave for your brillaint help and insight :)

For your four steps - I know vbscript will get me there for sure, I have done several of them before. I love vbscript so much.

For this step "using credentials that allow it to connect to Outlook and SQL" - that means lets say if there is a server/pc - all i do is login to it just once with my credentials and keep it ON always - and that does it daily?

Thank  you
0
 

Author Comment

by:Rayne
ID: 39891507
For this step "uploads attachments from the local folder to the SQL server" - which one do you think makes more sense from a robust daily event perspective - doing a SSIS event or shell script or any other script?
0
 

Author Comment

by:Rayne
ID: 39894708
thank you a zillion times  - this idea was a life saver, thank you

Respect
R
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to shrink a transaction log file down to a reasonable size.

911 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

22 Experts available now in Live!

Get 1:1 Help Now