Viewing 12 posts - 1 through 12 (of 12 total)
Since one of the tables will be dropped, I've decided to use
IF OBJECT_ID (N'dbo.tableA') IS NOT NULL
/*
--run code here to
exec usp_B to create my tableB add all data and...
April 9, 2010 at 3:16 am
Paul White( wrote
USE tempdb;
GO
CREATE TABLE dbo.A (a INT NOT NULL);
CREATE TABLE dbo.B (b INT NOT NULL, c INT NOT NULL);
GO
INSERT dbo.A (a) VALUES (1);
INSERT dbo.B (b,...
April 8, 2010 at 2:23 am
Jeff Moden (7/04/2010)
There's still a way even in SQL Server 2000. Long before synonyms, we used "pass through views" which are nothing more than a view that does a select...
April 7, 2010 at 9:29 am
Hi,
Jeff Moden(06 April 2010)
For the maximum speed, though, I'd maintain "two" main tables. One would be "online" and have a synonym pointed to it and the other one would be...
April 6, 2010 at 3:23 am
First, thanks folks for the great responses.
Rob Schripsema wrote
If you're talking about a non-clustered index, I think I would drop the index after truncating the table, then import the new...
April 5, 2010 at 6:49 am
Hi Bhuvnesh, Thanks for responding
you wrote:
The indexes will help on main table in reportting so rebuilding can be done after importing
but why do you want to rebuild indexes after...
March 24, 2010 at 6:40 am
Cheers for the responses folks
March 22, 2010 at 3:03 pm
Thanks Jeff
Yeah, that's fair enough... Once I've got enough info and still believe I need help I'll post all the info necessary to receive help.
Cheers
March 12, 2010 at 3:27 am
Thanks for the response Jeff.
I take it when you mean not doing it all in one, but do it in batches within one job?
Edit:
Actually, about pre-aggregating, I'm a little confused...
March 10, 2010 at 4:55 am
Thanks Arjun, this advice will help with implementation.
Cheers
March 9, 2010 at 4:21 am
Viewing 12 posts - 1 through 12 (of 12 total)