Geeks With Blogs
Ben Adler's Development Posting solutions as I find them SQL
SQL Specific Order By
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; ......

Posted On Monday, June 6, 2011 1:53 PM

SQL Convert to Date if possible
-- use this case statement to convert a value (column) to a date in the format mm/dd/yyyy. If converting to a date is not possible, the column will be null select case when isdate(value) =1 then convert(varchar,convert(dat... value, 101), 101) end as [Date] from MyTable ......

Posted On Friday, May 6, 2011 3:16 PM

SQL Functions for Numeric Only, Alpha Only, and Alpha Numeric Only Characters
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; ......

Posted On Thursday, April 21, 2011 4:18 PM

Copyright © BenAdler | Powered by: GeeksWithBlogs.net | Join free