[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

Crazy Question

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
Rayne
Asked:
Rayne
  • 3
2 Solutions
 
Dave BaldwinFixer of ProblemsCommented:
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
 
Dan CraciunIT ConsultantCommented:
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
 
RayneAuthor Commented:
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
 
RayneAuthor Commented:
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
 
RayneAuthor Commented:
thank you a zillion times  - this idea was a life saver, thank you

Respect
R
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now