Easy way to select numerical data from MySQL table

I’ll explain this using a example,


Lets thing we have table called EMP and column called SALARY.
Now suppose there are numerical data and string data in the SALARY column. (ex: 12000, 25000, not available, null…)
For this kind of columns we can use following method to select only numerical data;


SELECT SALARY FROM EMP WHERE (SALARY+0)!=0;

Things that Microsoft could Never Explain….!!!

This is pretty funny and awesome…
————————————————————————————————————-
MAGIC 1


An Indian found that nobody can create a FOLDER anywhere on the Computer which can be named as “CON”. This is something funny and inexplicable? At Microsoft the whole Team, couldn’t answer why this happened! TRY IT NOW, IT WILL NOT CREATE A “CON” FOLDER


————————————————————————————————————-

MAGIC 2


For those of you using Windows, do the following:


1.) Open notepad application
2.) Type “Bush hid the facts” (without the quotes)
3.) Save it as whatever you want.
4.) Close it, and re-open it.


Noticed the weird bug? No one can explain!


————————————————————————————————————-

MAGIC 3


Again this is something funny and can’t be explained? At Microsoft the whole Team, including Bill Gates, couldn’t answer why this happened!


It was discovered by a Brazilian. Try it out yourself?


Open Microsoft Word and type


=rand (200, 99)




And then press ENTER
And see the
magic…! 



————————————————————————————————————-

Magic 4 
  
Did you know that a flight number from one of the planes that hit one of the two WTC towers on 9/11 was Q33 NY. In Notepad / WordPad or MS Word, type that flight number i.e Q33 NY. Increase the font size to 72. Change the font to Wingdings. ….. u will be amazed by the findings!!!



————————————————————————————————————-





Brief introduction about Asterisk

Asterisk is a software that use to handle voice communications. It is created in 1999 by Mark Spencer of Digium.
Normally its installed as a server and attached telephones to make calls to one another, and to connect to other telephone services including the public switched telephone network (PSTN) and Voice over Internet Protocol (VoIP) services.
IP PBX systems, VoIP gateways and conference servers are same of application that we can develop using Asterisk. It is used by small businesses, large businesses, call centers, carriers and governments worldwide. I’m not going to describe about these application but if you are not familiar with this application, then you can simply search them on Wikipedia.
It is a free opensource software and originally design for Linux. But now Asterisk also runs on a variety of different operating systems including NetBSD, OpenBSD, FreeBSD, Mac OS X, and Solaris. And it is available for Microsoft Windows as AsteriskWin32. But still it is most stable on Linux and recommended OSs are Debian, Fedora, CentOS. And also other Linux OSs like Gentoo, SuSE, Mandrake and Slackware.

How to recover hidden data in your pen driver

  1. go to the cmd (press Window key + R -> type “cmd” -> press Enter)
  2. go to your pen drive by type “:” (eg: C:\>f:)
  3. take a view of all hidden file in your pen by typing “dir /ah” (eg f:\>dir /ah)
  4. type “attrib [name of file/folder] -r -a -s -h”
  5. type “attrib -r -a -s -h” to unhide the file (attrib test.txt -r -a -s -h)
  6. if the file name is longer than 6 charactors, the type like this, “attrib filena~1 -r -a -s -h” (filename.txt is the file name)
  • Use this command “attrib -s -h -r f:\*.* /s /d” to solve your problem in once for all file and folders (f: is the pen diver)
%d bloggers like this: