-
Development tables
Hi,
I have a few tables that was created without primary keys for development
purposes. Currently, I need to export the tables to production database but
need to perform some cleanup on the duplicate rows.
Is there a way to select "just" the duplicate rows using transact SQL?
Thanks.
-
Re: Development tables
Claire,
I always forget what the code is to do this so I cheat. Access will create
a query to check for dups using a wizard. I then copy the SQL and modify
as needed.
Mark
"Claire" <cheerio74@excite.com> wrote:
>
>Hi,
>
>I have a few tables that was created without primary keys for development
>purposes. Currently, I need to export the tables to production database
but
>need to perform some cleanup on the duplicate rows.
>
>Is there a way to select "just" the duplicate rows using transact SQL?
>
>
>Thanks.
-
Re: Development tables
Does anyone know if it can be applied to SQL2000?
"Mark" <mknuttall@nospam.yahoo.com> wrote:
>
>Claire,
> I always forget what the code is to do this so I cheat. Access will create
>a query to check for dups using a wizard. I then copy the SQL and modify
>as needed.
>
>Mark
>
>"Claire" <cheerio74@excite.com> wrote:
>>
>>Hi,
>>
>>I have a few tables that was created without primary keys for development
>>purposes. Currently, I need to export the tables to production database
>but
>>need to perform some cleanup on the duplicate rows.
>>
>>Is there a way to select "just" the duplicate rows using transact SQL?
>
>>
>>
>>Thanks.
>
-
Re: Development tables
this may help: http://www.mssqlserver.com/faq/development-duprows.asp
--
HTH,
David Satz
Principal Software Engineer
Hyperion Solutions
->Using SQL Server 7.0 SP3/6.5 SP5a/Cold Fusion 4.5.1 SP2/VSS
(Please reply to group only - emails answered rarely)
-----------------------------------------------------------------
"Claire" <cheerio74@excite.com> wrote in message
news:3aaf5878$1@news.devx.com...
>
> Hi,
>
> I have a few tables that was created without primary keys for development
> purposes. Currently, I need to export the tables to production database
but
> need to perform some cleanup on the duplicate rows.
>
> Is there a way to select "just" the duplicate rows using transact SQL?
>
>
> Thanks.
-
Re: Development tables
or http://support.microsoft.com/support.../q139/4/44.asp
"DaveSatz" <davidsatz@yahoo.com> wrote in message
news:3aaf7af3$1@news.devx.com...
> this may help: http://www.mssqlserver.com/faq/development-duprows.asp
> --
> HTH,
> David Satz
> Principal Software Engineer
> Hyperion Solutions
> ->Using SQL Server 7.0 SP3/6.5 SP5a/Cold Fusion 4.5.1 SP2/VSS
> (Please reply to group only - emails answered rarely)
> -----------------------------------------------------------------
> "Claire" <cheerio74@excite.com> wrote in message
> news:3aaf5878$1@news.devx.com...
> >
> > Hi,
> >
> > I have a few tables that was created without primary keys for
development
> > purposes. Currently, I need to export the tables to production database
> but
> > need to perform some cleanup on the duplicate rows.
> >
> > Is there a way to select "just" the duplicate rows using transact SQL?
> >
> >
> > Thanks.
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks