Archive for March, 2009

Difference of between CHAR and VARCHAR

Posted in MySQL on March 25, 2009 by myleskadusale

CHAR is a fixed-length character data type while VARCHAR is a variable-length character data type.

Because CHAR is a fixed-length data type, the storage size of the CHAR value is equal to the maximum size for this column. Because VARCHAR is a variable-length data type, the storage size of the VARCHAR value is the actual length of the data entered, not the maximum size for this column.

You can use CHAR when the data entries in a column are expected to be the same size.
You can use VARCHAR when the data entries in a column are expected
to vary considerably in size.

Advertisements

Count Duplicate Records

Posted in SQL with tags , , , on March 25, 2009 by myleskadusale

SELECT YourColumn, COUNT(*) TotalCount
FROM YourTable
GROUP BY YourColumn
HAVING COUNT(*) > 1
ORDER BY COUNT(*) DESC

I got this from SQL Authority Blog

Links

Posted in Uncategorized with tags , on March 18, 2009 by myleskadusale

Fatburgr
If you want to check out nutrition facts on the menu of the popular restaurants

DabbleBoard
Is an online collaboration application that’s centered around the whiteboard

ThatsMyFace
Free online facial analysis as well as FaceStatues, which are glass or resin statuettes custom-made from your face

Vector Magic
Free conversion of your pictures to vector images

http://www.mycoolbutton.com/
http://www.flowchart.com/
http://www.splashup.com/
http://www.abeltronica.com/velocimetro/pt/index.php?idioma=uk
http://www.mibbit.com/chat/