Viewing 15 posts - 1 through 15 (of 314 total)
Please refer this post that can work for any table
https://exploresql.com/2019/12/14/how-to-find-fill-rate-in-a-table/
December 18, 2019 at 12:45 pm
Very nice and informative Dwain Camps 🙂
July 4, 2012 at 2:46 am
select M.*,t.TypeOfAnimal from #Master as m inner join #test1 as t on ', '+t.Animal +', ' like '%, '+m.TypeOfAnimal+', %'
June 21, 2011 at 3:13 am
If you use versions prior to 2005, you need to use dbcc updateusage to get accurate count
January 28, 2011 at 12:07 am
More methods are available here
http://beyondrelational.com/blogs/madhivanan/archive/2008/09/12/return-top-n-rows.aspx
December 6, 2010 at 2:29 am
Why are you worrying about GAPs when using identity column?
September 8, 2010 at 7:18 am
kichravishankar1 (9/8/2010)
Printing Invoice in Different Design in Tally ERP 9:
What is this? 😉
September 8, 2010 at 4:12 am
Gordon Barclay (9/8/2010)
SELECT *
FROM tablea a
WHERE a.value ='xxx'
OR a.EndDate < '24/08/2010'
AND a.EndDate = '24/08/2010'
...
September 8, 2010 at 2:13 am
Is the cell formatted? If so, remove any formation and try again
September 8, 2010 at 1:46 am
Jeff Moden (9/7/2010)
Madhivanan-208264 (9/7/2010)
Have a million row table and do running total using a triangular join
select col,
(select sum(col) from table as t1 where t1.pkcol<=t2.pkcol) as run_sum
from table as t2
Heh... ya...
September 8, 2010 at 1:23 am
Make sure to read this fully
September 7, 2010 at 8:36 am
Another method
select * from #GermanURLs
where charindex('%',SourceURL)>0
September 7, 2010 at 8:25 am
Test it
select stuff('test',1,1,SPACE(0))
September 7, 2010 at 7:24 am
Viewing 15 posts - 1 through 15 (of 314 total)