Viewing 15 posts - 346 through 360 (of 530 total)
BlueIvy, that is a common problem when you have Performance monitor open and you are currently monitoring that instance. A restart of...
June 13, 2005 at 3:36 am
One idea could be to use a tmp table where you insert your result from your inner join and then delete the results you do not want...
June 7, 2005 at 10:29 am
Hello!
Yes, of course you can!
Example: bcp "SELECT * FROM Northwind.dbo.Products WHERE UnitsInStock <= 10 " queryout myOutFile.DAT -T -SmyDBServer -n
Happy computing!
Hanslindgren
June 7, 2005 at 10:23 am
Okay, then I see. But you say you have a production server 24/7 with bad development happening? What are the developers doing in the production DB in such an enviroment?...
June 7, 2005 at 10:14 am
Ciao tjaybelt.
Have I missed something? But why are you comparing the values to yesterdays values when you are checking the fragmentation level?
June 7, 2005 at 9:42 am
Or just open up BOL, goto the DBCC SHOWCONTIG help and Copy and Paste the code under E. Use DBCC SHOWCONTIG and DBCC INDEXDEFRAG to defragment the indexes in a...
June 7, 2005 at 2:50 am
Hello!
I think we are not seeing the forest because of all the trees Why not ask your developers to NOT drop and recreate...
May 10, 2005 at 7:40 am
SQL Server 2000 does support partitioning, but not in the Oracle sense (yet).
In SQL Server partitioning consists of one table for every partition, a check constraint (OBS be sure to NOT create the constraint with...
May 6, 2005 at 10:14 am
Could it be a bug? I have heard about some deadlock issues with DISTRIBUTED partitioned views. That the underlying provider is doing something extra in a bad way.
//Hanslindgren
May 6, 2005 at 10:08 am
I definitly agree with David, using a view would solve your problem in a fast and very simple way.
//Hanslindgren
May 6, 2005 at 7:06 am
Why not partition it monthly?
I.e create one table per month, create a check constraint on the table that restricts the data and gives a HUGE performance gain, create a VIEW that...
May 6, 2005 at 7:00 am
If the table does not exist I would:
SELECT TOP 0 *
INTO NewTableName
FROM TableName
INSERT INTO NewTableName
SELECT *
FROM TableName
(There are annoying locks being held in tempdb (That blocks/hangs for example SQL Enterprise...
April 12, 2005 at 7:40 am
Hello!
There is a great tool the is called XSD (.exe) that comes with the .NET Framework...
Happy hunting! Hanslindgren
March 30, 2005 at 8:39 am
- Range Scans and Inserts
If your table contains a huge amout of columns your range scans can be very costly and in some cases Non Clustered indexes can be beneficial.
(Inserting into a...
March 30, 2005 at 8:05 am
Viewing 15 posts - 346 through 360 (of 530 total)