Home   Wordpress   Log in

Archive for August, 2006

What is up with Google?

August 30th, 2006 by admin | No Comments | Filed in .NET, Database, Misc, Mobile, WebSites

I have and will continue to give live.com search a chance; but, it seems everytime I search for something, it does not return what I am looking for… Anyway… The main reason for this post.

Why on earth did Google remove the Groups search from the main list of ways to search. Now I have to click more ยป.  I use groups search all the time to find solutions to programming, database, and compact framework issues. The best way to learn is from someone that has felt your pain. So here is my plea…

Google, please put Groups search back in the main search type list…

Pretty please…

Or at least, make it so I can customize it for my preference…

Chris Craft’s Blog

August 25th, 2006 by admin | No Comments | Filed in Misc, Personal, WebSites

Boy… when I said earlier that he had started back blogging… I had no idea.

He just hit his 14th posting this month. This ties his his largest posting month ever. With one more… He will break his record.

Histograms in TSQL

August 24th, 2006 by admin | No Comments | Filed in .NET, Database, Mobile

Histograms: In statistics, a histogram is a graphical display of tabulated frequencies. That is,a histogram is the graphical version of a table which shows what proportion of cases fall into each of several or many specified categories. The categories are usually specified as nonoverlapping intervals of some variable. Source: en.wikipedia.org/wiki/Histograms

Now that we know what it is…

Here is an example:

SELECT poh.PurchaseOrderID
   
, ‘ItemsOnPO’ = REPLACE(SPACE(COUNT(*)), ‘ ‘, ‘*’)
FROM Purchasing.PurchaseOrderHeader poh
INNER JOIN Purchasing.PurchaseOrderDetail pod
   
ON pod.PurchaseOrderID = poh.PurchaseOrderID
WHERE poh.PurchaseOrderID <= 10
GROUP BY poh.PurchaseOrderID>

Notice the field ItemsOnPO: This will show the COUNT of line items as “*”, not simply numbers.

Results:
PO   Qty
1    *
2    **
3    *
4    *
5    *
6    *
7    ***
8    *****
9    *****
10   ***

>

GROUP BY ALL???

August 24th, 2006 by admin | No Comments | Filed in .NET, Database, Mobile

Ok, this was a new one for me. I was reading my copy of SQL Server Magazine the other night and found this. Itzik Ben-Gan wrote the article and I wish he had a Blog for me to read. He always writes very good stuff.

So, that being said… What is the “ALL”???

Here is the word from good ole’ F1 (help)

“If you use ALL, the query results include all groups produced by the GROUP BY clause, even if some of the groups have no rows that meet the search conditions. Without ALL, a SELECT statement that includes GROUP BY does not show groups for which no rows qualify.”

VERY BIG NOTE (Also from Help) 
GROUP BY ALL will be removed in a future version of Microsoft SQL Server. Avoid using GROUP BY ALL in new development work, and plan to modify applications that currently use it.

So, use at you own risk, but still is very cool:

Example using AdventureWorks Db:

SELECT ‘PurchaseOrders’=COUNT(*)
   
, emp.LoginID
FROM Purchasing.PurchaseOrderHeader poh
INNER JOIN HumanResources.Employee emp
   
ON poh.EmployeeID = emp.EmployeeID
WHERE poh.OrderDate BETWEEN ‘1/1/2001′ AND ‘12/31/2001′
GROUP BY emp.LoginID>

Results:
1 adventure-works\eric2
1 adventure-works\erin0
1 adventure-works\frank2
1 adventure-works\fukiko0
1 adventure-works\gordon0
1 adventure-works\linda2
1 adventure-works\mikael0
1 adventure-works\reinout0

Now with the ALL keyword: (Change group by line)
GROUP BY ALL emp.LoginID

>>Results:
0 adventure-works\annette0
0 adventure-works\arvind0
0 adventure-works\ben0
1 adventure-works\eric2
1 adventure-works\erin0
1 adventure-works\frank2
1 adventure-works\fukiko0
1 adventure-works\gordon0
1 adventure-works\linda2
1 adventure-works\mikael0
1 adventure-works\reinout0
0 adventure-works\sheela0

FreeUndelete 2.0

August 21st, 2006 by admin | No Comments | Filed in Misc, Software

It seems like I always get calls from friends that delete files accidentally from their camera’s SD/ Compact Flash cards… So… Here is a free piece of software to assist in getting the pictures back.

It works pretty good… Oh… did I mention it was free…

http://www.officerecovery.com/freeundelete/index.htm

Great Freeware RSS Feed Reader

August 21st, 2006 by admin | No Comments | Filed in Misc, Software, WebSites

RSS Popper is a free feed (RSS, RDF, Atom) reader that has something that most free readers do not… Outlook integration. It is what I use and I highly recomend it.

http://rsspopper.blogspot.com/2004/10/home.html

Free Baseball Simulation Game

August 21st, 2006 by admin | No Comments | Filed in Software, Sports

Sports Mogul 2005 is free… Yeah, I know… it is a 2005 version… but, it is still free!

Download Page

Windows Live Writer

August 16th, 2006 by admin | No Comments | Filed in .NET, Database, Design, Misc, Personal, Software, WebSites

Ok, this is very cool. If you are reading this; this post was posted using one of Microsoft’s latest toys… Windows Live Writer. Note: It allows posting to sites other than just Live Spaces. I use dasBlog for my blog, but it posts to others such as Community Server, Word Press, Live Journal, etc…

Some cool things are the Microsoft Word look, spell check, save as draft (which dasBlog does not have currently). It is in Beta, but looks very nice and it’s free.

Good to see

August 16th, 2006 by admin | No Comments | Filed in .NET, Database, Design, Mobile, Personal, Software, WebSites

Chris Craft and Page Brooks appear to be actively blogging again. That is great to see; they have so much knowledge to share.

Both have four posts in the past three days!!!

Chris Craft: cjcraft.com
Page Brooks: explosivedog.com

If you have not downloaded Page’s latest application from his website, you probably need too. It allows you to right click a file and copy the entire path of the file to the clipboard. Way cool!!! I have already used it quite a bit in the past two days.

Wonder why my computer is running soooo slow…

August 10th, 2006 by admin | No Comments | Filed in .NET, Database, Misc, Mobile, Software

Maybe I need to schedule a daily defrag… Ya think….

Download Full Movie Online Hytrin Astérix le Gaulois download movie Close Encounters of the Third Kind download movie Ginger Snaps: Unleashed download movie Back to the Future Part II download movie Awakenings download movie Electric Dreams download movie The Crow: Salvation download movie Tarnation download movie Soleil rouge download movie Darkman download movie Whirlwind download movie The hunchback download movie Life stinks download movie Charlie s angels: full throttle download movie Man to man download movie Music and lyrics download movie