Problem to connect SQL Server using dg4msql  form Linux machine

Hi All,
I have oracle 11g 11.2.0.1.0 on RHEL 4 on one machine and MS SQL Server 2000 on another Windows XP machine. I have to link the oracle database with SQL Server Database. So that we can run queries on SQL Server from Oracle 11 Database.
For this purpose I have installed Oracle Database 11g Release 2 (11.2) Gateway for SQL Server on oracle machine.
For the purpose of configuration, I have followed the instructions of Doc ID (437374.1) available from oracle metalink.
listener.ora file
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /opt/orabase/orahome11g)
(SID_NAME = orcl)
(SID_DESC=
(SID_NAME=dg4msql)
(ORACLE_HOME=/opt/orabase/orahome11g)
(ENVS="LD_LIBRARY_PATH=/opt/orabase/orahome11g/dg4msql/driver/lib:/opt/orabase/orahome11g/lib")
(PROGRAM=dg4msql)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.15)(PORT = 1522))
ADR_BASE_LISTENER = /opt/orabase
tnsnames.ora file
DG4MSQL =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.10.15)(PORT=1522))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
initdg4msql.ora file
# HS init parameters
HS_FDS_CONNECT_INFO=172.16.30.51:1433//Northwind
I have created DB link using following statement:
CREATE public DATABASE LINK dg4 CONNECT TO "sa" IDENTIFIED BY "sa" USING 'dg4msql';
when I give select statement, It gives following error:
select * from "Employees"@dg4
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver][libssclient24]General network error. Check
your network documentation. {08001,NativeErr = 11}[Oracle][ODBC SQL Server
Driver][libssclient24]ConnectionOpen (()). {01000,NativeErr = 11}[Oracle][ODBC
SQL Server Driver]Invalid connection string attribute {01S00}
ORA-02063: preceding 2 lines from DG4
I will appreciate if anyone can help me

The general DG4MSQL configuration is correct as DG4MSQL is loaded and tries to connect to the SQL Server.
Is the IP Address and the SQl Server port (HS_FDS_CONNECT_INFO=172.16.30.51:1433//Northwind) correct?
Can you ping it from the Oracle gateway machine?
Can you telnet to it from the gateway machine to the SQl Server: "telnet 172.16.30.51 1433"

Similar Messages

  • Problem to connect SQL Server using dg4msql

    Hi All,
    Configured Oracle Database Gateway for MS SQL Server in windows 2003 server 64 bit machine.
    Oracle DB Server: 10.2.0.4.0
    Oracle DB Gateway: 11.2.0.1.0
    I am able to get table row count but if i try to get table column values then getting errors like below
    ========================
    SQL> select count(*) from address@dbsql;
    COUNT(*)
    183
    SQL> select * from address@dbsql;
    ERROR:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from DBSQL
    no rows selected
    SQL>
    =======================
    Any body encountered same issue, or any thoughts .
    Thanks,
    -Mani

    Thanks for the clarification with respect to license.
    Below sql is returning results from MS SQL perfectly
    select count(*) from address@dbsql
    describe address@dbsql
    but below sql is returning error.
    SQL> select "pkid" from address@dbsql
    2 /
    ERROR:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from DBSQL
    -- CHARACTERSET
    Oracle DB:     UTF8
    MSSQL DB: i don't know how to check!
    -- initMSSQL.ora
    HS_FDS_CONNECT_INFO=BLR2230041,1433//ADS_BI_6003
    HS_FDS_TRACE_LEVEL=DEBUG
    Thanks
    -Mani
    Edited by: Mani.. on Oct 28, 2010 3:27 PM

  • Connecting SQL server using JavaScript

    I found an article on connecting SQL server using JavaScript. http://www.devarticles.com/c/a/JavaScript/Combining-North-Pole-with-South-Pole-JavaScript-with-SQL-Server-2000/
    Do you people think it's possible? i try out the code already but something wrong with it. I just copy and paste it to a html file but it comes out with error. Do I miss out something? Thanks.
    SY Tee

    Check the permissions and server authentication from the below link,
    http://technet.microsoft.com/en-us/library/ms179354(v=sql.90).aspx
    Regards, RSingh

  • Having trouble connecting SQL Developer to database on LINUX machine

    Having trouble connecting SQL Developer to database on LINUX machine
    Hello,
    I am trying to connect my windows 7 home premium machine to an oracle database 11g on a RedHat 5 machine using SQL Developer. i got this error message on SQL Developer
    Status : Failure - Test failed :The Network Adapter could not establish the connection
    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> and TNSPING
    tnsping 172.x.x.x
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$Tnsnames.ora On Linux ,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )Listner on Linux ,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )/ect/hosts Linux ,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBillingand there is no problem of ping linux from windows
    Edited by: user11309581 on Apr 11, 2013 3:16 PM

    yes really i'm already enaple the port 1521 and SELINUX=disabled
    [root@ltebilling ~]# /etc/init.d/iptables status
    Table: filter
    Chain INPUT (policy ACCEPT)
    num  target     prot opt source               destination
    1    RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0
    Chain FORWARD (policy ACCEPT)
    num  target     prot opt source               destination
    1    RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0
    Chain OUTPUT (policy ACCEPT)
    num  target     prot opt source               destination
    Chain RH-Firewall-1-INPUT (2 references)
    num  target     prot opt source               destination
    1    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
    2    ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 255
    3    ACCEPT     esp  --  0.0.0.0/0            0.0.0.0/0
    4    ACCEPT     ah   --  0.0.0.0/0            0.0.0.0/0
    5    ACCEPT     udp  --  0.0.0.0/0            224.0.0.251         udp dpt:5353
    6    ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:631
    7    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:631
    8    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    9    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:1521
    10   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22
    11   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibitedbut from windows system when i'm try tnsping i got this error
    C:\Windows\system32>tnsping orc11g
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 11-APR-2
    013 14:44:09
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    D:\app\ubai\product\11.2.0\dbhome_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x
    .x)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orc11g))
    TNS-12535: TNS:operation timed out
    C:\Windows\system32>

  • Problem when connecting sql server 2005 using SQL developer

    Hi,
    I installed Sql developer and I am trying to connect sql server 2005 using windows authentication. I had previously the SSO folder problem saying the path is missing in java.library.path. I copied the SSO folder into Sqldeveloper directory. I changed the settings under computer management->services and applications->sql server configuration manager->sql server 2005 network configuration ->protocols for sqlexpress->I enabled TCP/IP.
    Now I am getting an error saying "Failure-can not open user default database.Login Failed. Login failed for user ...".
    I am able to connect thru ODBC driver using windows authentication.
    Any help on this is highly appreciated.
    Thanks in advance,
    Lakshmi

    Hi Martin,
    Your solution has solved my problem too. Thanks for posting these workaround fixes :-)
    However, there seem to be a problem with datetime fields. The query:
    select getdate()
    returns something like: oracle.datetimestamp.@1aed4
    Is there a way to get around with this? Otherwise, using SQL Developer as a client for SQL Server doesn't serve the right purpose when we cannot access simple date fields :-)

  • How to connect sql server using oracle Client

    Hi,
    I am working in oracle9i and windows os 32 bit.
    I need to connect SQL server 2000 from my oracle client..
    I heard about heterogeneous connectivity ...
    Please expalin me the steps what to add and how to connect the sql server...
    Regs....

    Are you trying to connect to SQL Server from your Oracle database (i.e. create a database link in Oracle to SQL Server)? Or are you trying to connect to SQL Server using your Oracle client software (i.e. SQL*Plus)?
    The former just requires Heterogeneous Services with Generic Connectivity. The latter is functionality that has been depricated and probably no longer works in your environment.
    Justin

  • Connecting SQL server from Adobe forms

    Hi Experts,
    I want to know, whether it is possible to connect SQL Server database from Adobe Form directly at runtime without WAS/ADS. If it is possible, please provide any material to proceed further.
    Please help.
    Thanks,
    Rajee

    Have a look at the following document, it explains how to use a MS Access database but it should also work when using a ODBC Data source configured for a MS SQL database.
    [Providing interactive database lookup from forms|http://www.adobe.com/devnet/livecycle/articles/lc_designer_db_lookup_tip.pdf]
    I hope I could help you.

  • Problem connection to SQL Server using DG4MSQL gateway.

    I am getting the following error trying to use a SQL gateway on Windows platforms:
    TNSPing seems fine (which seems like listener is fine).
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from DG4MSQL
    The dg4msql gateway (32 bit box, 11.2.0) exists on a separate machine from the 64 bit Oracle database (10.2.0.4)
    and is trying to call a MS SQL 2005 database. The listener starts and stops fine and TNSPing from the database box returns OK.
    Thanks for any advice in advance and sorry for the length of the post but I tried to show all the relevant parts. I am a newbie for sure.
    The Oracle_Home is on: C:\product\11.2.0\tg_1 and that is included as the first part of the path statement (C:\product\11.2.0\tg_1\bin).
    LISTENER.ORA File (running on the gateway server box)
    =============================
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = clickimrs.blackfoot.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = C:\product\11.2.0\tg_1
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=dg4msql)
    (ORACLE_HOME=C:\product\11.2.0\tg_1)
    (PROGRAM=dg4msql)
    initdg4msql.ORA file (exists in C:\product\11.2.0\tg_1\dg4msql\admin on gateway box)
    ====================================
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[MG-FM]/MG-FM/Blackfoot_OasisFM
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    TNSMAMES.ORA (running on the database server box)
    =======================================
    dg4msql =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=CLICKIMRS.blackfoot.com)(PORT=1521))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    SQLNET.ORA (running on the database server box)
    =====================================
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    My create dblink statement:
    ====================================
    create public database link dg4msql connect to "Axiom" identified by "ax" using 'dg4msql';

    listener status from listener on Gateway machine:
    ==============================================================
    C:\Documents and Settings\tiefentr>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 20-OCT-2010 13:24
    :06
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=clickimrs.blackfoot.com)
    (PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 20-OCT-2010 11:47:47
    Uptime 0 days 1 hr. 36 min. 19 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\product\11.2.0\tg_1\network\admin\listener.ora
    Listener Log File c:\product\11.2.0\tg_1\diag\tnslsnr\clickimrs\listener
    \alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=clickimrs.blackfoot.com)(PORT=1521))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "dg4msql" has 1 instance(s).
    Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    ===================================================================
    TNSPING from HOST machine housing Oracle DB:
    C:\Documents and Settings\tiefentr>tnsping dg4msql
    TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-OCT-2
    010 13:20:21
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=CLICKIMRS.black
    foot.com)(PORT=1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
    OK (60 msec)

  • How to connect SQL server using JRun

    I am relatively dumb into Java. I am running JRun server in Unix box, and I need to connect to the SQL server (full marks for guesssing that SQL server is on the Win2K box).
    Now I want to connect to the SQL server from Jrun using JSPs.
    Question:
    1. Is JDBC:ODBC only way to connect to the SQL server, if yes -
    2. Do I have to create a DSN on the server for the JDBC:ODBC bridge to work
    3. Can I write my own database connection package,
    Appreciate if any body can help me with this problem, and if you have written a package to connect to the database, then would be nice if you would let me try the same.
    If you have any responses, please email me at [email protected]
    Thanks in Advance for the anticipated help.
    Viviar Prasad

    Hi Prasad,
    There is two ways(what I have done) to connect to sql server in jRun..
    1) using your jdbc - odbc connectivity using your type one jdbc driver..
    2) using type 4 driver.. (type 2 and 3 are not available right now for sql server)
    in 1 you have to create an dsn and use it directly in program bypassing jrun management console(I mean u don't have to configure for that)
    in 2 case you need to use jrun proprietery driver for the jdbc... there is a problem here..
    this driver is available in Jrun 3.0 enterprise edition only and still has got some problem so you need to apply service pack-2 to your Jrun installation and need to download the driver.. jdbc driver from following link
    ftp://ftp.allaire.com/kbftp/jrun/all/jrun_drivers.jar.zip
    this will suply a html doc along with the driver . which will explain you how to apply..
    you can download jdbc driver specilly for sql server from this link http://www.j-netdirect.com/jsqlconnect2_26.zip
    but it will expire in a month..
    any way once you have obtain any of the above driver, follow these step to configure jdbc in jrun.. you need to put the driver in the classpath..
    1 - open your management console
    2- select the webapplication for which you want to configure from left frame of mc(management console)
    3- select jdbc data source click the add button and follow the wizard..
    for more info ref to jrun quick start configuring jdbc settings that came with your JRun..
    or you can directly click the link there and type
    the name of the
    first
    datasource(you have supply any name you will be using that to access db in your java prog)
    second name of the the jdbc driver
    for Jrun it's
    allire.jrun.jdbc.JRunDriver
    for net direct
    com.jnetdirect.jsql.JSQLDriver
    third
    url for jrun driver
    jdbc:jrun:sqlserver://hostname:portno/databasename = dbname; USER = uname; Password = password
    where dbname is your database name
    uname is your sql server user name e.g sa
    password is your password for the corresponding user name
    where hostname is the name of the computer where your sqlserver is running it could be an ip e.g 10.0.0.32:1433
    1433 is the default port no for the sqlserver if you are using tcp protocol to connect to the sql server
    url for net direct
    jdbc:JSQLConnect//hostname:port/databasename=dbname; USER =uname; Password = password
    for any more information on this you can mail me in this id
    [email protected]
    All the best..
    regards
    Bishwa

  • Problem in connecting remote server using Applet?

    Hello everybody,
    I am facing problem in connecting to remote server using Applet in browser. I am using JDK 1.5.0_12 and running the application on apache 2.2.
    Firstly I have tried with simple jar file which could not connect to remote server and throws permission denied than now I am trying with signed jar file but also not working. I have changed the java.policy file of JDK in server with grant all Permission but also it throws "java.security.AccessControlException:access denied(java.net.SocketPermission 127.0.0.1:1521 connect, resolve)".
    Can anybody suggest me how to solve this problem?
    Thank You.
    -Ritesh

    >
    I am facing problem in connecting to remote server using Applet in browser.
    Firstly I have tried with simple jar file which could not connect to remote server and throws permission denied than now I am trying with signed jar file but also not working. >Were you prompted to accept the digitally signed code? To see what I mean, check out the [Defensive loading of trusted applets demo|http://pscode.org/test/docload/]. If you are not getting the prompt, or refused it, follow the link to sandbox.html for tips on how to proceed.

  • How to connect SQL server

    Hi
    I want to know how to connect SQL server using DNSless connection ?
    /* 2003/02/06 eric.leung
    * Source : HOME
    import java.sql.*;
    import java.lang.*;
    public class ejdbcsel {
         public static void main(String args[]) {
              // eric_jsp is ODBC User DNS
              // String url = "jdbc:odbc:eric_jsp";     
              // Using DSNless connection
              String url = "";
              url = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)}" +
              ";SERVER=127.0.0.1;DBQ=c:\\example\\ERIC_JSP.mdb";
              Connection con;
              String query;
              query = "select * from pt_mstr";     
              Statement stmt;
         try {     
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         } catch (ClassNotFoundException e) {
              System.err.print("ClassNotFoundException " );
              System.err.println(e.getMessage());
         try {
              con = DriverManager.getConnection (url,"","");
              stmt = con.createStatement();
              ResultSet rec = stmt.executeQuery(query);          
              // Scan the Database
              while(rec.next()) {
                   System.out.println(rec.getString("pt_part") + "\t"
                   + rec.getString("pt_desc"));     
              stmt.close();
              con.close();
         } catch (SQLException ex) {
              System.err.println("SQLException: " + ex.getMessage());
         catch (Exception e) {
              System.err.println("Error: " + e.toString() + " " + e.getMessage());

    Use a driver...
    http://java.sun.com/products/jdbc/driverdesc.html
    http://industry.java.sun.com/products/jdbc/drivers

  • How to Connect SQL Server enterprises Manager Version 8.0 with Form 6i

    Dear experts
    I want to know that How can I connect SQL server Enterprise Manager Version 8.0 with Forms/reprots 6i.
    currently I have oracle 9i database at server windows 2003 and I also connected with client (my PC) I work on server.
    I also have SQL server in that server 2003 machine and this SQL Server also work with other clients that have VB program.
    I want to know that can I connect with this SQL server with Form 6i?

    You can't. The closest thing would be to create links in an oracle database to the SQL Server database using Heteregeneous Services and connect forms to the that.
    This forum is for the SQLDeveloper tool. You will get more complete answers in the "Database General", or "Heterogeneous Services" forums

  • How do i connect to sql server using java?

    hi ever body
    i need to connect to sql server using java
    what is the driver i will use?
    thanks

    Microsoft make a jdbc driver and it is readily available through MSDN. Here is a link http://msdn2.microsoft.com/en-us/data/aa937724.aspx. Whatever jdbc driver you are looking for, Google it, and if it exists you'll find it in 10 seconds.

  • How to store jpeg images in SQL server using NI database Connectivity Toolset. Can anyone please help me in this regard.

    Please tell how to store jpeg images in SQL Server using NI Database Connectivity Toolset.

    http://www.w3schools.com/sql/sql_datatypes.asp
    You setup a field as BLOB and store the binary of the picture there. Depending on the database it can be called differently as you can see in the link, in SQL server there's even a Image datatype.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • How to connect Sql Server 2000 using JDBC ODBC Driver

    How to connect Sql Server 2000 using JDBC ODBC Driver ?
    plz Send Syntax.
    thanks

    In SQL Server 2000 the driver class is com.microsoft.jdbc.sqlserver.SQLServerDriver
    The connection URL for the default SQL Server 2000 database is jdbc:sqlserver://localhost:1433
    Class.forName(
      "com.microsoft.sqlserver.jdbc.
      SQLServerDriver");
    String url =
      "jdbc:sqlserver://localhost:1433";
    Connection conn = DriverManager.
      getConnection(
      url, "sa", "sqlserver");

Maybe you are looking for

  • Acrobat 8 OCR

    Have a multiple page image file and tried to run a OCR character analysis which diid not recognize any text characters. How to remedy

  • Incredible

    This is an example how to comment a method of class com.sapportals.htmlb.FileUpload getFile() "public com.sapportals.htmlb.rendering.IFileParam getFile()" Documentation for interface IFileParam don't exist. How can i use this file in my iviews if i d

  • What is a normal temperature for a PowerBook G4?

    I've just installed the handy temp guage widget and I get readings of 110 degrees F for the disc and 150 degrees on the processor bottom side.... Seems pretty damm hot to me. Powerbook G4   Mac OS X (10.4.6)   1.67

  • INTER COMPNY STO - CUSTOMER ACCOUNT GROUP

    I am trying to create a Inter Compnay Stock Transport Order. Could anyone please suggest what will be the Customer account group while creating the customer via T-code XD01. Thanks in advance Regards, Anupam

  • Play flv after 10 seconds of inactivity

    Hi, hope someone can put in the right direction... I have 3 flv videos that I want to play if the user doesn't move the mouse in 10 seconds.... (I don't want all of them to play, I want to select a random flv video to play each time) at the moment I