Re: SET ANSI_NULLS OFF
From: Uri Dimant (urid_at_iscar.co.il)
Date: 10/14/04
- Next message: Roji. P. Thomas: "Re: SQL Stored Procedure"
- Previous message: Mal .mullerjannie_at_hotmail.com>: "Re: SQL Stored Procedure"
- In reply to: ggeshev: "SET ANSI_NULLS OFF"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 14 Oct 2004 12:56:45 +0200
Hi
What would you expect to get back?
Read SET ANSI_NULLS article (with many examples ) in the BOL
"ggeshev" <ggeshev@tonegan.bg> wrote in message
news:%23OyoYtdsEHA.2664@TK2MSFTNGP12.phx.gbl...
> Hello !
>
> I've got two tables :
>
> create table T1 (
> a int primary key not null,
> b int
> )
>
> go
>
>
> create table T2 (
> a int primary key not null,
> b int
> )
>
> go
>
>
> insert into t1 values (1, null)
> insert into t2 values (2, null)
>
>
> Why the following query does not return anything?
>
>
> set ansi_nulls off
> go
>
> select t1.a, t2.a
> from t1
> inner join t2
> on t1.b = t2.b
>
>
> Thank you!
>
>
- Next message: Roji. P. Thomas: "Re: SQL Stored Procedure"
- Previous message: Mal .mullerjannie_at_hotmail.com>: "Re: SQL Stored Procedure"
- In reply to: ggeshev: "SET ANSI_NULLS OFF"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|