Viewing 15 posts - 1 through 15 (of 23 total)
Found the issue and fixed it.
It was a corrupt ResourceDB database. It's not one I had a backup of. I had another server at the same build and...
December 3, 2018 at 6:01 am
You could have also included the over clause in those count examples, e.g.
SELECT DISTINCT Column1,COUNT(*) OVER (PARTITION BY Column1 ORDER BY Column1) FROM #TmpCounts;
SELECT DISTINCT Column1,COUNT(*) OVER...
February 21, 2018 at 5:28 am
Thank you for the quick response. The example you provided works great. So I've tweaked it to update my test table which has about 2.5million rows. It's...
March 11, 2013 at 10:17 am
Failover, Restore and Repair
I think one has been forgotten, and it's one that's not to be taken likely because you have to know your data. This method is Reconstruction.
Sometimes,...
January 29, 2013 at 4:34 am
I found some info on the Latin Small Ligature œ in books on-line and it appears to be conversion issue with sql colations and code pages. Seeing as I...
April 1, 2011 at 4:12 am
I think Dinosaur comics summed up failure best with
Failure: it's just success rounded down
which is a healthy way to look at it.
March 31, 2011 at 5:36 am
I had exactly the same problem with my network card on my home pc last month. It had somehow been configured to auto negotiate at 100mbps. The internet...
December 24, 2010 at 4:11 am
how about...
DECLARE @string VARCHAR(20)
SELECT @string = 'ABC DEFGH'
select @string = replace(@string,' ','')
select @string = substring ( @string, 1,(len(@string)-3)) + ' ' +
substring ( @string, (len(@string)-2),3 )
select @string
October 14, 2009 at 4:44 am
Document - Assemblage23
Circle of the Tyrants - Celtic Frost
White Room - Cream
Looking for Strange - KMFDM
Stalkers - Mind.In.A.Box.
Be The Hero - O.S.I.
Travel - The Gathering
Fearless - VNV Nation
One Day Remains...
July 7, 2009 at 7:44 am
you could try this, it's a bit crude but works...
declare @string varchar(50)
SET @string = 'ABCDEFGHIJ123'
select reverse ( substring ( reverse ( @string ) , 1 , 3 ) )
June 18, 2009 at 3:43 am
Saying a project is a success just because you did everything that was asked of you is arrogant. Saying that your work/ development & implentation of the specification on...
February 28, 2008 at 5:09 am
Hi,
I'm sure there's a better way of doing this using joins but this is all I can come up with for now:
set nocount on
create table #test1 (accno varchar(50))
create table #test2...
August 21, 2006 at 10:05 am
Viewing 15 posts - 1 through 15 (of 23 total)