Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

Run .exe

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paulo - 11 Mar 2008 21:57 GMT
Hi, how are you doing?

Can I run a .exe inside a SP? Because before sending emails it needs to
authenticate, so I did a Delphi .exe !

MS SQL 2000

Thanks!
Tibor Karaszi - 12 Mar 2008 08:46 GMT
Yes, by using xp_cmdshell. However this is a really ugly thing, and whatever is performed will
probably be lost after the scope of xp_cmdshell.

Signature

Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi

> Hi, how are you doing?
>
[quoted text clipped - 4 lines]
>
> Thanks!
Greg D. Moore (Strider) - 13 Mar 2008 05:01 GMT
> Hi, how are you doing?
>
> Can I run a .exe inside a SP? Because before sending emails it needs to
> authenticate, so I did a Delphi .exe !

Yes you can do this, but don't.

There's a lot of things that can go wrong here, including xp_cmdshell
hanging and tying up resources.

And then of course there's just the time involved.

> MS SQL 2000
>
> Thanks!

Signature

Greg Moore
SQL Server DBA Consulting           Remote and Onsite available!
Email: sql  (at)  greenms.com          http://www.greenms.com/sqlserver.html

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.