Viewing 15 posts - 4,471 through 4,485 (of 5,590 total)
T Norton (4/9/2010)
Very well done..!!!This article clearly articulates and validates what I've been preaching to my team for years.
Thanks for doing thisβ¦! π
You're welcome! And thanks for the accolades.
April 10, 2010 at 5:28 pm
kajalchatterjee (4/9/2010)
I ran the following piece of code in SQL-Server 2005 and i can not see any entry of table variable in tempdb database. I...
April 10, 2010 at 5:27 pm
matt32 (4/9/2010)
I had this issue some month ago with a customers 2005 db.
heavy data load using a SP with select .. into #temp....
April 9, 2010 at 9:01 am
Matthias, I've never seen this before. Very interesting.
If you're interested, I just found a way to work around this.
select top 1
CONVERT(int, 1) as nr,
name as colname into #tmptable
from sys.all_columns
April 9, 2010 at 8:55 am
matt32 (4/9/2010)
2. Creating a #temptable as select expression,.. into #temptable will generate a not null constraint on the expression column.
Has anyone ever heard of this before?
I tried to duplicate it...
April 9, 2010 at 8:28 am
Paul White NZ (4/9/2010)
BTW Wayne, did this article change much between publications? It seems more comprehensive than previously - or is my memory playing tricks again?Paul
No changes at all....
April 9, 2010 at 8:12 am
Luke L (4/9/2010)
jcrawf02 (4/9/2010)
April 9, 2010 at 7:46 am
matt32 (4/9/2010)
great article and here some problems i encountered while working with
#temp for further articles with the same focus.
1. Creating a #temptable within a SP as select...
April 9, 2010 at 7:28 am
Knight (4/9/2010)
Great article
Thanks
I shall ensure part of this article goes into our best practices just to hammer the point home π
:blush: Thanks again!
April 9, 2010 at 4:33 am
Gianluca Sartori (4/9/2010)
I wrote that because I use indexes on...
April 9, 2010 at 4:31 am
COldCoffee (4/8/2010)
I think nguyennd has got the code you wanted...Cheers!!
I agree. Good job.
Keep in mind the difference between RANK() and DENSE_RANK() if it is possible to have a tie.
Nuts, do...
April 9, 2010 at 4:19 am
sku370870 (4/9/2010)
Where Postcode1ID = @Postcode1ID and Postcode2ID = @Postcode2ID
In the second situation my Where clause would be ..
Where (Postcode1ID = @Postcode1ID...
April 9, 2010 at 4:01 am
Gianluca Sartori (4/9/2010)
Your article raised a doubt in my mind. You write
Temporary tables can have named...
April 9, 2010 at 3:44 am
TRACEY-320982 (4/8/2010)
Worked a treat and replaced it anywhere it found it in the string.Thank you so much got a hugh update to do.
What does the 1 mean ?
(CHARINDEX('00001', column, 1)
April 8, 2010 at 7:38 pm
I think I have a good idea of what you want, and I think that the RANK() function will do what you want, but there are several questions remaining. If...
April 8, 2010 at 7:34 pm
Viewing 15 posts - 4,471 through 4,485 (of 5,590 total)