Sign in
|
Join
|
Help
Bonski's Box
A Filipino Developer Repatriated
This Blog
Home
Contact
About
Syndication
RSS for Posts
Atom
RSS for Comments
Search
Go
Tags
ASP.NET
Castle Documentation
CodeMash
Conditional Calculation Excel
Contest
Data Type Precedence
errors
Expressions Studio
fresh start
ironruby
Key Combination wierdness
Launcher
Launchy
Metric Report
MVC
Paypal for PH
reboot
Sql Server
StatSvn
SubVersion
Technology
Tips
T-Sql
UX tips SQL Server SSMS
Winforms
Community
Home
Blogs
Media
Forums
Groups
Email Notifications
Go
Archives
May 2009 (2)
November 2007 (1)
September 2007 (1)
June 2007 (1)
April 2007 (3)
March 2007 (1)
February 2007 (2)
January 2007 (1)
December 2006 (3)
November 2006 (3)
October 2006 (1)
September 2006 (1)
August 2006 (1)
June 2006 (2)
March 2006 (1)
February 2006 (3)
Developer Links
Scott Mitchell's 4 Guys From Rolla
Fritz Onion's Blog
Nikhilk Kothari's Site
Scott Guthrie
Oren Eini (Ayende Rahein)
Personal Blog
Bonski's Personal (Friendster Blog)
Browse by Tags
All Tags
»
T-Sql
(
RSS
)
Data Type Precedence
NBSP
Non breaking space
Sql Server
Tips
05-21-2009 2:36 AM
Trimming that "untrimmable space"
UPDATE : It seems Community Server stripped the actual CHAR(160) in @someStringWithPad, just so that it will be contrived append CHAR(160) at the @someStringWithPad variable. ;) Ever experienced trying the following code to trim a seemingly "space"...
Posted by
bonskijr
| with
no comments
Filed under:
T-Sql
,
Sql Server
,
Tips
,
NBSP
,
Non breaking space
04-17-2007 5:09 PM
Sql Server Data Type Precedence : Redux
Previously jokiz bloged about this one , I'd like to add further. The same issue cropped up again in the forums although not the exactly the same as jokiz's experience, this one could really give you hours of head scratching. Previously I was amazed that...
Posted by
bonskijr
|
3 comment(s)
Filed under:
T-Sql
,
Sql Server
,
Tips
,
Data Type Precedence
12-10-2006 9:47 AM
Sql Server 2005 Tip:Implicit Conversion of bit data types
Didn't you know that the following statement is now valid for Sql Server 2005 as criteria for a column with bit data type? SELECT * FROM Orders WHERE Processed = 'true' The engine is now intelligent enough to implicitly convert it to SELECT * FROM Orders...
Posted by
bonskijr
|
2 comment(s)
Filed under:
T-Sql
,
Sql Server
,
Tips
06-04-2006 2:31 PM
Quick Tip: Character pad right a number
I have been dependent on the pad functions since the clipper days as it helped alot on formatting fixed length ids(invoice no., receipt no., etc.) Although I think the only purpose of formatting a number to fixed length precedeed by (usually) a zero is...
Posted by
bonskijr
| with
no comments
Filed under:
T-Sql
02-16-2006 3:21 AM
Default Values
In VB I just love optional parameters, it's a shame that C# doesn't have that feature(instead of overloading methods of different parameters.) In T-Sql we can simulate this optional parameters in our stored procedures by using default values......
Posted by
bonskijr
|
13 comment(s)
Filed under:
T-Sql