I am looking for an sql script which can select all fields in a database which are of a particualr datatype.

I have looked all over stack overflow and various pages i have found in google but yet no avail!

Maybe I am looking in the wrong places.

Any ideas?