> Providing you don't want the data, you could do this.
>
[quoted text clipped - 9 lines]
>> Thanks,
>> Martin
SQL creates the table before it checks to see if 1=2 :) In a parallel
universe, it may...

Signature
Jason Massie
www: http://statisticsio.com
rss: http://feeds.feedburner.com/statisticsio
> That's a really neat trick! Why does the table creation happen regardless
> of whether there is data inserted?
[quoted text clipped - 15 lines]
>>> Thanks,
>>> Martin
Uri Dimant - 05 Mar 2008 06:17 GMT
This technique does not create PK,FK on target table
> SQL creates the table before it checks to see if 1=2 :) In a parallel
> universe, it may...
[quoted text clipped - 18 lines]
>>>> Thanks,
>>>> Martin
Atenza - 05 Mar 2008 08:54 GMT
thx all
this is useful to create temp table for checking
> This technique does not create PK,FK on target table
>
[quoted text clipped - 20 lines]
>>>>> Thanks,
>>>>> Martin