Solved

Crazy Question

Posted on 2014-02-27
5
194 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

773 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