Здравствуйте, KetchUp Inside aka Zig, Вы писали:
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(Товар)
KIA>if ( SELECT OBJECT_ID('tempdb..#t1') ) is not null
KIA>drop table #t1
GO
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>