Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 30th, 2006, 05:58 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default creating SQL 2000 veiws on oracle database

currently my application runs on SQL 2000 server on windows XP system. SQL database derieves its data from oracle database running on unix os. currently i am getting datadumps from oracle and uploading them to sql database. can i create an sql veiw on tables in oracle db under situation mentioned above? if so how? are there any constraints in doing so?

 
Old June 30th, 2006, 06:30 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Providing you have access permissions you can set up a LINKED SERVER in SQL Server, either using the Enterprise Manager GUI or by scripting. You can then access the data in Oracle and perform queries whereby you insert into a SQL table data from an oracle one. Alternatively, for a more transient connection, you can use OPENQUERY or OPENROWSET and pass a connection string in. Search for the capitalised terms in BOL.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sql Server 2000 vs Oracle 9i - performance problem sniegu Hibernate 2 January 27th, 2006 12:10 PM
What are the tables in Database In sql 2000 shahbaz_sb SQL Server 2000 3 July 25th, 2005 09:41 PM
Difference between Oracle 8i and SQL Server 2000 ramk_1978 SQL Language 1 December 28th, 2004 01:25 AM
Connecting to SQL 2000 Database - New at this Tee88 Classic ASP Databases 14 October 2nd, 2004 04:23 AM
Creating and connecting in a Oracle Database cutovoi Excel VBA 2 February 4th, 2004 07:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.