Click here to Skip to main content
15,912,400 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: issue with Tracking users Pin
Martin Jarvis17-May-10 6:40
Martin Jarvis17-May-10 6:40 
GeneralRe: issue with Tracking users Pin
Khaja A. Imtiaz17-May-10 20:07
Khaja A. Imtiaz17-May-10 20:07 
GeneralRe: issue with Tracking users Pin
Martin Jarvis18-May-10 11:04
Martin Jarvis18-May-10 11:04 
QuestionTimeout Problem Pin
SreejithKumar M14-May-10 18:34
SreejithKumar M14-May-10 18:34 
AnswerRe: Timeout Problem Pin
Brij14-May-10 20:01
mentorBrij14-May-10 20:01 
GeneralRe: Timeout Problem Pin
SreejithKumar M14-May-10 20:15
SreejithKumar M14-May-10 20:15 
GeneralRe: Timeout Problem Pin
Brij14-May-10 20:26
mentorBrij14-May-10 20:26 
GeneralRe: Timeout Problem Pin
SreejithKumar M14-May-10 20:33
SreejithKumar M14-May-10 20:33 
k, thanks

But i tried google. before posting question here, i always do it.
But that didnt work . i tried commandout method also. but no use.

This is my stored proc

CREATE procedure [dbo].[C_ToRemoveLocalDataDuplicateRecords]
as
begin transaction
--Insert the duplicate record to duplicate table
insert into tblLocalDataDuplicate ([AddressPK],[SlNo], [CategoryID],[ProjectID],
[WebUrl],[Name],[StreetAddress],[City],[State],[ZipCode],[Telephone],[SecondaryPhone],
[EmailID],[EnteredDate],[UpdatedDate],[UserId])
SELECT distinct(T1.[AddressPK]),T1.[SlNo],T1.[CategoryID],T1.[ProjectID],
T1.[WebUrl],T1.[Name],T1.[StreetAddress],T1.[City],T1.[State],T1.[ZipCode],T1.[Telephone],T1.[SecondaryPhone],
T1.[EmailID],T1.[EnteredDate],T1.[UpdatedDate],T1.[UserId]
FROM tblLocalData T1, tblLocalData T2
where T1.name = T2.name and T1.streetaddress =T2.streetaddress
and T1.city =T2.city and T1.state =T2.state and T1.zipcode =T2.zipcode and T1.telephone =T2.telephone and T1.SecondaryPhone =T2.SecondaryPhone
and T1.addresspk < T2.addresspk order BY name,streetaddress, city, state, zipcode,telephone,T1.addresspk
--Delete the duplicate records
delete T1
FROM tblLocalData T1, tblLocalData T2
where T1.name = T2.name and T1.streetaddress =T2.streetaddress
and T1.city =T2.city and T1.state =T2.state and T1.zipcode =T2.zipcode and T1.telephone =T2.telephone and T1.SecondaryPhone =T2.SecondaryPhone
and T1.addresspk < T2.addresspk
if (@@error > 0)
rollback transaction
else
commit transaction

i am not displaying any data in gvw instead of that i am displaying it in csv file.

Here i am checking for duplicate records (total records upto 60,000).

Known is a drop, unknown is an ocean
GeneralRe: Timeout Problem Pin
Brij15-May-10 18:01
mentorBrij15-May-10 18:01 
GeneralRe: Timeout Problem Pin
SreejithKumar M16-May-10 17:06
SreejithKumar M16-May-10 17:06 
GeneralRe: Timeout Problem Pin
Suresh Pirsquare18-May-10 3:43
Suresh Pirsquare18-May-10 3:43 
AnswerRe: Timeout Problem Pin
Sandeep Mewara15-May-10 18:56
mveSandeep Mewara15-May-10 18:56 
QuestionHow to e-mail 404 errors Pin
Larry Antram14-May-10 14:06
Larry Antram14-May-10 14:06 
AnswerRe: How to e-mail 404 errors Pin
Larry Antram15-May-10 9:23
Larry Antram15-May-10 9:23 
QuestionPlease give me answer Pin
indian14314-May-10 12:10
indian14314-May-10 12:10 
AnswerRe: Please give me answer Pin
Dr.Walt Fair, PE14-May-10 12:39
professionalDr.Walt Fair, PE14-May-10 12:39 
GeneralRe: Please give me answer Pin
indian14314-May-10 12:59
indian14314-May-10 12:59 
GeneralRe: Please give me answer Pin
Dr.Walt Fair, PE14-May-10 13:09
professionalDr.Walt Fair, PE14-May-10 13:09 
GeneralRe: Please give me answer Pin
Not Active14-May-10 15:43
mentorNot Active14-May-10 15:43 
GeneralRe: Please give me answer Pin
indian14314-May-10 16:02
indian14314-May-10 16:02 
QuestionChanging the style sheet for a asp content page based on the version of IE (javascript?) Pin
Steve Holdorf14-May-10 6:46
Steve Holdorf14-May-10 6:46 
AnswerRe: Changing the style sheet for a asp content page based on the version of IE (javascript?) Pin
Brij14-May-10 7:54
mentorBrij14-May-10 7:54 
AnswerRe: Changing the style sheet for a asp content page based on the version of IE (javascript?) Pin
Steve Holdorf15-May-10 6:08
Steve Holdorf15-May-10 6:08 
QuestionSingleton Pattern Pin
Brendan Vogt14-May-10 5:36
Brendan Vogt14-May-10 5:36 
AnswerRe: Singleton Pattern Pin
Brij14-May-10 7:56
mentorBrij14-May-10 7:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.