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
To Convert set of RPM to DEB
Handling of GET/POST values in PHP
Err: Unlock Login Keyring in Ubuntu 11.10 problem
Misc SQL's
Type Cheking
Flash Builder 4
Configure Apache Solr in Tomcat
Bulk rename using bash rename command
Internet Images
Download cached flash videos of Firefox and Chrome in Linux(Ubuntu)
No comments:
Post a Comment