The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using .NET Stored Procedures in Oracle iBot Oracle Updates (RSS) 0 04-06-2008 02:10 AM
Executing Stored Proc from unix prompt. arvindcgi UNIX for Advanced & Expert Users 0 01-29-2008 10:46 PM
External Language Stored Procedures for MySQL 1.2761 (Default branch) iBot Software Releases - RSS News 0 01-08-2008 02:20 PM
Stored Procedures thumsup9 UNIX for Dummies Questions & Answers 2 03-04-2005 06:52 AM
Calling Oracle Stored Procedures in UNIx(sun solaris) etravels SUN Solaris 0 03-23-2004 02:21 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-19-2007
Registered User
 

Join Date: Jun 2007
Posts: 2
Executing MS-SQL stored procedures from Unix/C Program?

All,

We are contemplating a port of an existing software product and would like to expend as little effort as possible. Our new database would be MS-SQL, and we would write stored procedures to perform common db operations. We'd like to call these stored procedures from C or C++ code running on a Solaris (2.5.1, 8.x or 10.x) box. We found one product/library that seems to provide the interface we need, called "EnterpriseDB". Are there others? Or is there a different way to accomplish what we want to do?

Thanks!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-19-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Write simple wrapper programs on the windows machine that use ODBC or similar, then use sockets or a higher level protocol to talk from the Solaris box to those wrapper programs.
Reply With Quote
  #3 (permalink)  
Old 06-21-2007
Registered User
 

Join Date: Jun 2007
Posts: 2
Okay, we understand the (web service) code needs to go on the MS-SQL box. But how does a process on the Solaris box talk to that web service on the MS-SQL machine?
Reply With Quote
  #4 (permalink)  
Old 06-22-2007
Registered User
 

Join Date: Jul 2005
Location: Chicago, IL
Posts: 86
Quote:
Originally Posted by mparks View Post
Okay, we understand the (web service) code needs to go on the MS-SQL box. But how does a process on the Solaris box talk to that web service on the MS-SQL machine?
You need to use odbc as stated in the previous post by porter. This is not dependent on any web services you may have. The easiest way I would solve this is by writing a java app to use a jdbc-odbc connection to send sql statements to the MS-SQL server.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0