• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

Transfer spatial data from SQL Server 2008 to Oracle 10g

Is it possible to transfer spatial data from SQL Server 2008 to Oracle 10g?
1 Solution
No it is not possible
It is possible but in text format only. Let suppose you have table containing GeogCol1 column with spatial data. The GeogCol2 column is computed varchar(max) and its value is calcualted by STAsText() function from geography data:

CREATE TABLE [dbo].[SpatialTable](
      [id] [int] IDENTITY(1,1) NOT NULL,
      [GeogCol1] [geography] NULL,
      [GeogCol2]  AS ([GeogCol1].[STAsText]())

So, you may transfer spatial data as varchar texts. Their processing in Oracle is another question, of course.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now