SQL Server - Oracle Differences - Connect By Prior
Dec 5, 2007
Hello ,
I'm facing a complicated problem and I don't think that the solution will be an easy one.
I have an SQL statement in Oracle which I need to translate it in Sql Server 2005.
select lpad(' ',5*(orderid)) || to_char(descr) as menui
from <table _name>
where MENU_ITEM not in ('test1','test2','test3') and item_parent not in ('test4,'test5,'test6')
start with <item_parent='item_parent' >
connect by prior <menu_item = item_parent and menu_name='ADR_m_adr_frame'; > ?(condition)
Somewhere I have read that SQL server does not support Hierarchical Sql statements. Is this true ? How am I going to do that ?
Any help will be appreciated.
Thank you
View 7 Replies
ADVERTISEMENT
Aug 5, 2006
Hi guyz,
I have basic knowledge of Sql Server 2005 and now i wanna move ahead in Oracle 9i !
So, i have 2 questions here -
a)Whats the Difference between Sql Server 2005 and Oracle 9 i ?
Note: Please keep the discussion general so that student like me can understand. I have never seen Oracle but the industry requirements suggest that Oracle is way better than than SQL Server 2005. But thats what i think
b)I am Running Windows XP SP 2 and i would like to practise Oracle 9i. So, Where i can download it for free ? I know i have checked there website but they don't mention the difference between each version. Oracle does't market their products as well as Microsoft.
Please , I am Student .. so i request you to make the discussion general .
Thank you for your time.
View 7 Replies
View Related
Oct 5, 2015
I am need of comparing ORACLE and SQL clustering,.
1) Dynamic addition / removal of nodes with no effects on data distribution-- I think Yes
2) Integrated clustering technology for all major OS and Server Platforms
3) Automatic Workload management that enables enterprise Grids
4) Recovery Advisories
View 2 Replies
View Related
Aug 4, 2004
Hello,
I have to migrate an application from oracle to sqlserver but i habe query with
connect by prior
What is the equivalent in sqlserver 2000.
Please help me.
View 2 Replies
View Related
Aug 23, 2007
Hi everybody,
I have designed a DTS package which will migrate a view from Sqlserver 2000 to Oracle.My package is using Microsoft OLEDB provider for Oracle driver for connecting to oracle.Im able to execute this package on the my system ie on the system where sqlclient is installed(Oracle client is also installed on my machine) .But when im doing it on the server im not able to do it.The Connection to Oracle Fails.
I wanted to know in order to connect to Oracle from the server,is it necessary that Oracle has to be installed on the server?.If yes, is it enough if i install oracle client on the server or Oracle Server version has to be installed on Server.
Please suggest me wht should i do know?
Thanks in advance
Regards
Arvind L
View 3 Replies
View Related
Sep 19, 2006
Hello,
Does anyone know how to connect Oracle 10g DB to Microsoft SQL Server? If so, any tips or help would be greatly appreciated!
Thanks!
View 2 Replies
View Related
Dec 16, 2005
Hi,I'm attempting to connect to an Oracle database using SQL Server 2005Express (OS is Windows XP Professional) and having absolutely no luck.Here is the information SQL Plusgives me about the database when I log in -Connected to:Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.6.0 - ProductionAs you can see I have no problem connecting with the Oracle specifictools (SQL PLUS and PL/SQL Developer).I've tried creating a linked server with both the Microsoft providedOLE DB provider and the Oracle provider. With the Microsoft Provider Iget the following error when attempting a query in the query editwindow.OLE DB provider "MSDAORA" for linked server "ORACLE" returned message"Oracle client and networking components were not found. Thesecomponents are supplied by Oracle Corporation and are part of theOracle Version 7.3.3 or later client software installation.Provider is unable to function until these components are installed.".Msg 7303, Level 16, State 1, Line 2Cannot initialize the data source object of OLE DB provider "MSDAORA"for linked server "ORACLE".When I try connecting withe Oracle provider I get the following -OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLETEST2"returned message "ORA-01017: invalid username/password; logon denied".Msg 7303, Level 16, State 1, Line 2Cannot initialize the data source object of OLE DB provider"OraOLEDB.Oracle" for linked server "ORACLETEST2".I've set the password up as a local to remote login mapping using thesecurity page of the Linked Server property dialog. The username /password are definitely correct -- I used them to log in using SQL PLUSand PL/SQL Developer. I'm using an Oracle 9 client.PLEASE HELP !!!!!Thanks,Signed Frustrated
View 8 Replies
View Related
Nov 18, 2006
created an Oracle datasource (tried both ole db & oracle client) in Visual Studio 2005 report project - works fine connecting and preview of report within ide , deployed to Reporting Services web server, received the following error when attempting to run the report on web server:
An error has occurred during report processing. (rsProcessingAborted)
Cannot create a connection to data source 'oracle'. (rsErrorOpeningConnection)
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
web server has oracle client 9i client installed and connecting to db ok through sql plus (this server also is loaded with VS2005 and the SqlServer2005 db)
any thoughts or direction greatly appreciated
View 4 Replies
View Related
Sep 27, 2007
Hi Everyone,
Just like the title says:
Can you connect to an Oracle DB using MS Sql Server Management Studio Express?
If so, can anyone please give me an example?
Thanks heaps!
View 7 Replies
View Related
Oct 2, 2006
I want to convert oracle "SELECT LEVEL R FROM CONNECT BY LEVEL <=10" my bottom requirement is get 1 to 10 as a dynamic table inside a query.
Ex: Select id, name, R from names N, (1,2,3,4,5,6,7,8,9,10) R WHERE id < 1000
If any one know something regarding this please reply me.
Thx,
Buddhika
View 10 Replies
View Related
May 20, 2004
How to connect to SQL server database from Oracle 9ias Application Server (9.0.3) & Test & Verify the Connection. Is it posible.
View 1 Replies
View Related
Apr 29, 2008
We have recently migrated from SQL 2000 (32bit) to SQL 2005 on Win2003 (both are 64bit). And we have Legacy DTS packages on SQL 2005, some packages are pulling records from Oracle 10g (32bit server). When I execute the DTS package I am getting following error.
Error = -2147467259 (80004005) Error string: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed. Error source: Microsoft OLE DB Provider for Oracle
Did I need to install/update any MS OLE DB driver for Orace.
Some blogs & forums suggesting to install Oracle 10g Client. If so Which version of Oracle client(32bit/64bit) I have to install?.
Thanks.
Dhans
View 1 Replies
View Related
Oct 6, 2005
Greetings,
I want to connet to Oracle databse from SQL server 2000 since I am more comfortable with SQL 2000 client package. The oracle server is 8i or above.
I am running a SQL Server 2000 on a PC with Windows XP OS.
Please help what I need to do and configuration information.
Thank you all in advance.
BPG
View 1 Replies
View Related
Sep 27, 2007
Hi friends,
I have SQL Server installed and running. I need to get data from oracle to my local server. This should be on a scheduled basis. During this I dont need to get imported the existing records.
How can I make it done.
Can anybody explain me in detail. I need it to be complete in 1 day.
Thanks in advance
View 4 Replies
View Related
Jul 20, 2005
Hi all,Being that so far I didn't get an answer to my below problem on theOracle newsgroup, I figured it couldn't hurt to try here.While at my current job I've been working with mostly SQL Server, nowI need to connect to our Oracle Financials running on HP-UX. TheOracle DBA set me up as a user and installed the Oracle client on mybox and I have the tnsnames file, but I still can't establish aconnection to the database from my development environment... I'mgetting an error message "ORA-12224 TNS:no listener".At a previous company I also had Visual Studio and was able to connectto the Oracle databases from it... I want to do the same thing here,plus I need to set the Oracle database up as a linked server with mySQL Servers so I can make distributed transactions. (No heartattacks please, I'm going to create a couple of tables on the Oracleside and the Oracle DBA will put triggers on them so that whenever Iinsert to them he grabs the data and feeds it to the canned processesin OF.)The Oracle DBA gave me a little utility with a window where I can typefreehand SQL and get results but not nicely, so I know the connectionisn't impossible, but I need to be able to address the Oracle databaseprogrammatically. I thought the problem might be related to the factthat I don't see the unix box in Network, although I can ping iteither by name or IP address... the Oracle guy said for me to see itin Network he'd have to install something I forget the name of.(Something like NFS???) Someone suggested I put an entry in the hostsfile, which I did, to no avail... although I think it's in the wrongplace, it's in WINNTSystem32Driversetc. The Oracle guy says hethinks the problem is that the MS OLE DB Provider for Oracle doesn'tknow to look in the tnsnames file, but I find that difficult tobelieve. He said maybe somewhere I need to enter a "path" to it...(I vaguely remember something about setting paths back in the DOSdays...)So anyway, can any of you tell me what to do?Thanks very much in advance. :)
View 4 Replies
View Related
Jan 20, 2007
Good evening,
I would like to ask help from professionals, I have oracle database as old system and SQL server 2000 as new system ,these databses for accounting department so we would make oracle as publisher server and SQL as subscriber which we be sure the database in the two system is synochornize. but the main problem I can't make oracle as publisher because when I go to SQL server2000, replication, no option for non sql server.
so I would like to help asap.
thank in advance.
View 2 Replies
View Related
Mar 10, 2008
Gurus,
I found there is no ODBC support for 64 bit (SQL server 2005). Then which is the best way to connect Oracle Datadbase from SQL 2005..?
Thanks
Krishna
View 8 Replies
View Related
Jun 13, 2006
We are getting following error,while trying to connecct oracle using oledb provider.
Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code page from the propoerty will be used. Change the value of the property if the current string code page values are incorrect. If the component does not support the property, the code page fromt he componnet's locale ID will be used.
Could you please tell me the reason for the error. is it problem regarding oracle client version installed on the system?
Thanks & Regards
S.Nagarajan
View 3 Replies
View Related
Jan 11, 2008
I've worked with PL/SQL in the past, but am new to SQL 2005 and SSIS packages. I'm trying to read an Oracle table and insert rows into SQL 2005.I have entered my command in the OLE DB Source editor and click preview, and everything works fine. When I try to execute the Data flow, I keep getting an OLE DB connection error.
The error message I'm receiving is:
ora-01017: invalid username/password; logon denied
I've tried editing the connection string associated to my entry for the Oracle server, but everytime I add 'pwd=xxx', SQL 2005 removes it. I've also tried to edit the connection for the database thru connection manager, but it does not want to save the password I provide.
Thanks for your help,
Curt
View 1 Replies
View Related
Apr 16, 2008
hi,
i have Oracle Enerprise Manager installed and want to connect to SQL Server instance. can i, if yes please suggest me.
thanks in advance
Helin Shah
View 3 Replies
View Related
Mar 4, 2008
Hi,
I have several oracle reports which running in SharePoint Integrated mode. They were working well when the SharePoint server and report server in same machine. But after that the report server move out to another machine, we got the problem with connection to oracle databasen. Reports with Sql server as data source has no problem at all.
We have installa both oracle client and odp.net in both machines, and tried to give Network Service full access right in
Bin catalog in oracle client but nothing helps. Please help!!!!!
An error has occurred during report processing. (rsProcessingAborted)
Cannot create a connection to data source 'Ellentst'. (rsErrorOpeningConnection)
For more information about this error navigate to the report server on the local server machine, or enable remote errors
In log file:
Cannot create a connection to data source 'DatabasName'. ---> System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
We have installed oracle client version 10.2.0 in both machine.
View 2 Replies
View Related
Oct 9, 2007
I am working with the IT department at a client site trying to hook into Oracle. We are using Windows Server 2003 64-bit, SQL Server 2005 Standard 64-bit, Oracle 10-g 64-bit and Linux Red Hat 64-bit. All service packs are current.
We are working on a data warehouse project where we need to import Oracle information periodically throughout the day and integrate it in a central location with data already residing in SQL Server. This is the first time I have tried to pull data from Oracle. The databases in Oracle and SQL Server that we are pulling data from are third party application databases.
My client cannot connect to Oracle using Crystal ODBC connections. When we use either the .NETor OLEDB connections, we get the "client tools need to be installed" message. We do have the client tools installed on the WIndows Server that SQL Server is installed on. We can connect to Oracle from this locattion using Aqua Data Studio and SQL *PLUS. I checked and there is only one tnsnames.ora file on the server. I used the name from there to try to connect using SSIS. Still no luck.
I did see somewhere that there is a possible issue with 64-bit installations. We really need to get this connection working.
Thanks!
Jeanne :-)
View 2 Replies
View Related
Nov 9, 2007
Hi
After having read the forums I understand that it is not possible to use parameters in the "Ole Db Command", when connecting to Oracle.
What I have to do, is to delete a record in an Oracle table from within the "Data Flow", based on parameters.
It does not seem to be possible to create the SQL statement in a variable (with parameters generated) and use the variable in the "Ole Db Command"
Instead I probably need to use the "Script Component"?
So what I need is step by step guidance for how to connect to and interact with an Oracle database from a Script Component, what to import and where, what to declare and where, and generally a way to get this to work.
Any help appreciated.
Olafur
View 4 Replies
View Related
Jul 15, 2015
I've made connections in SSIS to Oracle before by setting up TNS but this latest connection is different.
I've been give an SSL cert that I had to import into the Oracle Wallet Manager and to get connected in 'Oracle SQL Developer' I had to choose connectionType = advanced and drop the following line in the JDBC URL section
jdbc:oracle:oci:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCPS)(HOST = server.domain.com)(PORT = 2484))(CONNECT_DATA =(SERVICE_NAME = XXXXX)))
So my question is. How can I go about making a connection like this in SSIS?
Just incase it matters, I'm working with OracleClient 11g
View 2 Replies
View Related
Apr 20, 2015
I'm having an issue connecting to an Oracle database using Visual Studio 2013 - Business Intelligence tools.I am running Windows 7 (64-bit), Visual Studio 2013, and have SQL 2012 Enterprise (64-bit) on my local machine. I downloaded the MS Connectors v2.0 for Oracle found here. But when I try to add a new connection either through the connection manager or inserting a Data Flow Task and looking for the Oracle connections in the "Other Sources" or "Other Destinations" - neither option is available.I have the 32-bit Oracle client installed, the tnsnames.ora file has been created and I can connect to the Oracle DB through PL/SQL.I see Microsoft Connector for Oracle by Attunity 2.0 in my Programs list - installed for this file: Attunity SSISOra Adapters SetupX64.msi. don't know what else to try to get the connections available.
View 11 Replies
View Related
Nov 23, 2010
Getting following error while trying to connect to ORACEL database using OLEDB manager.
Error at RADAR [Connection manager "RADAR_Updated"]: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR. The requested OLE DB provider OraOLEDB.Oracle.1 is not registered. Error code: 0x00000000.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
[code]....
View 6 Replies
View Related
Oct 26, 2007
Hi,
I'm trying to use query parameters with an Oracle OLEDB Source in a data
flow task and I'm having problems.
I've tried formatting the query each of the following ways...
--
select
frq_code,
frq_name,
update_frq,
uptime_frq
from frequency_bcs
where update_frq > ?
and update_frq <= ?
--
Parameters cannot be extracted from the SQL command. The provider might not
help to parse parameter information from the command. In that case, use the
"SQL command from variable" access mode, in which the entire SQL command is
stored in a variable.
Additional information
---> Provider cannot derive parameter information and SetParameterInfo has
not been called. (Microsoft OLE DB Provider for Oracle).
View 7 Replies
View Related
Sep 19, 2006
I have a requirement to execute an Oracle procedure from within an SQL Server procedure and vice versa.
How do I do that? Articles, code samples, etc???
View 1 Replies
View Related
Jul 20, 2005
Hello,I've got installed Win 2003 SBS Premium with the SQL Server 2000 on a servermachine. It works almost fine, except the application which uses the SQLServer. The main part of the application runs (since the last update) fine,but other tools of that application (database import and the databasemanager for check and rebuild) doesn't. They hang up or kill the database.Our software developer says that these problems are in correlation with theserver os. But there won't be any problem if we install Win 2000 Server andadd an additional SQL Server 2000.Finally my question is: Are there any differences between the SQL Server2000 Versions, which are sold (a) as a single product, (b) as part of theWin 2003 SBS Premium package and (c) as part of other Server versions?Thanks in Advance,Martin
View 6 Replies
View Related
Mar 12, 2007
Hi there,
I'm trying to find what are the main differences between SQL Server 2005 64-bits and 32-bits. So far, I've found some articles about TPC-C performance but I would like to know some response time or execution time of a batch or SSIS packages.
Any information about this 2 versions is appreciated.
Thanks!
View 3 Replies
View Related
Apr 19, 2007
Hey all,
I have a VB6 app. If i run it against one SQL server - its fine. Another SQL 2000 server - it fails.
Here is the code
frm.AdodcTemp.Recordset.Delete adAffectCurrent
The error is
Run time error 3021
Either EOF or BOF is true, or the current recordset has been deleted. Requested operation requires a current record.
They are both on Windows 2000 servers. I have checked SQL versions with @@version and
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
Both identical.
The i used components checker to check MDAC versions - both 2.8. Also then checked the related MDAC Dlls. All identical.
Only thing i am having real trouble checking is the "Server Network Utility" - which on the server that works (?) is giving me an error of 126 "the specified module could not be found". Any idea what could be causing this?
What else could be different? Any ideas?
Dan
View 5 Replies
View Related
Nov 29, 2003
Hi
I wonder what the differences between MSDE and SQL Server are. The main thing I'm conserned about is...
Are there any limit of concurrent users to the MSDE?
Regards
M
View 2 Replies
View Related
Jan 20, 2006
Firslty, my aplogies if this is documented elsewhere - I am a new user to SQL Team and not yet found everything! I hope someone here can help me...
In brief, I am making the foolish mistake of embarking on my third and final year of an MS(c) degree in forensic computing. For my final year project I am intending to study and document (for forensic computing purposes) the forensic capture and investigation of data from a MS SQL Server database.
However, my experience is mostly from MySQL! In other words, I know very little about the internal structure of MS SQL Server 2000 or 2005.
Which leads me to my question....
Can anyone point me in the direction of a technical pagedocumentpdf (whatever) that details what the core fundamental differences are between 2000 and 2005. I'm not talking about an MS publicity paper - no, I need a non-bias technical guide which states the differences as fact.
If the differences in 2005 are mostly just cosemtic (the GUI etc) then I'll study 2000 because lots is already known and documented about it it seems. However, if it's much more than that and the differences are specific to what I'm studying (the forensic capture) then I'll probably have to go with 2005 because that's what we will be encountering more of in the next few years and the differences will effect the investigator.
Your time and responses much appreciated.
Regards
Ted
(BTW - Having looked at the description of 'Inside Microsoft SQL Server 2000', it seems like it might be a good book for my project (if I do 2000). Would you guys agree?)
www.f3.org.uk
View 5 Replies
View Related