Viewing 15 posts - 16 through 30 (of 37 total)
1. Drop and re-create indexes
2. Run Peformance monitor and analyze results.
3. Run DTA against those queries.
September 28, 2009 at 7:27 am
1. server 1 & 2 are same cpu,memory,disk.
2. db schema,index same
3. index rebuilded & statistics updated.
4. no lock at both places..
how to check statistics are same at both places?
September 25, 2009 at 2:19 pm
USE DATA1 --DBNAME
GO
CREATE TABLE [dbo].[TABLE1](
[ID1] [int] NULL,
[Desc1] [varchar](50) NULL
) ON [PRIMARY]
USE DATA2 --DB NAME
GO
CREATE TABLE [dbo].[TABLE2](
[ID1] [int] NULL,
[Desc2] [varchar](50) NULL
) ON [PRIMARY]
GO
Here is trigger
CREATE TRIGGER [dbo].[TrigTest]
On...
August 20, 2009 at 1:45 pm
both table have different data ( ~200 rows are different) but some rows are same ( ~100 rows are same) & both dbs are use for 2 different apps.
August 20, 2009 at 12:05 pm
you need to create stage tables in sql database only, and first populate the data in those tables and then finallly load it in excel sheet.
July 31, 2009 at 9:30 am
I want first max date rows of different names?
Date Id Name
2009-04-21 2 East
2009-04-10 2 East
2009-04-19 2 East
2009-04-18 2 East
2009-04-13 2 East
2009-04-20 3 West
2009-04-10 3 West
2009-04-17 3 West
2009-04-16 3 West
2009-04-13...
April 21, 2009 at 11:55 am
I used below query but it is giving multiple records of matching rows.
select
T.TodayDate,
T.MachinePart ,
T.Location,
T.MfgDate,
X.MfgDate as PreviousMfgDate
from Table1 T
LEFT join
Table2 X
on
T.MachinePart = X.MachinePart
AND T.Location =...
April 17, 2009 at 9:24 am
bat files needs to run from local copmuter.
If you are running bat files from another client , make sure that that client machine has bat files on it's local path.
April 10, 2009 at 8:26 am
Viewing 15 posts - 16 through 30 (of 37 total)