Viewing 15 posts - 15,391 through 15,405 (of 22,219 total)
It's probably not an issue. Take a look at this Connect entry.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2010 at 6:48 am
Dohsan (4/23/2010)
--Create Our Varchar Date Test Table
IF OBJECT_ID(N'Tempdb..#D', N'U') IS NOT NULL
DROP TABLE #D
GO
CREATE TABLE #D
(
IDINT IDENTITY(1,1),
DateVARCHAR(8)
PRIMARY KEY CLUSTERED (ID)
);
INSERT INTO #D (Date)
SELECT '20100422'...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2010 at 6:42 am
Are you looking for something like this:
CREATE TABLE dbo.x
(nodatetime NVARCHAR(50));
INSERT INTO dbo.x
(x.nodatetime)
VALUES ('5/5/05')
,('4/4/04')
,('3/3/zz');
UPDATE dbo.x
SET x.nodatetime = NULL
WHERE ISDATE(x.nodatetime) = 0;
SELECT * FROM dbo.X;
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2010 at 6:41 am
trivedi.nikesh (4/23/2010)
I am heartily thankful to you. I will apply your suggested measures.
Please correct me if I am wrong
Reason behind Query is not performing good due to (in case...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2010 at 6:19 am
ajrendall (4/23/2010)
Thanks for all the comments, much of what everyone has said has confirmed my suspicions. Basically I'm going to try a few tests with some large tables and see...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2010 at 6:18 am
Then try to the SQL Agent. That will only run after SQL Server has completed it's startup.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2010 at 5:41 am
Adam Machanic (4/22/2010)
CirquedeSQLeil (4/22/2010)I am really awe struck still at the comprehensive plagiarism on that site. Steve should also say something since SSC has the rights to some of...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2010 at 5:29 am
CirquedeSQLeil (4/22/2010)
Jack Corbett (4/22/2010)
Paul White NZ (4/22/2010)
I just love the following article!http://www.hyderabadtechies.info/index.php/articles/39-articles/747-hyderabad-techies-article
Wish I had thought of it :doze:
The author 'kaustavm' is clearly one to watch 😉
I'm pretty sure this is...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2010 at 5:24 am
Paul White NZ (4/22/2010)
I just love the following article!http://www.hyderabadtechies.info/index.php/articles/39-articles/747-hyderabad-techies-article
Wish I had thought of it :doze:
The author 'kaustavm' is clearly one to watch 😉
Don't spare him/her, not even a little bit.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2010 at 5:22 am
What you might be seeing is the Business Intelligence Design Studio (BIDS), which is basically all the tools needed to create SSIS packages and SSAS cubes and is run through...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 22, 2010 at 5:53 pm
Have you tried setting the procedure to run using sp_procoption? That will enable a procedure to run when SQL Server starts up. You can also schedule jobs to run when...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 22, 2010 at 5:50 pm
Dan.Humphries (4/22/2010)
How would writing 20 Million rows to a temp table not be part of the problem even with the for-mentioned query problems. I would be very surprised...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 22, 2010 at 4:18 pm
CirquedeSQLeil (4/22/2010)
Alvin Ramard (4/22/2010)
CirquedeSQLeil (4/22/2010)
Grant Fritchey (4/22/2010)
Alvin Ramard (4/22/2010)
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 22, 2010 at 4:12 pm
Temp table or not, this code:
((LTRIM(RTRIM(lt.name))
Is going to kill your performance. It's going to prevent any indexes on the tables from being used and you'll see nothing but table...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 22, 2010 at 1:16 pm
yoacer (4/22/2010)
I need to find a different solution Dynamic SQL is not what I want, I want another kind of solution even if I need to create a filter...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 22, 2010 at 10:41 am
Viewing 15 posts - 15,391 through 15,405 (of 22,219 total)