Sign in
|
Join
|
Help
Madhivanan
This Blog
Home
Contact
Syndication
RSS
Atom
Comments RSS
Search
Go
Tags
alias name
bcp
behaviour changes
bulk insert
clean data
coalesce
column length
command prompt
Compatibility Level
count
Count words
Crosstab
csv
CTE
cursors
daily backup
data length
data truncation
dynamic crosstab
dynamic PIVOT
empty string
enterprise edition
excel
export data
Export to Excel
export to Text
Extract numbers
fibonacci series
free tool
functions
Generate sql script
GO
Happy Holidays
Happy New Year
header
image
Implicit conversion
import excel
import text file
IP address
ISDATE()
isnull
isnumeric
Migration
multiply
newid()
no references
normalise
Nth Maximum
NULL and joins
number
openrowset
pagination
parsename
parsing
PIVOT
procedure
procedures
Quirky update
random
random numbers
random password
regular expression
Remove duplicates
replace
Replicate
report
row count
Row number
rowcount
sample data
script
search value
semicolon
single quotes
sorting
sp_special_columns
split
sql
sql server
squeeze
store images
Stuff
table backup/restore
table structure
tally number table
tempdb
time
time calculation
Top columns
top n
trigger
Truncate
T-sql
undocumented
undocumented Procedures
union vs union all
view
weekday
WRITE
Navigation
Home
Blogs
Photos
Downloads
Archives
February 2010 (1)
January 2010 (2)
December 2009 (3)
November 2009 (3)
October 2009 (4)
September 2009 (3)
August 2009 (3)
July 2009 (2)
June 2009 (2)
May 2009 (3)
April 2009 (3)
March 2009 (4)
February 2009 (2)
January 2009 (1)
December 2008 (3)
November 2008 (3)
October 2008 (1)
September 2008 (5)
August 2008 (3)
July 2008 (3)
June 2008 (1)
May 2008 (2)
April 2008 (2)
March 2008 (1)
February 2008 (2)
January 2008 (2)
December 2007 (6)
November 2007 (7)
October 2007 (4)
September 2007 (1)
August 2007 (17)
Browse by Tags
All Tags
»
NULL and joins
(
RSS
)
sql server
T-sql
24 December 2008 10:24
NULL on joined columns
You know that NULL values on joined columns are omitted from comparision when tables are joined Consider this example Declare @t1 table ( col1 int , col2 varchar ( 10 )) insert into @t1 select 1 , 'test1' union all select 2 , 'test2' union...
Posted by
Madhivanan
| with
no comments
Filed under:
sql server
,
T-sql
,
NULL and joins