Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Sybase > creating view t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 2393 of 2504
Post > Topic >>

creating view to select unique records

by "setsun@[EMAIL PROTECTED] " <setsun@[EMAIL PROTECTED] > Jan 31, 2008 at 07:41 AM

Hello All,

I am unsure if similar question has already been posted to this group.
If so please point me to the relevant post/group.. otherwise please
read on...

We are in the process of migrating our application from Sybase to
Oracle. Basically for each table, we would do an bcp out of the table
and load it into oracle via sqlldr.

The source table has duplicate rows in it. However, we would not want
to ex****t those dupe rows to our oracle table.

My intention is to create a view that would pick up only the unique
records and I can bcp the data out of the view.

I can create a view something like
select distict * from sybase_table. However, I am worried about the
performance since I have heard that distinct clause is a costly
operation ( I am working on about 120-140 million rows ).

Is there a better way to achieve it?

Thanks in advance
Arun
 




 3 Posts in Topic:
creating view to select unique records
"setsun@[EMAIL PROTE  2008-01-31 07:41:14 
Re: creating view to select unique records
jefftyzzer <jefftyzzer  2008-01-31 10:26:20 
Re: creating view to select unique records
Keith <keith.wingate@[  2008-02-01 05:54:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sat Jul 5 18:33:50 CDT 2008.