Viewing 15 posts - 43,861 through 43,875 (of 59,101 total)
m.berggren (5/6/2009)
Was searching the internet back and forward regarding this clustered index issue, found a lot of information and tried a lot without any luck....
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 10:27 pm
Thanks Jeff and Michael,
What I've found is that even if you use 2k5 tools, BOL states that DBCC REINDEX will be used and that the "Sort in TempDB" option will...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 10:23 pm
BobMcC (5/7/2009)
I've been a computer guy all my adult life, before home computers were even considered. I was one of those people who had a Radio Shack TRS-80.
Heh... rookie. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 10:20 pm
42
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 10:17 pm
ben.rosato (5/7/2009)
Jeff Moden (5/6/2009)
[font="Courier New"] USE AdventureWorks
;WITH cteNames AS
(
SELECT FirstName + ' ' + LastName AS FullName
FROM AdventureWorks.Person.Contact
WHERE FirstName + ' ' + LastName LIKE '%[^- .''A-Z]%'
)
SELECT n.FullName,
SUBSTRING(n.FullName,t.N,1) AS BadChar,
t.n AS BadCharPosition,
ASCII(SUBSTRING(n.FullName,t.N,1)) AS BadCharNum
FROM cteNames n
CROSS JOIN Util.dbo.Tally t
WHERE t.N <= LEN(n.FullName)
AND SUBSTRING(n.FullName,t.N,1) LIKE '[^- .''A-Z]'[/font]
I was playing around with this and can't figure out why the "-" in the where clause has to come before all...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 11:36 am
gserdijn (5/7/2009)
Jeff Moden (5/6/2009)
I can only hope that gserdijn got it from me. 😛
Off course!
When you rewrite a cursor to be set based, don't make the same error in...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 11:35 am
Jeff Moden (5/7/2009)
Jeff Moden (5/6/2009)
ifila (5/6/2009)
I still get nulls in the Account Table 🙁Thanks
Are all of the files you're trying to import in the exact same format and field order?
I...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 11:32 am
Chirag (5/7/2009)
During the interview process i pointed out that...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 11:13 am
Gianluca Sartori (5/7/2009)
... ooops!I vote for Lynn's solution! There's also an interesting thread on this topic
http://www.sqlservercentral.com/Forums/Topic695508-338-1.aspx
Uh huh... just be careful with what you see in some of the posts...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 11:05 am
jamiejulius (5/7/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 11:00 am
GSquared (5/7/2009)
select substring(@String + ',', Number, charindex(',', @String + ',', Number) - Number)
from dbo.Numbers
where Number <=...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 10:58 am
JohnG (5/7/2009)
Jeffrey Williams (5/7/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 10:41 am
Jeff Moden (5/6/2009)
ifila (5/6/2009)
I still get nulls in the Account Table 🙁Thanks
Are all of the files you're trying to import in the exact same format and field order?
I can help,...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 10:34 am
tlehner (5/7/2009)
Steve Jones - Editor (5/7/2009)
However, I...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 10:16 am
Steve Jones - Editor (5/7/2009)
For the record, I'm a leading commas guy, Jeff is wrong, and it's easier to read. All you trailing comma folk need to change!:-D:-D:w00t:
BWAA-HAA!!! I was...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2009 at 10:14 am
Viewing 15 posts - 43,861 through 43,875 (of 59,101 total)