Viewing 15 posts - 9,091 through 9,105 (of 10,144 total)
GilaMonster (12/18/2008)
Ah. I thought that the end of the dynamic SQL would mean that the last reference to the global temp table was gone.
BOL doesn't make it clear - at...
December 18, 2008 at 8:30 am
Mark Shvarts (12/18/2008)
December 18, 2008 at 8:06 am
Hi Shaun
Wasn't this a qotd earlier in the year?
INSERT INTO table Default Values
December 18, 2008 at 8:02 am
dhanasekar.palani (12/18/2008)
That is the whole query. You are right it hits the performance. can you give some idea to write in the condition instead as a case statement.
Yep, move the...
December 18, 2008 at 7:57 am
Can you post the whole statement? It's unlikely that the CASE construct - as you've posted it - will cause much of a performance hit.
December 18, 2008 at 7:45 am
dongadoy (12/18/2008)
December 18, 2008 at 7:43 am
GilaMonster (12/17/2008)
December 18, 2008 at 7:29 am
Can you post some sample data please Fred? The link in my sig will explain how to do this.
Many thanks
ChrisM
December 18, 2008 at 6:48 am
Ninja's_RGR'us (12/18/2008)
And there I was thnking you knew everything about everything ;). Now that dream is gone for me.
There I was thinking you dreamed about SQL Server, and all...
December 18, 2008 at 6:45 am
sar_kan25 (12/18/2008)
Some of the records in the table contain null values.
Now i want to write the select query which will give...
December 18, 2008 at 5:14 am
Join table1 twice...
SELECT...
FROM table2 t2
INNER JOIN table1 y ON y.coulmn3 = t2.column4 AND y.column2='Y'
INNER JOIN table1 n ON n.coulmn3 = t2.column4 AND n.column2='N'
GROUP BY...
If this fails because of the aggregate,...
December 18, 2008 at 4:20 am
bhushanhegde (12/18/2008)
Hi,I dont have rights to create any objects in the data base since that is in production.
I want to do with any sys defined functions....is it possible?
Yes.
DECLARE @TargetString VARCHAR(100),...
December 18, 2008 at 1:57 am
Thank you for the prompt answers.
There are several ways to do this, my preference would be a function using a tally-table - are you permitted to add a utility table...
December 18, 2008 at 1:49 am
bhushanhegde (12/18/2008)
Hi,My string is as follows:
'hurrycanecathurrycanecatand dod race'
I want to find out character 'a' how many times occured in the above string.
pls help me.
What have you tried so far?
How do...
December 18, 2008 at 1:38 am
Jeff Moden (12/17/2008)
bnordberg (12/17/2008)
Thanks Chris!that appears functional. Now to tune and see how it works with a few hundred million rows!
Why on Earth do you need to create what is...
December 18, 2008 at 1:21 am
Viewing 15 posts - 9,091 through 9,105 (of 10,144 total)