Can ODBC set by Instant Client be used in MS SQL linked Server?

Hi:
I want to know if a ODBC set by Instant Client can be used to set a linked server in MS SQL.
I follow the install instruction about Instant Client.
I create a ODBC setting and the connection tested successful.
I also build it in DTS package in MS SQL and the data transfer process can be run correctly.
But when I tried to build a linked server from MS SQL to oracle, it always returned the error message
System1 Setting:
MS Win 2003 + MS SQL 2000 + Instant Client 10.1.0.4
System2 Setting:
MS Win 2000 + Oracle 9.2
Any opinion or suggestion is appreciated.
Toni Lee

with t_segment
as
     select block_id, blocks, owner, segment_name,segment_type
       from dba_extents
      where tablespace_name = upper('&1')
      union all
     select block_id, blocks, 'sys' owner, 'Free' segment_name, 'FREE'
       from dba_free_space
      where tablespace_name = upper('&1')
      order by 1
t_segment_1
as
      select block_id,
          blocks,
          owner, segment_name, segment_type,
          owner||'-'||segment_name||'-'||segment_type seg
        from t_segment t
       order by 1
select block_id, owner, segment_name, segment_type, sum(blocks) blocks
   from (select val block_id, owner, segment_name, segment_type,  blocks
        from (select block_id,
               blocks,
                        owner, segment_name, segment_type,
               seg,
               row_number() over(order by block_id) rno,
               nvl(lag(seg) over(order by block_id),' ') lag_seg
             from t_segment_1)
       model
       return updated rows
       dimension by(rno)
       measures(block_id, blocks, seg, lag_seg, 0 val, owner, segment_name, segment_type)
       rules update
          val[any] = case when seg[cv()] <> lag_seg[cv()] then block_id[cv()] else val[cv()-1] end
  group by block_id, owner, segment_name, segment_type
  order by block_id

Similar Messages

  • Instant client 10.2.0.3 used with ms sql linked server doesn't work

    Hi,
    instant client version 10.2.0.3 doesn't work as microsoft sql linked server (both 2000, 2005) while 10.2.0.1 does. (tested by overwriting files in instant client directory - basic instalation, then restart mssql services) - the message is, that the oracle client is not installed when running sql (registration of linked server is ok).
    Is it a known issue or is there any workaround?
    (Windows XP, 2003, MS SQL 2005, MS SQL 2000, Oracle 9.2.0.6)
    Thanks,
    Pavel

    I installed oracle-instantclient-basic-10.2.0.3-1.i386.rpm on a redhat box to
    connect oracle database server 9.2.0.8.0 install on win box.Is there any other Oracle software installed on the RedHat machine?
    In which directory did you install Instant Client?
    Can you login with sqlplus?
    On the database server, I defined parameters like this :
    NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
    NLS_NUMERIC_CHARACTERS='. 'This will have no effect on your problem - these are client environment variables.
    Before starting apache (lampp) I set Oracle environement like this :
    export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
    export NLS_NUMERIC_CHARACTERS='. '
    My application worked very fine.
    BUT a few days ago (1 week), in my application, the date format display wrong,
    I have this format : DD/MON/YYYY even with
    export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
    before starting apache.The ancient question: Do you remember what you changed before it stopped working?
    So I stop my apache and try set Oracle environment like this :
    export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/clientAs has been said, do away with that.
    export PATH=$ORACLE_HOME/bin:$PATHYou don't need that either.
    Except is might be nice to have the directory that contains sqlplus in PATH.
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATHNow that surprises me.
    Normally, instant client shared libraries are not installed in a subdirectory.
    Does this "lib" directory exist?
    You should add the directory containing the *.so files to LD_LIBRARY_PATH.
    When I restart apache and test my application, an error php message occurs :
    Ocisessionbegin error while trying TO retrieve text FOR error ora-12705
    I check my oracle_home, I don't think I make a mistake?It seems that Oracle cannot find the instant client shared library libociei.so.
    This library must be found in LD_LIBRARY_PATH.
    In this context it would be interesting to know (as I asked above) if any other Oracle products are installed on this machine.
    Yours,
    Laurenz Albe

  • ODBC Driver for Instant Client

    Hello.
    First of all I would like to thank Oracle for giving us the Instant Client. It seems to be the solution for making stand-alone client application in a very simple way. Thanks!
    Even Though, I need to know if there is a way to download the so called "ODBC Supplement". I suppose it's a Windows ODBC Driver for Instant Client.
    Thanks!

    Here's a Registry script to set up a sample 10g-driver data source. After this I used MS Access 2002 to connect to a 9i database. It found all the table names, etc, and read fine from some of them, but others came back with some kind of error such that Access reported the row as already Deleted. I have not done any more research, yet.
    REGEDIT4
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
    "SS585D_ORA10_SYS"="Oracle in bin"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\SS585D_ORA10_SYS]
    "Driver"="C:\\OraWin10\\Bin\\SQORA32.DLL"
    "ServerName"="SS585D"
    "Description"="Sys SS585D using Oracle 10 driver"
    "DSN"="SS585D_ORA10_SYS"
    "User"="ABC"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
    "Oracle in bin"="Installed"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in bin]
    "APILevel"="1"
    "CPTimeout"="60"
    "ConnectionFunctions"="YYY"
    "Driver"="C:\\OraWin10\\bin\\SQORA32.DLL"
    "DriverODBCVer"="03.51"
    "FileUsage"="0"
    "Setup"="C:\\OraWin10\\bin\\SQORAS32.DLL"
    "SQLLevel"="1"
    As for the ODBC admin program, I used RegMon and FileMon to watch it in action. It loads the 10g setup DLL okay and reads various ODBC values from the registry, then GPF's. I think I'm seeing some kind of buffer overrun problem. I can send logs to anybody who gives me an e-mail address. Mine is [email protected]

  • Problem with setting up new Ipad Air2:I can't set up my new Ipad using new Apple ID and it keeps showing the notification that wrong email or password and try again. I can log in Itune with thesame

    I can't set up my new Ipad using new Apple ID and it keeps showing the notification that wrong email or password and try again. I can log in Itune with the same ID. Please help me if you have come across the same issue. Thank you!

    Contact the App store for Apple ID help. Their support link is on the right of the App store window
    LN

  • How I can delete set of book that not use, it is creating wrongly?

    Dear Valued Consultant ,
    How I can delete set of book that not use, it is creating wrongly?
    Is there a way to delete Set of Book that not use, it is created wrongly?
    The Goal:
    This wrongly set of book it is appears always in any where that need select the Set of Book that may be cause select the wrongly one
    Thanks for alawys Helping

    Pl see if ML Doc 160623.1 (How to Delete a Set of Books from General Ledger?) helps.
    HTH
    Srini

  • Can new PWA views be created whereby a filter can be set and associate to the view by default? (Project Server 2013 ONLINE)

    My main question is: Can new PWA views be created whereby a filter for that view can be set, and associate to the view by default? (Project Server 2013 ONLINE)? and can I have a filter set to filter on person logged on to...
    In previous versions of Project Server, when CREATING a PWA view, we were able to apply/ define a filter for that view.  Does not seem like it is the case in Project Server 2013 Online.  And if I remember, we could also use the URL Guid_view_id. 
    Please confirm; and / or tell me how-to.
    What I was hoping to do is the following... Given that our standard that we have adopted for reporting time is 'My Timesheets' (fyi, Single Mode Entry=ON), we have some resources who have others who do it on their behalf via 'My Tasks' (ie., accomplished
    by using the 'Assignment Owner' field, accordingly).  Therefore, when entering time on someone else's behalf within 'My Tasks', we like to present the user that is logged in only the tasks that they are are assigned to update on others' behlaf.
    I know that there is another more elegant approach to doing this which may be to use the Delegation feature. But since we are trying to stick to Sharepoint Security mode for now, this is not an option for the time being.
    Any help appreciated would be greatly appreciated.
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

    Hi Spiro,
    1- You still can define in Project Online a filter in the view settings, it is located just above the category setting. Here is a screenshot of the summary project center view:
    2- The view GUID is not anymore in the URL, since the URL triggers an action only on the webpart and not on the whole page. I agree this is annoying since it was great to send a URL with a specific view.
    3- Concerning the access to my timesheet versus my task, I'm not sure to get a full understanding but on a general way, it is much more easy to deal with those situation using categories which you cannot do with the SP permission mode.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How can I set a variable number of values in a SQL IN clause?

    Hi,
    How can I set a variable number of values in a SQL IN clause without having to change the text of the SQL statement each time?
    I read the link http://radio.weblogs.com/0118231/2003/06/18.html. as steve wrote.
    SELECT *
    FROM EMP
    WHERE ENAME IN (?)
    But we need the steps not to create type in the system and would there be any other solution if we would like to use variable number of values in a SQL IN clause ?
    We are using JDeveloper 10.1.3.2 with Oracle Database 10.1.3.2
    Thanks
    Raj

    Hi,
    can you please explain why the solution from steve is not the right solution for you.
    regards
    Peter

  • How can we set Admin rights to access all user mailboxes in IMAP server exchange 2010?

    Hi,
    IMAP is in exchange 2010..
    as per guide:
    http://technet.microsoft.com/en-us/library/jj200730%28v=exchg.150%29.aspx
    CSV Files for IMAP Migration Batches`
    Use super-user or administrator credentials.   This requires that you use an account in your IMAP messaging system that has the necessary rights to access all user mailboxes.
    In the CSV file, you use the credentials for this account for each row. To learn whether your IMAP server supports this approach and how to enable it, see the documentation for your IMAP server.
    How can we set Admin rights to access all user mailboxes in IMAP server exchange 2010?
    thanks?

    Hi,
    Do you mean assigning a user full access permission to all other mailboxes? If so, we can try the following command:
    Get-Mailbox -Server “Exchange 2010” | Add-MailboxPermission -User AdminUserName -AccessRights FullAccess
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Installing OLEDB Provider (10.2.0.3) for use in creating SQL Linked Servers

    I've installed the Oracle OLEDB Provider (version 10.2.0.3) on my SQL Server 2005 box (Windows 2008 64-bit). However, when I reboot the server after install I do not see the OraOLEDB.Oracle provider in my list of providers available to use to create a linked server to the Oracle database.
    Could someone help steer me in the right direction?
    Thanks!!

    Hi,
    This forum is for links from Oracle to non-Oracle databases. For issues with connectivity to Oracle using ODBC/OLEDB it would be better to ask the question in the ODBC forum -
    ODBC
    They have the experience of connections to Oracle and the software involved.
    Regards,
    Mike

  • Where can I download the instant client ODBC driver for windows 7

    I upgrade to windows 7 and my instant client connecting to oracle from ms Access stop working. Is there any documentation on how it works on windows 7. I use instant client and odbc cleint for xp.
    Thanks

    11.2 is currently the only supported version on Win7, and you can get the instant client here:
    http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
    Hope it helps,
    Greg

  • Unix ODBC and Oracle Instant Client

    When I dowloaded Oracle 11 Instant client the the zip file does not contain the libsqlora.so.11.1 file. the odbc_update_ini file contains reference to it. I am trying to configure ODBC on HP UX Pa Risc to use the Instant Client. I have downloaded the UnixODBC driver manager from UnixODBC.org. But I can't seem to figure out how to hook up Oracle 11 Instant Client. Everything I have searched for indicates that libsqlora.so.11.1 is required for the driver manager to work. Who develops this, is it Oracle, is it UnixODBC.org? Do I need to use an older version of Oracle Instanct Client?
    Thank you in advance for any help.

    is it "libsq.." or "libsql.."? Did you check odbc.zip? "libsqora.so.11.1" suppose to be part of odbc.zip. From which location you have downloaded? because in my install location I can see that "libsqora.so.11.1" is part of odbc.zip file and same has been referred by odbc_update_ini file. Download fresh tar(odbc.zip) and recheck!

  • Can one set up Lightroom to allow use of manufacturer's printer profiles and Advanced Color Settings

    I like the effects that I can apply to my B&W images using Advanced Color Settings, but understand that I get best print quality using the manufacturer's paper profiles. However, I get locked out of Advanced Color Settings unless I choose "Managed by Printer". Can I do both - select a specific paper profile and use Advanced Color Settings? Thanks

    I don't know what printer you are using. But if you want to use all of the controls in the Lightroom print module you need to let Lightroom manage the color. For my printer, this requires making that choice in Lightroom and then disabling color management in the printer driver. Then, using Lightroom, I am able to use all of those settings and choose the appropriate profile provided by the paper manufacturer.
    With my printer, if I choose to let the printer manage the color, I can make all of those choices in the printer driver. But you cannot split your management between Lightroom and your printer.  You have to go one way or the other.

  • Setting global variable to be used in a SQL task

    I am trying to create a simple SSIS package to be used in the SQL Task
    The SQLStatement is
    Update dbo.Users
    set FirstName = ?
    where UserID = 2
    Added a parameter mapping for User::strDataString
    From the data manager dynamic script, I included following code to prompt for the value and set to the global variable and then call the excecute SQL task.
    PROMPT(TEXT,%strData%,"Enter value",,"")
    GLOBAL(@[User::strDataString],%strData%)
    TASK(Execute SQL Task,,)
    When the check the database, the table is getting updated only with the default value of the strDataString but not with the value entered in BPC.
    Am I missing any link?
    Thanks
    Omkar
    Edited by: yomkar on Mar 17, 2010 1:13 PM

    Hello,
    on which version of BPC are you running ?
    Can you try to make all your SSIS variables upper case, it helped me on earlier versions of BPC.
    Be aware too that if you have an instruction like GLOBAL(STR,some_value), BPC will do a string replacement within the MODIFYSCRIPT variable  : "STR" -> "some_value".
    for example :
    GLOBAL(STR,some_value)
    TASK(STR TSK,....) will be replaced by TASK(some_value, ....).
    Vladimir.

  • Linux: oracle instant client sqlplus cannot locate glogin.sql

    Hi, I've downloaded and extracted instantclient and sqlplus for instant client. Added instantclient to libraries (through ldconf), added sqlplus.so to libraries also, added sqlplus executable to $PATH, installed rlwrap. I see that in sqlplus's directory there is glogin.sql. I've added "set linesize 100" there. Also I've created SQLPATH variable pointing to the directory where glogin.sql located. But it seems that when I connect to my database through 'rlwrap sqlplus name/pwd@url:port/sid' glogin.sql isn't applied. I execute 'show linesize' and it prints me default 80. Please advise.

    hi,
    have you had any success in resolving your glogin issue?
    the recommended setting of ORACLE_HOME didn't help, neiother did ORACLE_PATH nor renaming glogin.sql to login.sql;
    regards, carsten
    ps:
    oracle instant client 11.2.0.3.0 on win 7 x64
    pps: (partial solution)
    executing sqlplus in the directory where a login.sql file is located did the trick for me
    Edited by: user10304394 on 24.04.2012 22:35

  • Why i always can't sign in to i cloud using my laptop due to server error?

    why i can't sign in to i cloud using my HP  laptop due to server error?

    I kinda have the same problem. My old email was jammed and i can't access it so i can't verify my email for the CC, i created a new account with new email i made my plans and everything seemed that are working fine. But CC keeps showing me the old email and wants me to verify it no matter what. I can't not access sing-in/sing-out options or anything, i reinstalled CC many times and it doesn't work. PLEASE help i can't do anything , i can't install any software i need to work on immediately!!! Any solutions??????

Maybe you are looking for

  • RAR 5.2: Background Job Error

    During the Full sync jobs after installation of RAR 5.2, the User and Role jobs complete successfully, but during the profiles job it stops with an error. Please find the log entries and any tips are highly appreciated. Thanks: INFO: Job ID:7 : 7 out

  • Encounter error after adding an attribute to a new dimension in AWM.

    After I added an attribute to a new dimension, I encountered the error as below. I also cannot read the metadata from Jdeveloper after I create a cube using AWM. Please kindly help!! BI Beans Diagnostics(v1.0.2.0) 2005/9/15 ==========================

  • Pdf's wont open in browser

    For some reason I can not get the pdf reader 9.1x to open pdf files in my firefox or IE. Any thoughts? I reinstalled both the reader and the browser. Stumpy

  • How do I set column widths in read/write rules?

    Hello structure experts, I am reading a set of DITA files into a specific FM template format, and there is one detail I cannot get to work properly. It should be possible to define column widths in a table, even if the DITA file does not include that

  • Creating an EJB that has no primary key

    I want to create an EJB for a table that has no primary key using J-developer but I get an error like this : "cmp-field of type 'java.lang.Long' does not have a no-arg constructor which is needed for properties/fields based mapping" How can I go on?