Showing posts with label unix. Show all posts
Showing posts with label unix. Show all posts

Monday, March 26, 2012

How to connect to MSSQL server from HP-UX environment

Hi,

Please confirm.. is it possible to connect to MSSQL server by executing
a shell script on HP-UX (UNIX) platform.

Regards,
Uncle Sam
On Oct 9, 7:30 am, "Uncle Sam" <mainisund...@.hotmail.comwrote:

Quote:

Originally Posted by

Hi,
>
Please confirm.. is it possible to connect to MSSQL server by executing
a shell script on HP-UX (UNIX) platform.
>
Regards,
Uncle Sam


Well, certainly, but the shell script is irrelevant. A shell on
HP won't have any native capability to connect to MS SQL.
It will simply be able to run anything on your box that has
a commandline interface. So your question is whether there
is anything existing or creatable that will have a commandline
interface and can connect to MS SQL.
Yes. What do you want this connection to do? For instance,
you can write something (or find something) in Java that uses
MS's all-java JDBC driver for MS SQL. Such a Java program
could connect to MS SQL from anywhere on the net that can
see your DBMS machine. All you would need is Java. That
could be on HP or Sun, or a PDA.
Joe Weinstein at BEA Systems.|||Thanks Joe,

for your response... also.. could you please provide in the JDBC
connection string in UNIX environment....... for establishing
connection to MSSQL on WINDOWS platform

Rgds,
Uncle Sam
joeNOSPAM@.BEA.com wrote:

Quote:

Originally Posted by

On Oct 9, 7:30 am, "Uncle Sam" <mainisund...@.hotmail.comwrote:

Quote:

Originally Posted by

Hi,

Please confirm.. is it possible to connect to MSSQL server by executing
a shell script on HP-UX (UNIX) platform.

Regards,
Uncle Sam


>
Well, certainly, but the shell script is irrelevant. A shell on
HP won't have any native capability to connect to MS SQL.
It will simply be able to run anything on your box that has
a commandline interface. So your question is whether there
is anything existing or creatable that will have a commandline
interface and can connect to MS SQL.
Yes. What do you want this connection to do? For instance,
you can write something (or find something) in Java that uses
MS's all-java JDBC driver for MS SQL. Such a Java program
could connect to MS SQL from anywhere on the net that can
see your DBMS machine. All you would need is Java. That
could be on HP or Sun, or a PDA.
Joe Weinstein at BEA Systems.

|||
On Oct 10, 12:27 am, "Uncle Sam" <mainisund...@.hotmail.comwrote:

Quote:

Originally Posted by

Thanks Joe,
>
for your response... also.. could you please provide in the JDBC
connection string in UNIX environment....... for establishing
connection to MSSQL on WINDOWS platform
>
Rgds,
Uncle Sam


Just read the documentation for the driver. All you need
is the name of the machine running SQLServer, and to
make the setup of the DBMS allow mixed-mode (TCP)
connection requests.

Friday, March 23, 2012

How to connect SQL Server to an Oracle database

I need to connect to an Oracle database (8i) running in a UNIX box, with SQL
Server running in AD.
If anyone has done it, kindly let me know since this is new territory for me.
Thanks,
Neil
Install the Oracle client on the SQL Server box.
Configure the client side (SQL Server box) tnsnames, Oracle
alias as needed for your Oracle environment.
Configure a linked server, following the books online topic:
OLE DB Provider for Oracle
as well as the following article:
HOW TO: Set Up and Troubleshoot a Linked Server to Oracle in
SQL Server
http://support.microsoft.com/?id=280106
-Sue
On Fri, 13 Jan 2006 09:31:39 -0800, N.Ordiers
<NOrdiers@.discussions.microsoft.com> wrote:

>I need to connect to an Oracle database (8i) running in a UNIX box, with SQL
>Server running in AD.
>If anyone has done it, kindly let me know since this is new territory for me.
>Thanks,
>Neil

How to connect SQL Server to an Oracle database

I need to connect to an Oracle database (8i) running in a UNIX box, with SQL
Server running in AD.
If anyone has done it, kindly let me know since this is new territory for me
.
Thanks,
NeilInstall the Oracle client on the SQL Server box.
Configure the client side (SQL Server box) tnsnames, Oracle
alias as needed for your Oracle environment.
Configure a linked server, following the books online topic:
OLE DB Provider for Oracle
as well as the following article:
HOW TO: Set Up and Troubleshoot a Linked Server to Oracle in
SQL Server
http://support.microsoft.com/?id=280106
-Sue
On Fri, 13 Jan 2006 09:31:39 -0800, N.Ordiers
<NOrdiers@.discussions.microsoft.com> wrote:

>I need to connect to an Oracle database (8i) running in a UNIX box, with SQ
L
>Server running in AD.
>If anyone has done it, kindly let me know since this is new territory for m
e.
>Thanks,
>Neil

Monday, March 12, 2012

How to conenct Ms-Sql server from Unix box.

Hi,
How do conenct Ms-Sql server from Unix/Sun box. currently I am running Ms-Sql 2000 on Nt server witn win2003 . Previously I use to connect Ms-sql server from Unix by using Sybase isql utility but it seems with new version of Sql-Server, it's not working.
Is there any open client /utility provided by Microsoft to connect server from unix machine.
Thanks,
-Uttam
Are you writing a program?
Do you have an ODBC driver installed? You should be able to connect over
that driver through TCP/IP.. Port 1433 is SQL Server's default port to
listen to incoming traffic.
Using the old Sybase method uses the SQL Server/Sybase Tabular Data Stream
format to communicate. (Probably much faster than using standard ODBC, but
ODBC will work). Try looking around for FreeTDS. I think it will support
SQL 2000. I know it supports through SQL Server 7.0.
There may be some security issues as well. You may need to ensure that the
SQL Server is using Mixed Authentication. If it is NT Authentication only,
then you will need a Windows Account mapped in to SQL Server. IIRC
kerberos can be helpful here to validate your UNIX login with an Active
Directory login.
I'm sure someone will correct me if I'm wrong. =)
Rick Sawtell
MCT, MCSD, MCDBA
"Uttam" <Uttam@.discussions.microsoft.com> wrote in message
news:E829C6EF-A04D-41FD-A2A4-ECB935CA9868@.microsoft.com...
> Hi,
> How do conenct Ms-Sql server from Unix/Sun box. currently I am running
Ms-Sql 2000 on Nt server witn win2003 . Previously I use to connect Ms-sql
server from Unix by using Sybase isql utility but it seems with new version
of Sql-Server, it's not working. Is there any open client /utility provided
by Microsoft to connect server from unix machine.
> Thanks,
> -Uttam

How to conenct Ms-Sql server from Unix box.

Hi,
How do conenct Ms-Sql server from Unix/Sun box. currently I am running Ms-Sq
l 2000 on Nt server witn win2003 . Previously I use to connect Ms-sql serve
r from Unix by using Sybase isql utility but it seems with new version of Sq
l-Server, it's not working.
Is there any open client /utility provided by Microsoft to connect server f
rom unix machine.
Thanks,
-UttamAre you writing a program?
Do you have an ODBC driver installed? You should be able to connect over
that driver through TCP/IP.. Port 1433 is SQL Server's default port to
listen to incoming traffic.
Using the old Sybase method uses the SQL Server/Sybase Tabular Data Stream
format to communicate. (Probably much faster than using standard ODBC, but
ODBC will work). Try looking around for FreeTDS. I think it will support
SQL 2000. I know it supports through SQL Server 7.0.
There may be some security issues as well. You may need to ensure that the
SQL Server is using Mixed Authentication. If it is NT Authentication only,
then you will need a Windows Account mapped in to SQL Server. IIRC
kerberos can be helpful here to validate your UNIX login with an Active
Directory login.
I'm sure someone will correct me if I'm wrong. =)
Rick Sawtell
MCT, MCSD, MCDBA
"Uttam" <Uttam@.discussions.microsoft.com> wrote in message
news:E829C6EF-A04D-41FD-A2A4-ECB935CA9868@.microsoft.com...
> Hi,
> How do conenct Ms-Sql server from Unix/Sun box. currently I am running
Ms-Sql 2000 on Nt server witn win2003 . Previously I use to connect Ms-sql
server from Unix by using Sybase isql utility but it seems with new version
of Sql-Server, it's not working. Is there any open client /utility provided
by Microsoft to connect server from unix machine.
> Thanks,
> -Uttam