Query ODSEE from windows SQL server

Hello,
I have a windows server running SQL EXPRESS 2012 and I need to retrieve some data from an external server that uses LDAP.
Normally I'm able to query this server using LDP.exe and it shows the version as:
vendorname: Oracle Corporation;
vendorversion: Sun-Directory-Server/11.1.1.5.0;
I have found some examples on how to connect the SQL instance to a Microsoft Active Directory Server and make queries in a SQL-like way, and I was wondering if there is any connector that will allow me to do the same with an ODSEE LDAP server.
Thanks in advance.

Hello,
Yes, as I said, I have no problems in launching queries from ldp.exe, but I want to automatize it using a SQL query from SQL server.
SQL Express 2012 has a built-in controller for Active Directory that can be configured somehow to run queries to a LDAP server. Has anyone configured something like this?
Thanks

Similar Messages

  • Have you moved from Unix/Oracle to Windows/SQL Server

    I am looking for people that have moved from Unix/Oracle to Windows/SQL Server...
    Would you do it again ?
    Did you save money ?
    Were you using Zones to virutalize on Unix ?
    Did you gain or loose overall Performance ?
    Have you had to perform a recovery on SQL Server ? 
    Have you done a recovery in Oracle ?
    Were you using Rman ?
    Which worked better ?
    We are going through an analysis of does it really make sense, save money and effect performance to move from a strong unix/oracle environment to a MS/SQL environment.
    THanks Rob
    [email protected]

    Hi,
    All our R/3 legacy systems are Windows/Oracle.
    All the new systems (BW, SRM, CRM, XI) are Windows/MSSQL.
    It was an order from the management to make the switch because of the high prices of Oracle licences.
    The official motto is now Oracle on Unix only and SQL server on Windows only.
    We get the same level of performance as with Oracle, but we, old SAP Oracle grumpy admins, are much more comfortable with Oracle admin than SQL server admin.
    imho, SQL server may seem simplier but it is much easier to look under the hood whith Oracle.
    We have to reinvent the wheel and it's kind of frustrating but we will cope with it...
    I would say that SQL server is not a good choice for BW usage because there is a lot more litterature on BW database optimisation for Oracle than MSSQL.
    The official SAP class does not speak at all about SQL server but has several chapters on Oracle...
    Regards,
    Olivier

  • How to delete a row from a SQL Server CE Table with multiple JOINs?

    I want to delete a record from a SQL Server CE table.
    There are 3 tables scripts, options and results. I would like to remove a record from the results table. The where clause contains dynamic information which retrieved via other queries to different tables in the same database. These queries work fine and deliver
    the desired data.
    The Compact server is a clone of a remote table created using the sync framework. The same query to the remote table works fine.
    The error I get is:
    There was an error parsing the query. [ Token line number = 1,Token line offset = 10,Token in error = from ]
    The code that throws the exception is as follows:
    Dim connLoc As SqlCeConnection = New SqlCeConnection(My.Settings.ConnectionString)connLoc.Open()     Dim strDel As String = "Delete r from ResultsTable r inner join OptionsTable o ON o.TestName=r.TestName inner join ScriptTable c ON r.TestName=c.TestName WHERE r.TestName = '" & ds1Loc.Tables(0).Rows(0)(1) & "' AND [Index] = '" & lstIndex & "'"Dim cmdDel As SqlCeCommand = New SqlCeCommandcmdDel.CommandText = strDelcmdDel.Connection = connLoccmdDel.ExecuteNonQuery()
    The values held in ds1Loc.Tables(0).Rows(0)(1) and lstIndex are
    correct so should not be the problem.
    I also tried using parameterised queries
    Dim strDel As String = "Delete r from [ResultsTable] r inner join [OptionsTable] o ON o.TestName=r.TestName inner join [ScriptTable] c ON r.TestName=c.TestName WHERE r.TestName = @TestName AND [Index] = @lstIndex"
    Dim cmdDel As SqlCeCommand = New SqlCeCommand        cmdDel.CommandText = strDel       
    With cmdDel.Parameters           
    .Add(New SqlCeParameter("@TestName", ds1Loc.Tables(0).Rows(0)(1)))           
    .Add(New SqlCeParameter("@lstIndex", lstIndex))       
    End With 
    cmdDel.Connection = connLoc        cmdDel.ExecuteNonQuery()
    I have tried replacing the "=" with "IN" in the the WHERE clause but this has not worked.
    Is it the join that is causing the problem? I can do a select with the same search criteria and joins from the same database.
    Also this query works with SQL Server. Is it perhaps that SQL CE does not support the Delete function the same as SQL Server 2008? I have been looking at this for a while now and cannot find the source of the error. Any help would be greatly appreciated.

    Hello,
    In SQL Server Compact, we can use join in FROM clause. The DELETE statement fail may be caused by the FOREIGN KEY constraint.
    Please refer to:
    DELETE (SQL Server Compact)
    FROM Clause (SQL Server Compact)
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • I can't link to an I series (IBM AS400) server from my sql server 2014 server (64 bit) -- but yes can link on sql server 2005 (32 bit)

    I have an I series (IBM AS400) server linked "OK" to a sql 2005 sql server (32 big).  I copied the link script (but changed credentials) from the sql server 2005 link and attempted to run it in the sql server 2014 server (on win 7 64 
    bit).  There are no complaints from SSMS when I run the script, but when I try to query a table I get this error message:
    OLE DB provider "MSDASQL" for linked server "CWMPDTA" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed".
    OLE DB provider "MSDASQL" for linked server "CWMPDTA" returned message "[IBM][System i Access ODBC Driver]Key value in connection string too long.".
    Msg 7303, Level 16, State 1, Line 11
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "CWMPDTA".
    Here is the script (from the sql server 2005 (32 bit)) I ran on the sql server 2014 SSMS -- is there anything I need to change?  How can I get this I series server to link to my sql server 2014 server?
    USE [master]
    GO
    /****** Object: LinkedServer [CWMPDTA] Script Date: 9/25/2014 10:39:12 AM ******/
    EXEC master.dbo.sp_addlinkedserver @server = N'CWMPDTA', @srvproduct=N'cwmpdta', @provider=N'MSDASQL', @datasrc=N'iseries2', @provstr=N'Provider=IBMDA400.DataSource.1;Password=myPwrd;Persist Security Info=True;User ID=myID;Data Source=10.0.0.51;Initial Catalog=T9S', @catalog=N'T9S'
    /* For security reasons the linked server remote logins password is changed with ######## */
    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'CWMPDTA',@useself=N'False',@locallogin=NULL,@rmtuser=N'myID',@rmtpassword='myPwrd'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'collation compatible', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'data access', @optvalue=N'true'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'dist', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'pub', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'rpc', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'rpc out', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'sub', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'connect timeout', @optvalue=N'0'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'collation name', @optvalue=null
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'lazy schema validation', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'query timeout', @optvalue=N'0'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'use remote collation', @optvalue=N'true'
    GO
    Rich P

    Thank you for this reply.  I went to the link and selected the option for DB2s and ran the install.  Then I started up SSMS.  I copied the same script as above, and it executed successfully.  But when I try to run a query against
    a table in a database on this linked sever -- I get this error message:
    OLE DB provider "MSDASQL" for linked server "CWMPDTA" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed".
    OLE DB provider "MSDASQL" for linked server "CWMPDTA" returned message "[IBM][System i Access ODBC Driver]Key value in connection string too long.".
    Msg 7303, Level 16, State 1, Line 8
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "CWMPDTA".
    Do I need to change the line containing -- @provider=N'MSDASQL',  maybe?
    this is the query I'm running:
    select TOP 10 * from CWMPDTA.T9S.CWMPDTA.INSKU
    The same exact query runs fine on the sql server 2005 linked server.  Is there something I need to configure?
    Rich P

  • Data migrated from MS SQL Server 2k to Oracle8i is not the same :(

    I'm trying to help a customer here who is trying to migrate a
    table from MS SQL Server 2000 with column WORD of type varchar
    (100) to Oracle8i (8.1.7.2) using Oracle Migration Workbench
    1.4.0.1 using MS SQL Server 2000 plugin. That column has unique
    values and has a primary key enabled on it. When migrated, the
    table on Oracle will have duplicate and incorrect data as well
    as ORA-2437: cannot validate (JAVAFARM.PK_IDX_WORD) - primary
    key violated.
    The data on both tables look like this :
    ss2k value oracle value
    ========== ============
    € ┐
    … ┐
    ’ ┐
    – ┐
    ƒ ┐
    Y= ┐
    4 ┐
    –0 ┐
    — ┐
    & ┐
    ‘ ┐
    Any idea what could be wrong or how to fix such thing?
    Thanks :)
    Fawaz.

    otn.oracle.com -> technologies -> Migration Workbench ->
    Oracle Migration Workbench Release 1.4.1.0.0 for Windows (yes
    even for 14101 beta) -> Agree to export/license conditions ->
    enter email or ignore -> Scroll down page to beta versions ->
    download omwb14101.exe (or download it piece by piece) and
    sqlserver2000.exe
    Regards,
    Jim.

  • Passing from MS SQL Server to Oracle. Options?

    Hello,
    We are going to be passing from MS SQL Server to Oracle (ver 10.2.0.3 on Windows Server 2003).
    It looks like there is no Oracle tool which will translate TSQL code so that an Oracle database can read it.
    What can be used to pass SQL Server DML statement TO Oracle? What are the options?
    Thanks

    Nell,
    If you want to translate TSQL to Oracle PL/SQL you have a tool to do that.
    This is Oracle SQL*Developer, you can download (version 1.5.1 build 54.40 )from this website:
    http://www.oracle.com/technology/products/database/sql_developer/index.html
    This is a free tool.
    When you use SQL*Developer, you have the menu Migration/Translation Scratch Editor.
    For example, you can create a connection directly to your SQL server db, display your TSQL procedures and then translate automatically to PL/SQL.
    You can migrate automatically SQL SERVER database, or only several tables to Oracle.
    If you have question about this tool, please go in the Database/SQL developer forum
    I hope it helps you.
    Regards
    Mireille

  • Upgrade SQL From the SQL Server 2000 to SQL Server 2008

    hello:
    I am running the following query. This query is based on SQL server 2008. POIShare is a view which is created by the table.
    "select PoiShare.AddressCode,REPLACE(PoiShare.NameSpell,' ','') as NameSpell,PoiShareOffset.Offset from PoiShare, PoiShareOffset where POIShare.AddressCode & 0xFF000000 = %COUNTRY_ADCODE% and PoiShare.POIID = PoiShareOffset.POIID order by PoiShare.AddressCode,PoiShare.NameSpell"
    I'm getting the following result.
    3188785409 "папа,мама,я"
    791241
    3188785409 01кафе
    0
    3188785409 007
    5767272
    3188785409 03
    4790808
    3188785409 02lounge
    19
    3188785409 03аптека
    4791813
    3188785409 03аптека
    4791805
    3188785409 01сервис
    1246782
    "PoiShare.NameSpell" is not sorted. I try to solve this problem.but It doesn't work.
    I tried some ways.
    1.Sort all of the field
    2.Using "COLLATE Cyrillic_General_CI_AI_KS_WS" to "NameSpell"
    3.Create index  for "NameSpell"
    4.Using "cast(replace(PoiShare.NameSpell,',','') as bigint)",But SQL returned an error
    5.Install SQL SP1
    any help is greatly appreciated.

    SELECT * FROM <<VIEW>>
    ORDER BY <<COLUMN>>
    The query above work fine in SQL Server 2008. NameSpell has already been sorted, thank you.

  • Is the query analyzer part of SQL Server?

    Hey all,
    I have installed SQL Server 2005 on windows 2003 server. It did not install the query analyzer.
    Is the query analyzer part of SQL Server or do we need to install it separately?
    Thank you,
    Bye.

    Is there something about this question that is related to Oracle? It would appear that you'd want to ask this over in an appropriate Microsoft SQL Server forum...
    Justin

  • Is the query analyzer part of sql server database?

    Hey all,
    I have installed SQL Server 2005 on windows 2003 server. It did not install the query analyzer.
    Is the query analyzer part of SQL Server or do we need to install it separately?
    Thank you,
    Bye.

    Why not ask it in a Microsoft forum ?
    Nicolas.

  • To Restrict SQL account from accessing Sql server via SSMS

    Hi All,
    We are planning to tighten the security of our SQL Server.
    In the initial phase, we want to restrict all the SQL accounts(except sa) from accessing SQL Server via SSMS
    Since the SQL passwords are used in the connection strings(plain text) of our .NET Applications, developers are able to see it and they are accessing SQL server through SSMS with the credentials in the connection string.
    The requirement is, SQL accounts should only be accessing the databases through .NET applications and not through any other applications like SSMS, SQLCMD...etc
    1) We tried "Logon Trigger", but later we came to know that there is security breach in it.
    2) Application Roles - Password is plain text, again back to square one.
    We are looking for an alternate. Please share some ideas.
    Thanks & Regards,
    K.P.Senthil Kumar

    The basic presumption here is that there is on way you can tie a connection to an application as such. There is app_name(), but since this is passed from the application, the application can call itself whatever you want.
    As long as it is only a matter of keeping business users out, you can solve the issue with some three-tiered solution. Either by having a true middle layer, or just having a web server, or the application running on Terminal Server or Citrix.
    But you want to keep the developers out who work with the code. That makes it difficult to lock them out of the middle layer.
    Then again, you say "our SQL Server" is that singular? Don't you have more than one SQL Server? One for developement, one for test and one for production? If you only want to keep the devs out from development, you have different usernames
    and password for different environments, and they are read from config files. The config files for production should be well-protected.
    By the way, only permitting sa from logging in from SSMS is bad idea. Rather, you should disable sa, and everyone should log in with their individual Windows account. And those who should perform system-administration tasks should be member of sysadmin.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Limitations of SRM-MDM by NOT using Windows + SQL Server

    Hi all,
    our consultants told us, that there are some sort of "limitations" if we install SRM-MDM other platforms than Windows + SQL Server; as example we were told, that e. g. the upload of BMECat files is not possible.
    Is that true? If yes, where can I get a full list of "platform dependent" limitations?
    We don't want to go for Windows nor SQL-Server if possible at all...
    Thanx!
    Regards,
    Markus

    Hi
    <u>Incase you are using SRM 6.0, then -></u>
    SAP SRM 6.0 is a big step forward for SRM: SRM 6.0 is the first SAP software to rely on the new user interface technology WebDynpro and the Web Application Server, rather than the previous ITS. It is also based on the completely new business rule framework (BRF) to define approval workflows. These changes are intended to improve usability and simplify workflow administration / customization, leading to better acceptance and lower TCO for our customers. However, the move to these new technologies is also a complex change and as a result, the product has experienced delays.
    With our most recent development milestone - service pack 2 in mid-July 2007 - we have made lots of progress towards completion; however, we estimated that the product was still not yet ready for Ramp-Up. As a result, we decided to release the product only in beta shipment and to a very limited set of customers (14 in total) who are being closely monitored by our development organization. Seven of these customers are actually planning to go live on the current beta shipment.
    Based on the progress made so far with Service Pack 2, we feel that we should be able to start the official Ramp-Up process on December 10th, 2007 - the target ship date for Service Pack 03. By that time, we should already have 3+ live customers, so new customers starting their projects will benefit from the experiences acquired from previous implementations.
    <u>Time plan and Recommendations</u>
    1. Ideally, we recommend that new and upgrade SRM customers wait for the start of Ramp-Up for SRM 6.0 SP03 (Dec 10th, 2007) rather than starting a project with the previous release SRM 5.0. SRM 6.0 offers many benefits compared to SRM 5.0 and should be easier to use + maintain. An Online scoping questionnaire will be available from mid October in the SAP Service Marketplace as usual.
    2. The number of Beta shipment customers is strictly limited and therefore we do not intend to ship Service Pack 2 to any additional customers besides the 14 customers currently in Beta.
    3. Implementation partners can request a demo license of the current support package 2 in the partner portal. They can set up their sandbox systems and familiarize with the new technology upfront before they enter into customer projects from Dec. 10.
    "Should you have any further questions please contact your local SAP account executive"
    <u><b>Also Please have a look at:</b></u>
    <b>https://websmp102.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000692229&</b>
    <u>Target Release to customer: Q4, 2007
    Target Completion date Ramp-Up: Q1, 2008</u>
    Re: What is MDM?
    https://forums.sdn.sap.com/click.jspa?searchID=4313192&messageID=3226958
    Getting Started with SAP NetWeaver Master Data Management [original link is broken]
    https://forums.sdn.sap.com/click.jspa?searchID=4313192&messageID=1757063
    https://forums.sdn.sap.com/click.jspa?searchID=4313133&messageID=3408029
    https://forums.sdn.sap.com/click.jspa?searchID=4313192&messageID=2857409
    https://forums.sdn.sap.com/click.jspa?searchID=4313133&messageID=3442957
    https://forums.sdn.sap.com/click.jspa?searchID=4313133&messageID=3687977
    Re: Is SRM 6.0 (SRM 2007) released for non-ramp up customers?
    Config UI not change
    Do let me know.
    Regards
    - Atul

  • Steps to move application DB( MSSql) from windows 2003 server to windows 2008 server.

    Hi All,
    I am new to DB. We need to move application's MSSQL DB(Currently used DB version is Microsoft SQL server 2008 R2)from windows server 2003 to windows
    2008. 
    Please advice steps to accomplish this task. How to make sure DB moved without any errors?
    Thanks in Advance.

    Hello,
    As mentioned by Visakh, a side-by-side upgrade can be performed by using backup/restore and detach/attach methods.
    Additionally, you can transfer logins from 
    one SQL Server instance to the other by using the following article:
    http://support.microsoft.com/en-us/kb/918992
    The following article may be useful about transferring not only the databases, but jobs, DTS, alerts, operators.
    Consider scripting any existing linked server.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • What is available on new Windows servers that allow you to write scripts that can work directly with Windows, SQL Server, and Exchange Server?

    What is available on new Windows servers that allow you to write scripts that can work directly with Windows, SQL Server, and Exchange Server?
    a. PowerShell
    b. isql
    c. osql
    d. sqlcmd

    All questions seem to be from the interview or a test. I think I even took this test once, it's KForce test.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Use evdre to query data from a SQL View

    Hi all
    I believe that it is possible to use evdre to query data from a SQL View. If this is possible then how does one go about setting it up in the evdre options (assuming that the view has already been created)?
    Regards,
    Byron

    Byron,  perhaps this is no longer supported, it might be worth opening up a case at service.sap.com on this.  However, I did find the following on Page 11 of the "Usages and Considerations of EVDRE" pdf file.  This doc is imbedded in the helpfile for BPC 7 SP5 (which was released in August of 2009, well after note 1315011 was last updated.
    It looks like you are limited to one custom view per application, since you have to name the view in a parameter at the APPLICATION level.  Go into BPC Administration, login to the application related to the custom view, choose "Set Application Parameters" and enter the name of the view to the Application Parameter called "EVDRE_QUERYVIEWNAME"  If it is not listed, go ahead and create it at the bottom of the Application parameter screen.
    Also:  I interpreted the following info from Page 10 of the same doc:
    In your EVDRE, set the following options:
    QueryEngine: MANUAL
    QueryType:  enter either NEXJ  OR TUPLE  see below:
    NEXJ  - Use two-dimensional queries using the nonemptycrossjoin function
    TUPLE  - Use two-dimensional queries using tuples"
    And I'm assuming you'd enter a Y for the following two parameters:
    QueryViewName
    "..to enforce the query engine to use a used-defined SQL view of the fact tables, when trying to read the values using SQL queries. This option is typically used in conjunction with the SQLOnly option (see below). "
    Option SQLOnly
    "..to enforce the query engine to only execute SQL queries, when reading data. This can be achieved using this option."

  • Query data from MS SQL db through Oracle ? By using JAVA ?

    Hi folks,
    I would like to sync our one table in oracle db with table in different system, stored in MS SQL database.
    What would be the easiest option for connection from Oracle to MS SQL db to be able to query data from MS SQL through some Oracle package?
    If possible, I would like to keep all "tricky steps" within Oracle database. I heard about option with Java, but so far we have no experience with java in Oracle.
    Our database: Oracle 11g Database Standard Edition One
    Many thanks,
    Tomas

    C:\Users\tomeo>dg4pwd HELIOS
    ORACLE Gateway Password Utility
    Constructing password file for Gateway SID HELIOS
    For user account SYSTEM
    OPW-00001: Unable to open password-file (RC=0)
    C:\Users\tomeo>

Maybe you are looking for

  • Pricing procedure  change the condition value

    Hi, My pricing procedure determines the Tax in %basis.Now i have a rewuirement wherein i should be able to enter the amount in AMOUNT COLOUMN in condition tab. This value should be the condition Value for the condition type. Now my pricing procedure

  • What is the least expensive option to export to a pdf form from forms central?

    I have created forms in Forms Central and love the functionality but now I want to save it as a pdf file on my desktop and it says I need to purchase Adobe Pro to do this. Is there a less expensive option like the $1.99 Export to PDF that would work

  • Configuring Encoders Counts per Revolution using a flexmotion function

    Hello, I am having a problem configuring a connected encoder in labview using the flexmotion function. The setting: I am building a labview vi I want to run on a computer with the connected hardware. But I may NOT have access to the machine to config

  • Oracle 10.2.0.3 support for Win 2008

    I'm trying to install oralce 10.2.0.1 and patch it to 10.2.0.3 on windows 2008 server. But when I try to launch the installer I get this error: Abnormal program termination. An internal error has occured. Please provide the following files to Oralce

  • Current Security Vulnerabilities In AnyConnect 3.0?

    http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20120620-ac We have 3.05080 and it is included in the unsafe versions according to that link, but people in control do not want to upgrade again because the upgrade process