Connect to SQL 2000 and 2012

We have two interfaces. Once connects to 2000 and the other to 2012. Which JDBC drivers do I need to deploy. is it both sqljdbc.jar and sqljdbc4.jar?
Pls advice.
Thanks

Resolved.
Used sqljdbc4.jar for SQL servers 2005 onwards.
Though microsoft says JDBC driver 3.0 supports connection with 2000, we were getting errors.
As an alternative we used mssqlserver.jar, msbase.jar and msutils.jar to connect to SQL server 2000 and it works fine.
So we have more than one driver installed on pur PI system.
Thanks.

Similar Messages

  • SQL 2012 Linked Server connection from SQL 2000

    Hi,
    Does anyone know if it's possible to create a linked server connection in SQL 2000 to a SQL 2012 instance?
    If so, which provider should I use?
    Many Thanks,
    Phil

    Hi Shanky,
    I'm afraid you misunderstood my Q. The above posts show how to create a linked server connection FROM SQL2012 --> SQL 2000.
    I'm trying to create a linked server connection FROM SQL 2000 --> SQL 2012.
    Does anyone know if it's possible?
    Many Thanks,
    Phil
    I guess you dont read posts patiently below link ,which i also posted in my first reply, has details about the same
    http://social.msdn.microsoft.com/Forums/en-US/2e02c603-e28d-49eb-b073-548c59732b5d/linked-server-from-sql2012-to-sql2000?forum=sqlsetupandupgrade
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Can SQL 2000 and SQL 2005 drivers co-exist in PI?

    Hi,
    Currently in our PI environment, we have JDBC Adapter connections to SQL 2000 database servers for which the Driver has already been installed.
    For connecting to new SQL 2005 database servers, I understand that we have to install the SQL 2005 drivers. I also came to know that SQL 2005 Driver is backward compatible and supports JDBC connection to SQL 2000 server.
    But the question I have is whether both the SQL 2000 and SQL 2005 drivers can be installed together in a way that connection to SQL 2000 use the 2000 driver and the connection to 2005 uses 2005 Driver.
    (They have different connection strings)
    Many thanks in advance,
    Regards,
    Rosie Sasidharan

    The SQL Server 2005 JDBC driver is far better than the SQL Server 2000 JDBC driver.  The 2005 JDBC driver primarily consists for one file, sqljdbc.jar.  ( if you want to use windows authentication there is another file you would need based on your platform x64 vs x86 called sqljdbc_auth.dll. If in the connect string you list ;integratedSecurity=true which means integrated security would be used and this second file would be required.  The 2000 driver did not support integrated security.
    The SQL 2000 JDBC driver was made up of the 3 jar files:
    msbase.jar,mssqlserver.jar and msutil.jar.
    If you want to use a Microsoft JDBC driver to connect to SQL Server 2005, than you should use the 2005 driver, sqljdbc.jar.
    Follow the instructions in point 1 of the note #831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter questions 1 and 13.
    Since the jar are different I assume you can use the both drivers, but it doesnt make sense.

  • SQL 2000 AND SQL 2005 ON THE SAME SERVER

    Hi all ,
    I have an installation of    SAP4.7SR1 /MSSQL2000 on a windows 2003 server.
    I want to install SAP SOLUTION MANAGER 4.0 /MSSQL2005 on the same server ... it is possible that two version of SQL ( 2000 and 2005 ) coexists on the same server ? It's sufficent to install SQL into two different directory ?
    Thank's a lot.
    Antonio Voce.

    Hi,
    yes it is possible to install SQL2000 and SQL2005 on same server but there are certain special considerations that you should be aware of
    look at following blog
    http://blogs.msdn.com/sqlblog/archive/2006/09/27/co-existence-of-sql-2005-with-sql-2000.aspx
    also look http://msdn2.microsoft.com/en-us/library/ms143694.aspx
    but in case of SAP Installation i prefered that to upgarde SQL2000 to SQL2005  then install solman 4.0
    regards,
    kaushal

  • How to Connect Microsoft SQL 2000 database using JDBC

    Hi all..
    I want to connect Microsoft SQL 2000 database using JDBC. I want from initial steps also. (about JDBC driver & its installation)
    Thankz

    Just checkout the SQL Server JDBC Driver Documentation at the manfacturer's site: http://msdn2.microsoft.com/en-us/data/aa937724.aspx

  • DSNless connection to SQL Server and Oracle

    hi,
    how can i connect to SQl Server and Oracle without specifying the DSN.
    zulfgi

    My favorite reply again:
    Someone wrote in a newsgroup about configuring some kind of "temporary DSN".
    His example was for Excel, but it will maybe work the same way for other drivers:
    db = DriverManager.getConnection(
    "jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=c:/temp/test2.xls;DriverID=22;READONLY=false","","");
    Also someone else suggested for SQLServer:
    db = DriverManager.getConnection("jdbc:odbc:Driver={SQL Server};Server=MyServerName;Database=MyDataBase","","");
    Find out the right driver clause for Oracle; look at the names the control panel ODBC manager shows.
    Regards,
    Hartmut

  • Unable to Connect to SQL 2000 Instance from Windows Server 2012 environment

    We have a windows server (TEST) 2012 environment , where our test SQL Server 2012 instance is hosted.
    We have a different (DEV) Server (windows 2000)  where a SQL Server 2000 instance is present.
    When I RDP to our Windows Server 2012 box, I cannot connect to the SQL 2000 server instance from SQL Management Studio. (whereas I can connect to
    the same server from my local machine which has windows 7 and SQL 2012 installed). 
    This is the error i see - 
    "A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name
    is no longer available.) (.Net SqlClient Data Provider)"
    When run from SQL Agent Service from TEST (A Job which tries to connect to that SQL 2000 instance to read some data using SSIS) , we get the following
    error - 
    An OLE DB record is available.  Source: "Microsoft OLE DB Provider for SQL Server"  Hresult: 0x80004005  Description: "[DBNETLIB][ConnectionRead
    (recv()).]General network error. Check your network documentation.".
    The same SSIS package runs successfully from my local machine.
    Please, could someone advice how to resolve this situation?

    Thanks Olaf.
    Its just that we have legacy systems here in our company, who, for some reason haven't upgraded their older infrastructure, whereas they have set up new Windows 2012/SQL 2012 environments for the newer sql instances where they want to transition to !
    Not sure what the solution is honestly. It is affecting our timelines now. The infrastructure team needs to take a decision now, as to what to do.
    I do have to add, we were able to connect to these "older" servers from our Windows 7 client machines which have SQL 2012 - both from SQL management studio & SSIS (using OLE-DB Provider for SQL Server).

  • Connection using sql 2000

    i try to connect t o database using sql 2000
    this my code and the execptions
    can anyone help me to tell me what is the right code to connect to database
    package javaapplication37;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.*;
    * @author ed
    public class Main {
    /** Creates a new instance of Main */
    public Main() {
    * @param args the command line arguments
    public static void main(String[] args) throws SQLException {
    // try {
    // TODO code application logic here
    //String url = "jdbc:ODBC:Northwind";
    //try {
    // Connection con=DriverManager.getConnection(url,"sa","remo");
    // } catch (SQLException ex) {
    // ex.printStackTrace();
    // System.out.println("remo hi");
    Connection con;
    try {  
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    // Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    con=DriverManager.getConnection("odbc:microsoft:sqlserver://localhost:1433;databaseName=Northwind;selectMethod=cursor");
    // System.out.println("elk");
    } catch (ClassNotFoundException ex) {
    ex.printStackTrace();
    // } catch (ClassNotFoundException ex) {
    // ex.printStackTrace();
    the exception is
    init:
    deps-jar:
    compile:
    Exception in thread "main" java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(DriverManager.java:545)
    at java.sql.DriverManager.getConnection(DriverManager.java:193)
    at javaapplication37.Main.main(Main.java:47)
    Java Result: 1
    debug:
    BUILD SUCCESSFUL (total time: 1 second)
    Message was edited by:
    romee

    W3hy did you give up with the type 4 driver? Why did you not use Google? Your basic question has been asked and answered repeatedly.
    I will say this a JDBC-ODBC URL begins with jdbc:odbc and not just odbc though I have some doubts about the rest of the stuff you'e crammed in there.

  • Cannot Connect to SQL 2000

    I recently reinstalled SQL Server and now I am unable to
    create the DSN through CF Admin. The name of the SQL instance was
    changed during the reinstall. I have attempted to use the new name
    in CFAdmin but get the following error:
    "java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver][Macromedia][SQLServer JDBC Driver]The requested instance is
    either invalid or not running.
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver][Macromedia][SQLServer JDBC
    Driver]The requested instance is either invalid or not running."
    The instance is running and I can create a connection through
    the Data Source (ODBC) tool in Admin Tools but I can set it up in
    CFAdmin.
    Thanks in advance for your advise!

    > In any case applying the SP probably wouldn't hurt.
    Yep. Patch it up, and try again.
    I realise Lynda said that the computer in question is a local
    PC, so
    probably is not outwardly facing (ie: onto the 'net). But
    this warning
    could still be relevant:
    A couple of years ago - long after SQL Slammer had done the
    rounds, so one
    might think it was no longer a problem - one of our jr
    developers was
    tasked with setting up a new SQL Server instance which ended
    up being
    outwardly facing. She didn't remember to patch it (and I -
    the box was my
    responsibility - forgot to check).
    It took about half an hour of uptime for it to get infected,
    and about
    15min after that before our LAN was flattened by
    virus-enabled traffic
    trying to find other machines to infect. Suddenly 20-odd
    people could not
    work whilst we cleaned out their machines, and checked for
    any number of
    other infections. I was not popular that day (not least of
    all with
    myself!).
    Always... ALWAYS... make sure your SQL Servers are fully
    patched.
    I would *never* attach a machine with non-patched SQL Server
    even to a LAN,
    let alone the outside world.
    I cannot stress that enough.
    Adam

  • How to connect to SQL*Plus and issue a query all in one command?

    Hi everyone,
    Does anyone know of a way to connect to a db with SQL*Plus, and issue a simple query, all with one command?
    I know that I can save a .sql script with a query, then do this:
    sqlplus user/pwd@db @myscript.sql
    But I'm wondering if there's any way to put the actual query right into the connect command, something like:
    sqlplus user/pwd@db "select count(*) from dba_tables;"
    Does anyone know of a way to do this?

    you didn't mention windows or unix. so, here's a link with both
    Re: windows sql script
    it also has a link to another thread on how to deal with the parens when using ehco in dos.

  • How to select from drop-down menu connected to SQL database and then autofill?

    Hello,
    I am in the process of creating a series of forms and I need some help if working out how to do the following.
    I have already set up a data connection to an SQL database, and I have three fields connected: Job Number, Job Name and Customer Name.
    What I want to do is have it so that the Job Number is a dropdown box, so they can select the number, and then the other two fields, Job Name and Customer Name, are autofilled to the information corresponding to the Job Number.
    Is anyone able to help me do this please??
    Thank you!!

    The 101 of database connections from LiveCycle Designer can be found in Stefan Camerons blog.
    This is the right place to start.
    http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/
    http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    http://forms.stefcameron.com/2006/10/12/displaying-all-records-from-an-odbc-data-connectio n/

  • Cannot connect to SQL 2000 Analysis Service cube form 32bit 2010 excel

    Excel 2010 32bit is running on windows 7 64bit PC. User has new PC updated from XP where there was no connection issue.
    Initial Error
    "The following system error occurred: No connection could be made because the target machine actively refused it"
    I installed Office web component 2003 as advised in forums.
    Next Error
    "initialization of the data source failed.  Check the database server or contact your database administrator. Make sure the external database is available, and then try the operation again. If you see this message again, create a new datasource
    to connect tot he database."
    I have trawled the forums for the past 2 days looking for a solution.  Any help would be appreciated.
    Niall

    Hello,
    Please check the below link.May be this can Help You
    https://fawzi.wordpress.com/2013/05/15/sql-2012-analysis-services-error-no-connection-could-be-made-because-the-target-machine-actively-refused-it/

  • Problems with "seeing" VIEWS in one database (SQL 2008 and 2012)

    I have  database where I cannot see any views other than system views in SQL Management Studio.
    I can list them, I can modify them and the application which uses the database can access them.
    SELECT SCHEMA_NAME(schema_id) AS schema_name
    ,name AS view_name
    FROM sys.views;
    GO
    I can create new views, but these are also "invisible" in Management Studio
    Tested as dbo, sa etc.
    I don't know how to list the permissions or to change them.
    Can someone help please?
    CarolChi

    Date,Source,Severity,Message
    01/24/2015 18:51:47,Server,Unknown,A user request from the session with SPID 56 generated a fatal exception. SQL Server is terminating this session. Contact Product Support Services with the dump produced in the log directory.
    01/24/2015 18:51:47,Server,Unknown,Error: 17310<c/> Severity: 20<c/> State: 1.
    01/24/2015 18:51:47,spid56,Unknown,External dump process return code 0x20000001.<nl/>External dump process returned no errors.
    01/24/2015 18:51:47,spid56,Unknown,Stack Signature for the dump is 0x00000001015B2AD5
    01/24/2015 18:51:47,spid56,Unknown,00007FFA9AFA03C4 Module(ntdll+00000000000703C4)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA9A5413D2 Module(KERNEL32+00000000000013D2)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8D64C8D1 Module(sqldk+000000000003C8D1)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8D64C502 Module(sqldk+000000000003C502)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8D64CBA0 Module(sqldk+000000000003CBA0)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8D64CA9F Module(sqldk+000000000003CA9F)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8D61F997 Module(sqldk+000000000000F997)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8D61FCB4 Module(sqldk+000000000000FCB4)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8D61FED0 Module(sqldk+000000000000FED0)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8E378B97 Module(sqllang+0000000000048B97)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8E381A4C Module(sqllang+0000000000051A4C)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8F1C0911 Module(sqllang+0000000000E90911)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8F1C0542 Module(sqllang+0000000000E90542)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8F1B8343 Module(sqllang+0000000000E88343)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8E357EB4 Module(sqllang+0000000000027EB4)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8E35877B Module(sqllang+000000000002877B)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8E358CD1 Module(sqllang+0000000000028CD1)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8E35F68A Module(sqllang+000000000002F68A)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8E35EC84 Module(sqllang+000000000002EC84)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8E35E244 Module(sqllang+000000000002E244)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8E391E4A Module(sqllang+0000000000061E4A)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA90473C23 Module(sqlmin+00000000000A3C23)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA904205F4 Module(sqlmin+00000000000505F4)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA904205F4 Module(sqlmin+00000000000505F4)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA904205F4 Module(sqlmin+00000000000505F4)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA904205F4 Module(sqlmin+00000000000505F4)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA9043291C Module(sqlmin+000000000006291C)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA9043285F Module(sqlmin+000000000006285F)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA9042BC74 Module(sqlmin+000000000005BC74)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA8DAA8987 Module(sqlTsEs+0000000000008987)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA90B15561 Module(sqlmin+0000000000745561)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA90B8F131 Module(sqlmin+00000000007BF131)
    01/24/2015 18:51:47,spid56,Unknown,00007FFA91AEB954 Module(sqlmin+000000000171B954)
    There is a crash dump file but I guess its not appropriate to post it here.
    CarolChi

  • Disaster Recovery in Windows 2003/Cluster, SQL 2000 and R3

    Hi,
    Can someone share experience/knowledge of disaster recovery scenarios in MSCS/SQL Server/SAP. One of our customer has R3/SQL Server2000/Win 2003 (Cluster).
    We would like to evaluate best possible options for the Disaster Recovery which are supported by SAP.
    We have thought about
    1. Log shipping
    2. Standby Database
    3. Restore backup on new cluster
    4. Homogeneous System copy.
    We do not want to go for first two and would like to explore on 3rd and 4th option.
    Any links to documents/blogs will be helpful.
    Thanks,
    Manoj

    > I am confused. Option 3 will be restoring backup
    Yes - but what will you restore? Everything? If you're running on a cluster it's unlikely that both nodes will fail at the same time so there is still one node that can and will run the software, no?
    > and 4 will be sapinst. Isn't it? Are both options supported by SAP?
    Yes.
    > Is there a SAP standard documentation for building cluster from scratch and build SAP system from backup or sapinst for DR?
    The standard installation documentation cover a cluster installation.
    > I am sure there will be installation document if it is a fresh installation. But not sure if there is one for DR.
    If you have a cluster then you have a high availability already. If a node fails, you will "just" reinstall that node and put it back into the cluster.
    What kind of DR scenario are you thinking about?
    Markus

  • Fax connection between Dialogic 2000 and AudioCodes MP-124

    I know this isn't a direct Lync question but I'm trying to set up faxing with my Lync server by avoiding the Lync server (as I migrate away from our old PBX) and have successfully done it at one of our sites that has all AudioCodes equipment (Mediant 1000
    with FXS ports etc) but have another site that has a Dialogic 2000 that we need to use in conjunction with an AudioCodes MP-124. We route normal analog calls just fine through our Lync Mediation server from the Dialogic to the AudioCodes MP-124 but need to
    avoid that route with our fax machines as we need to use T.38 relay as that is much more reliable than the crazy hairpin turn method with G.711 that is so inconsistent. Anyway, I've got the route set and the two devices are talking just fine but when I try
    to call a fax machine for outside I get the following error on the MP-124 a few times in a row and the call just keeps ringing:
    13:40:10.711 : 192.16.1.4 : WARNING : [Src=192.16.1.2/49575 Dst=6091 PType=6] ErrMgs=7 Invalid RTCP-XR packet:  Unsupported BlockType = 6
     [Code:3700e] [CID:1] [Time: 21:40:08]
    Any thoughts? I'm waiting to get my support contract setup with AudioCodes for the MP-124 but thought I'd ask this knowledgeable crowd while I wait.
    thanks
    in advance
    Steve

    well, there isn't much needed on the Dialogic side but to make sure the fax signalling method is T.38 (I'm assuming that is what you plan to use). Then it is a matter of setting up your routes correctly so any incoming calls for a fax go straight to the
    AudioCodes MP-114 and outbound fax calls from the MP-114 go out the phone lines and not to your Lync server (I'm also assuming you don't need your fax lines to route any calls to Lync. That is how I do things as no Lync end point would need to make or receive
    a fax call). From the Lync side you shouldn't need to do anything as no calls to\from faxes should cross the Lync threshold. So, that leaves the MP-114 part. You'll need to set all the signalling stuff to T.38 (there is a laundry list I'd need to track down
    but if you still can't get it let me know and I can try to give you the main stuff). Then just make sure your end points match what is coming in (if you are given just the 4 digits from your Telco then match on those (or if you want to be E.164 official you'll
    need your Dialogic route to append a +1(areacode)(Prefix) part on to make it standard and then have your end point match that. I know these are generalities but I thought I'd start there. Again, if you need more specifics let me know and I'll try to dislodge
    the info from my brain
    Steve

Maybe you are looking for

  • Error while running Dev60 with jdk 11711o

    Dear OTN Members / Oracle Development Team. Have any one tried it. Help required form Oracle Devlopemnt Team. hi i am using oracle8 OAS 4.0.7, Developer 6.0 production with NT 4.0 and service Pack 3 when i try to run the form through jinitinator or J

  • In memory replication doesn't seem to work

    We have set up a Cluster with 2 servers. Our Proxy server is NES. We can           see the round robin working but each time we are accessing the session,           the same cookie gets overriden (the browser receives the WebLogicSession           co

  • Java 3D not working

    I am using ready to program as my IDE. I have installed java 3D API and when I run example programs it always give me errors that the package is not found. anyone know why this might be?

  • Reversal of excise duty

    Hi, I have taken credit of exicse on raw-material at the time of MIGO (i.e. GRIR). But while issuing that raw material, i have issued it to non-exciseable (excise exempted) project. Now as per excise law, the excise credit taken at the time of MIGO (

  • Question on Intel and power Mac compatibility

    I have a FW 800 running 10.5 and am thinking to buy a new Macbook. I have server Leopard OS, not installed, Could I use the FW800 as a server and the new Macbook as the master. In other words will a power Mac work as a server to an Intel mac? Bob