Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~2K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

7 Posted Topics

Member Avatar for g.prabu

Just solve the thing with a cursor like declare del_dups cursor for select * from <table_name> group by column_name having count(*) > 1 (column_name where the duplicates are) open del_dups fetch next from del_dups into ...... while @@fetch_status <> 0 begin delete from table_name where current of cursor fetch next …

Member Avatar for msi
0
964
Member Avatar for jimshef

This will only work if it finds on result in the query "select @sale_id = sale_id from sale where date_modified < (getdate() +0.02) " It's better to do it with a cursor [code]CREATE PROCEDURE Sale_DeleteSaleTimedOut AS set nocount on DECLARE @sale_id int create del_cursor cursor for select sale_id from sale …

Member Avatar for AaronASterling
0
147
Member Avatar for mexaros

Probably your on a uix/linux host. Just edit the file in a ksh session with vi and use ":set list:" (look for the "^M" and "$" Probably there has been a file transfer where the make up of the file was corrupted. Just use a binairie file transfer to make …

Member Avatar for sls
0
118
Member Avatar for Zangow

Please suplly the original query. I find it a bit hard to imagine what the result must be. The possible sollution solution is a "select ProjectName,extra_data) with a union, where the first sql statement should be "having count(A.UniqueID = 1) and the second should have "select ProjectName ,count(*) from .... …

Member Avatar for Zangow
0
193
Member Avatar for fcaserio
Member Avatar for space1000

Hello, I have a problem with a varchar(15) field. We export this record with a bcp command and I get an new line in the export file from the specific field. When I look at this field then I just see 12 numbers in it. When I do a len …

Member Avatar for space1000
0
115
Member Avatar for ankit_the_hawk

The End.