ac senthilkumar's blog
________________________________________________________________________________________
Monday, November 10, 2008
Sorting of Alphanumeric Column
select x, cast (substring(x,'[0-9]+') as int) as y from test order by y,x
Here
x
is field name and regular expression is used to filter
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Popular Posts
Internet Images
Tips - Javascript
Type Cheking
Misc SQL's
Flash Builder 4
Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
Err: Unlock Login Keyring in Ubuntu 11.10 problem
To Convert set of RPM to DEB
quicktime demuxer not found in Ubuntu 11.10
Err: Install the XSL module (recommended for Propel) ...
No comments:
Post a Comment