ODI with Microsoft SQL Server

Hi,
I am trying to create a physical schema to connect to Microsoft SQL Server. When asked user and password for the connection to the server, what rights must the user have in order for this to work?
And when specifying the JDBC URL, what should be the hostname, the same as the server name?
Thank you,
Adina

Hi there,
I use this configuration for connecting SQL Server:
In data server object
* Definition: the must important fields are the username and password
* JDBC:
- JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
- JDBC URL: jdbc:sqlserver:// *<SERVER IP or NAME>* : <*PORT* (optional, if not defined it will take the default)>
Then you need to create a physical schema where you're going to define the SQL Server database name and the owner or user
* Definition:
- Database(catalog): name of the SQL Server database
- Owner (schema): the name of the owner, for example dbo
- Database(work schema): again the name of the SQL Server database; not required
- Owner(work schema): not required
On local object mask I also modify this field to add the SQL Server user, for example *%CATALOG.dbo.%OBJECT*
On remote object mask I leave the same (*%DSERVER.%CATALOG.%SCHEMA.%OBJECT*)
Hope this was useful for you
Cheers,
Edited by: Homerol on Apr 25, 2012 10:36 AM

Similar Messages

  • MCTS 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012

    I am searching for training kit for Exam 70-466 (Implementing Data Models and Reports with Microsoft SQL Server 2012) but I think is not published yet. I was expecting its release in Jan or Feb 2014. Would any one can tell me its release date or any place
    where I can find this book.
    Thanks
     

    Hi Azhar lqbal Gondal,
    According to your description, since the issue regards training and certification,
     I suggest you post the question in the Learning forums at
    http://social.technet.microsoft.com/Forums/en-US/home?category=learning. It is appropriate and more experts will assist you. If you have a specific technical question about Microsoft SQL Server,
     you can visit and post your question on  the SQL Server Forum.
    There is some detail about Exam 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012, you can review the following articles.
    Exam content can be found here:
    http://www.microsoft.com/learning/en-us/exam-70-466.aspx
    http://borntolearn.mslearn.net/certification/database/w/wiki/525.466-implementing-data-models-and-reports-with-microsoft-sql-server-2012.aspx#fbid=Mn-t6aRhs-H
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Binding in Prepared Statement is not working with Microsoft SQL Server JDBC

    I ran the following program with sqljdbc4.jar in the class path. There is data in the EMPLOYEE table for the employee name DEMO but the following program is not retrieving data for DEMO. When the same program was run with Merlia.jar in the class path, it was retrieving data for DEMO.
    Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    Connection con = DriverManager.getConnection("jdbc:sqlserver://SERVER23:5000;databaseName=TESTDB", "SYSADM", "SYSADM");
    String sqlSele = "SELECT * FROM EMPLOYEE WHERE EMPNAME like ?" ;
    PreparedStatement sts = con.prepareStatement(sqlSele);
    sts.setString(1, "DEMO" );
    ResultSet rs = sts.executeQuery();
    while(rs.next())
    System.out.println("driverConn.main()" + rs.toString());
    catch(Exception e)
    System.out.println(e);
    e.printStackTrace();
    Can someone help me out from this issue.

    This is the program that I used for testing the behaviour of prepared statement with sqljdbc4.jar. Also included the code for Merlia.jar.
    import java.sql.*;
    public class driverConn {
         public static void main(String [] a)
              try{
              Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
              //Class.forName("com.inet.tds.TdsDriver");
              Connection con = DriverManager.getConnection("jdbc:sqlserver://SERVER23:5000;databaseName=TESTDB", "SYSADM", "SYSADM");
              //Connection con = DriverManager.getConnection("jdbc:inetdae7a:SERVER23:5000?database=TESTDB", "SYSADM", "SYSADM");
              String sqlSele = "SELECT * FROM EMPLOYEE WHERE EMPNAME like ?" ;
              //String sqlSele = "SELECT * FROM EMPLOYEE WHERE EMPNAME like ‘%DEMO%’”;
              PreparedStatement sts = con.prepareStatement(sqlSele);
              sts.setString(1, "DEMO" );
              //sts.setString(1, "%DEMO%" );          
              java.sql.ResultSet rs = sts.executeQuery();          
              while(rs.next())
                   System.out.println("EMPNAME is " + rs.getString(“EMPNAME”) + “”);                    }
              catch(Exception e)
                   System.out.println(e);
                   e.printStackTrace();
    Following are the specifications:
    Version of the Driver:
    Microsoft JDBC Driver 4.0 for SQL Server CTP3
    Downloaded the driver using the link http://www.microsoft.com/download/en/details.aspx?id=11774
    Java Version:
    Java 1.7.0_02
    Database Version:
    Microsoft SQL Server 2008 (SP2) - 10.0.4000.0 (X64)

  • Issue with Microsoft SQL Server, according to SAP (LMB)

    We are upgrading our SAP Solution Manager and ran into a problem. SAP has passed it on to Microsoft because it appears to be an issue with our MS SQL data base.   So we get a question back from Microsoft that says - - 
    First, you are running SAPJVM1.4 and for a 1.4 environment the 1.2
    version of the Microsoft SQL Server driver must be used.
    So how can I find the version number for our Microsoft SQL Server driver ??   Thanks, Jim Wells  

    That is a difficult topic.  Some articles:
    http://blogs.msdn.com/b/sqlcat/archive/2010/10/26/how-to-tell-which-version-of-sql-server-data-access-driver-is-used-by-an-application-client.aspx
    http://technet.microsoft.com/en-us/library/ms181099.aspx
    http://www.mssqltips.com/sqlservertip/2198/determine-which-version-of-sql-server-data-access-driver-is-used-by-an-application/
    Kalman Toth Database & OLAP Architect
    IPAD SELECT Query Video Tutorial 3.5 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Connecting BI Pub with Microsoft SQL server 2008

    I am trying to connect Microsoft SQL server 2008 as a Data source in BIP .
    Using below info :
    Driver Type : Microsoft sql server 2005
    Database Driver class : com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection String : jdbc:sqlserver://TXHOURDB71D:1443;DatabaseName=StewartAccessIntegration
    I am unable establish the connection and the username and password which I giving is right for the connection.
    Please let me know if I am missing any config steps.
    AJ

    Officially, you got to use Hyperion drivers.
    For BIPublisher 10.1.3.4 and ++ to connect to Ms sql server,
    use the following
    This works well and better.
    Driver class = hyperion.jdbc.sqlserver.SQLServerDriver
    Connection String = jdbc:hyperion:sqlserver://SERVERNAME:PORT;DatabaseName=DBNAME;
    http://winrichman.blogspot.com/2009/04/hyperion-driver-to-connect-to-ms-sql.html
    In older versions.
    you can also copy the drivers to the lib folder or applib folder and try what you were doing.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b32481/toc.htm#T498352

  • SAP NetWeaver BI with Microsoft SQL Server 2012 Reporting Services using XMLA

    I am currently implementing SAP BW and am trying to connect the Microsoft SQL Server 2012 Reporting Services product.  I am able to connect to SAP BW but there is one problem when i click on Query Designer after adding a DataSet the screen just displays the dialog prompt saying '' NO CUBES WERE FOUND. VERIFY THAT YOU HAVE SELECTED A VALID CATALOG''.
    The advanced information depicts the following:

    Hi Raunak T,
    Just a very basic question from my end:
    I believe that "Microsoft SQL server Report Builder" is the 3rd party which uses MDX as interface.
    Have you set the property using OLE DB for OLAP in your queries?
    BR
    Prabhith

  • Connection with Microsoft SQL Server version 7/2000

    Hello,
    I am a VB expert, but new in Oracle forms by starting from 6i.
    I am trying to get connected from oracle forms to Microsoft SQL server to get some data as batch job.
    Is some body can help me connecting to MS SQL Server, please.

    Hi,
    Create the odbc data source of SQL Server database and then while connecting through the Forms in the connection string write UserName/Password and host string as odbc:<odbc_Name>.
    Hope this will work.
    Regards
    gaurav

  • Is ODI compatible with Microsoft SQL Server 2008??

    Hi,
    We are trying to set ODI for SQL Server 2008 but we are getting an error: "connection failed". I do not know if the problem is the driver or the incompatibility between ODI and SQL Server 2008.
    Does someone use them together? Are compatible?
    If the response is yes, where is the problem? We are using the following JDBC driver:
    com.microsoft.jdbc.sqlserver.SQLServerDriver
    jdbc:microsoft:sqlserver://<host>:<port>
    And we have download the sqljdbc_2.0 driver.
    Thank you very much,
    Araitz.-

    Hi Araitz,
    I have ODI Connecting to a Master and Work Repository on SQL Server 2008
    Couple of things:
    - Have you put the JDBC driver in the drivers folder of you ODI installation?
    - In terms of the connection strings, your driver name seems OK; This is the string I have for my URL - jdbc:sqlserver://localhost:1433;databaseName=odimaster; IntegratedSecurity=false
    For the user name and password, put those in the connection area. By using IntegratedSecurity=false, you are forcing the password to be picked up from the connection area and not trying to use your AD credentials
    Note - The connection string contains odimaster (this is for our ODI Designer login)
    Hope this helps.
    Best Regards,
    geeo

  • O2C PIP with Microsoft SQL Server Based Siebel server

    Hi,
    We are trying to install AIA 2.2 with PIP for Order to Cash cycle. This integrates Siebel with Oracle for O2C cycle. We have done installation till AIA foundation pack successfully. Now when I looked at PIP installation guide it asks for Siebel database details. My Siebel database is MS SQL Server 2000. But installation guide only mentions installation through Oracle DB. Generally if there is any MS SQL server 2000 connection happening to Oracle, it would be through ODBC – JDBC Bridge. However I do not see any details of that sort in the installation guide.
    Have you guys tried this kind of installation? If not then, can you please help me by raising this to internal community in Oracle?
    Best Regards,
    Dhaval Khamar

    Hi there,
    I use this configuration for connecting SQL Server:
    In data server object
    * Definition: the must important fields are the username and password
    * JDBC:
    - JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    - JDBC URL: jdbc:sqlserver:// *<SERVER IP or NAME>* : <*PORT* (optional, if not defined it will take the default)>
    Then you need to create a physical schema where you're going to define the SQL Server database name and the owner or user
    * Definition:
    - Database(catalog): name of the SQL Server database
    - Owner (schema): the name of the owner, for example dbo
    - Database(work schema): again the name of the SQL Server database; not required
    - Owner(work schema): not required
    On local object mask I also modify this field to add the SQL Server user, for example *%CATALOG.dbo.%OBJECT*
    On remote object mask I leave the same (*%DSERVER.%CATALOG.%SCHEMA.%OBJECT*)
    Hope this was useful for you
    Cheers,
    Edited by: Homerol on Apr 25, 2012 10:36 AM

  • Course 10778 Implementing Data Models and Reports with Microsoft SQL Server 2012

    Hi,
    I recently imported the virtual machines for the above-mentioned course. I am running Windows Server 2012 Standard edition on my pc. When I tried the first lab exercise, I could
    not open the report in MS Sharepoint Server. The error was to do with the following: "cannot impersonate user for data source 'AdventureWorksDW' ", and also "cannot convert claims identity to windows token sharepoint". I followed all the
    steps in the setup guide.
    Please assist me with this regard,
    Many thanks.

    Hi Zimiso,
    Based on the error message, it seems that the issue is caused by the incorrect configuration of Claims to Windows Token Service (C2WTS) that it was not running under a domain account.
    The domain account used by the Claims to Windows Token Service needs to be granted the following rights through the Local Security Policy:
    Act as part of the operating system
    Impersonate a client after authentication
    Log on as a service
    We can find these settings under Administrative Tools > Local Security Policy > Local Policies > User Rights Assignment. Please note that we should add the service account to the local Administrators Groups ahead.
    Reference:
    http://msdn.microsoft.com/en-us/library/hh231678.aspx
    http://blogs.msdn.com/b/psssql/archive/2012/08/20/sharepoint-adventures-reporting-services-claims-and-one-way-trusts.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • JSP with Microsoft sql Server 2005 Studio Express

    I have a database named CS352 in MSSQL 2005 Express version, I am using Tomcat 5.5, I am trying to connect to this database with jdbc driver jtds-1.2, but I can't connect, here is the code for the connection
    Class.forName("net.sourceforge.jtds.jdbc.Driver");
    java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:jtds:sqlserver://localhost:1433/CS352");
    it gives error for the second part
    java.sql.SQLException: Network error IOException: Connection refused: connect, what should I do to connect to database please help it is very urgent.

    when I say telnet 127.0.0.1 1433 or telnet localhost 1433 it say connection can not established destination computer rejects, what could I do to solve this problem, or how can I connect to mssql with a different approach, maybe using jdbc:odbc what is the diference if someone explain the differences and how can I cnnect with odbc or to solve the problem above (localhost1433 is not reachable), thanks for the help.

  • MicroSoft SQL Server 2005

    Hi Experts,
    Please let me know if we can use ODI with Mircosoft SQL Server 2005.
    The Drive list is showing only MS SQL Sever 2000.
    Thanks and Regards,
    Andy

    Hi,
    Yes you can definitely use sql server 2005, you just need to manually enter the driver name and url.
    e.g.
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:sqlserver://<sqls machine>:1433;databaseName=<db name>;integratedSecurity=false
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem of Teststand3.1 database and microsoft SQL Server 2000 personal edition

    I have a problem when using teststand database function with Microsoft sql server 2000. the error(seen in attached screenshot3.jpg) is:
    "An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
    An error occurred executing a statement.
    Schema: Generic Recordset (NI).
    Statement: UUT_RESULT.
    [Microsoft][ODBC SQL Server Driver][SQL Server]unable to insert NULL value to column "ID", table "test.dbo.UUT_RESULT";This column is not alowed to be blank. INSERT Failed. Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    [Microsoft][ODBC SQL Server Driver][SQL Server]terminated.
    Source: TSDBLog"
     Here I listed my proceess.
    1, Configure in SQL Sever, please see attached screenshot0.jpg
       a, Open SQL
       b, build a new database with the name of test
       c, import the data from "C:\Program Files\National Instruments\TestStand 3.1\Components\NI\Models\TestStandModels\Database\TestStand Results.mdb"
    2, Configure Microsoft SQL sever: please see attached screenshot1.jpg
       a, Open windows Control Panel and select "Data Sources (ODBC). Under system DSN tab, add a SQL server data source
    3, Configure teststand database option, see attached screenshot2.jpg
       a, configure logging option, enable
       b, configure datalink
       c, select schemas of "Generic recordset (NI)
       d, No change on the tabs of "statements" and "Columns/Parameters"
    4, run an seqence file with the proess model of SequentialModel.Seq.
    Attachments:
    Screenshot.zip ‏425 KB

    Thanks Scott,
      The database function is OK now after I changed imported tables in SQL Sever.
      Actually, I once tried anothor method that you refered by using the scripts
    located at: <TestStand>\Components\NI\Models\TestStandModels\Database\SQL Server Create Generic Recordset Result Tables.sql. Attached is the error screenshots, please help me on this.
    Thanks
    Jacky
    Attachments:
    Error.jpg ‏59 KB

  • Microsoft SQL Server JDBC Drivers 4.0.2206 timeout on first connection to SQL Server Express after it sleeps

    Our builds kick off and run integration tests. They are configured to hit a SQL Server Express server.
    If the builds have been quiet for a while, the first test to connect fails after stalling for 20 minutes.
    Subsequent tests are fine.
    Reversing test order does the same thing, with a different test.
    We noticed in the SQL Server express log the server saying it is waking up after being idle.
    Microsoft SQL Server Express with Microsoft SQL Server JDBC Drivers 4.0.2206.
    Connection times out after 20 minutes.Occurs with the first connection made after the SQL Server Express server wakes up from going to sleep.Connections after the first are just fine, until SQL Server Express sleeps.SSL enabled. Timeout duration for the connection failure is unaffected by setting timeout options for the connection.  Work around:
    cron-like job that runs every minute that makes a simple query on the server keeps the server from going to sleep.
    Has anyone else run into this?

    Hello,
    SQL Server Express will go to sleep if idle, this behavior is not configurable.
    When SQL Express transitions from idle to active some of the memory that was released needs to be reclaimed; this results is a slight lag during "startup time" when you're first connecting to SQL Express.
    The other sort of sleep occurs when a database with AUTO_CLOSE unloading itself after a period of inactivity. This can be resolved by setting AUTO_CLOSE to false.
    You can refer to the following blog about more details about this:
    http://blogs.msdn.com/b/sqlexpress/archive/2008/02/22/sql-express-behaviors-idle-time-resources-usage-auto-close-and-user-instances.aspx
    You can try to upgrade the SQL Server Express to a non-free version to get rid of this.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Microsoft SQL Server 2012

    Is there any limitations in regards of CAL with Microsoft SQL Server 2012 developer edition?

    From the SQL Server 2014 Licensing Guide:
    SQL Server 2014 Developer Edition is a full-function version of SQL Server software—including all of the features and capabilities of Enterprise Edition—licensed under the Developer Tools model, which is a “per user” model. One license is required
    for each person that accesses or uses the software.
    You can download it
    here
    So there are no CAL limitations per se. 

Maybe you are looking for

  • Korean Language Fonts?

    I recently composed a notice in Word2007, used Acrobat 9 to convert to PDF and posted the file on my webpage.  This is not the first time I have done this, but this time about 5 of my visitors have emailed me to complain that they get a notification

  • .swf files not functional in Acrobat X pro

    I've started working in flash builder, making some menues and buttons to create enriched pdfs, however when I try to add them to the pdfs I get 1 of 2 outcome, neither is functional.  When working with swf files I have created myself, I get an empty

  • Re: links to the bbc news player don't start video streams

    this old thread has been archived (no replies allowed), but i think i've come up with a workaround to safari's refusal to play the proper bbc video clip on subsequent attempts...autoplay the file externally. if you use pithHelmet, you can get the scr

  • I cant unlock my Iphone 4s

    I cant unlock my phone and it wont let me without a passcode from the iphone and i cant rember it

  • Dealing with IMAQ saving 12 bit images as 16 bit

    I'm trying to get an image of a CCD camera which has a depth of 12 bit. I read on the forums here that it is stored as 16 bit. I am however curious as to what this means: are the values of the image scaled? So is like a value of 4095 scaled to be a v