Re: drop / create table
От: Andy_MAN Россия  
Дата: 22.01.04 08:04
Оценка:
Здравствуйте, KetchUp Inside aka Zig, Вы писали:

KIA>MSSQL2K

KIA>вот такой запрос:

KIA>
KIA>if ( SELECT OBJECT_ID('tempdb..#t1') ) is not null
KIA>drop table #t1

KIA>create table #t1 (Дата datetime, Товар int, КолОптРос numeric(15, 4))
KIA>create index ix_t1_date on #t1(Дата)
KIA>create index ix_t1_good on #t1(Товар)

Попробуй вставить здесь GO

KIA>if ( SELECT OBJECT_ID('tempdb..#t1') ) is not null
KIA>drop table #t1

KIA>create table #t1 (Дата datetime, Товар int, КолОптРос numeric(15, 4))
KIA>create index ix_t1_date on #t1(Дата)
KIA>create index ix_t1_good on #t1(Товар)
KIA>
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.