Re: Temp Table
From: Cristian Babu (cristian.babu_at_softwaresolutions.ro)
Date: 09/09/04
- Next message: Ketan Patel: "Re: Temp Table"
- Previous message: Gabriel: "Re: Temp Table"
- In reply to: Justin Drennan: "Temp Table"
- Next in thread: Itzik Ben-Gan: "Re: Temp Table"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Sep 2004 11:34:19 +0200
try this:
select cast(1 as int) as col1, cast(null as char(1)) as col2 into #t
hth,
Cristian Babu
"Justin Drennan" <justin@none.com> wrote in message
news:Z8OdndnUeLvLjt3cRVn-qw@is.co.za...
> How do I specify the field type when creating a temp table?
>
> (I am doing a Select into statement)
>
> Thanks
>
>
- Next message: Ketan Patel: "Re: Temp Table"
- Previous message: Gabriel: "Re: Temp Table"
- In reply to: Justin Drennan: "Temp Table"
- Next in thread: Itzik Ben-Gan: "Re: Temp Table"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|