Viewing 15 posts - 35,116 through 35,130 (of 59,099 total)
SQLCHILD (2/11/2011)
what are the main purposes for which temporary tables are used?
To go along with what Gail said above...
When used properly do "Divide'n'Conquer" a large "problem", you can get absolutely...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2011 at 10:11 am
sqldba_icon (2/11/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2011 at 11:30 pm
alex_toronto27 (2/10/2011)
I changed EXEC Master.dbo.xp_DirTree @piFullPath,0,1 ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2011 at 11:12 pm
Gianluca Sartori (2/9/2011)
Thank you, Jeff. I will try and keep you posted.
Just a bit of feedback... I ran into a similar problem with and SCD2 trigger I was building. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2011 at 10:59 pm
Khades (2/11/2011)
Thank you Jeff. Any Idea which one would perform better?
I posted that near the end of the article. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2011 at 10:55 pm
schauhan13 (2/10/2011)
Now I need to create a sql select query for a date range say from...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2011 at 4:45 pm
Look for the word multi-aggregate in the following artcle...
http://www.sqlservercentral.com/articles/T-SQL/63681/
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2011 at 4:16 pm
Lynn Pettis (2/9/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2011 at 5:26 pm
atulkapoor20-965628 (2/9/2011)
but its a easy way.. u can find lots of scripts...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2011 at 7:42 am
simflex-897410 (2/8/2011)
I need some huge favor.
I am asked to extract 3 months worth of data from sql server into a pipe-delimited .txt file with text qualifiers (quotes...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2011 at 7:34 am
Being an ETL system, it sounds like all of your queries are for batch jobs. If that's true, forcing each query to recompile (as some of the others suggested)...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2011 at 7:31 am
Depending on what you're doing, the use of Global Temp Tables can cause concurrency problems.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2011 at 7:26 am
Lynn Pettis (2/8/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2011 at 7:00 am
Wolfmeister (2/8/2011)
SwePeso (2/8/2011)
DECLARE @Sample VARCHAR(100) = '12345'
;WITH cte(CurrPos, LastPos, String)
AS (
SELECT1 AS CurrPos,
DATALENGTH(@Sample) AS LastPos,
CAST(@Sample AS VARCHAR(MAX)) AS String
UNION ALL
SELECTCurrPos + 1 AS CurrPos,
LastPos,
STUFF(String, 2 * CurrPos, 0, ',') AS...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 9:22 pm
lance.kentwell (2/8/2011)
SELECT DATEADD(s,0,DATEADD(mm, DATEDIFF(m,0,getdate())-1,0))
Then I take the result and convert it to epoch time suing...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2011 at 8:55 pm
Viewing 15 posts - 35,116 through 35,130 (of 59,099 total)