Viewing 15 posts - 181 through 195 (of 388 total)
davidc-702140 (2/4/2011)
SELECT Distinct SO.Name
FROM sysobjects SO (NOLOCK)
INNER JOIN syscomments...
February 7, 2011 at 9:29 am
Leo, are you sure the problem is solved?
150,016,000 kb = 146500 mb = 143.0664 gb
(Dividing by 1024 each time.)
February 7, 2011 at 9:17 am
Thanks, Paul, Jonathan.
I think I will go down the Unknown / Not applicable route. i have on a couple of occasions in the past had a nullable field involved...
February 4, 2011 at 9:18 am
Thanks, captain. Exactly the link I was looking for.
I'm not thrilled by this behaviour but at least it's documented and 'by design'.
February 4, 2011 at 3:28 am
Jeff Moden (1/23/2011)
As a side bar, recursive CTE's tend to be a bit slow and resource...
January 28, 2011 at 2:07 am
Nicely done but why do you need anything more than the following for any language which also has the added benefit of the year as sited in the article?
SELECT SUBSTRING(CONVERT(VARCHAR(30),GETDATE(),106),4,30)
Quite...
January 23, 2011 at 12:09 pm
Jeff, the question marks in your results come from the fact that you're using a varchar in your convert. Make it nvarchar and you should be alright.
CONVERT(nVARCHAR(30),GETDATE(....
January 23, 2011 at 10:06 am
Well I didn't use your speciality, Jeff, the tally table...instead I used my speciality the CTE 😎
I was mucking about with recursive CTEs (actually I rather like them at the...
January 22, 2011 at 2:25 pm
Jeff,
I'm waiting for you to blow us away with your tally table solution to pull the correct month from the comma separated field in sys.syslanguages.
Or will I have to...
January 21, 2011 at 10:11 am
WHERE name NOT IN ('Português (Brasil)'
Thanks Phil.
Putting the language in quotes will solve the Portuguese Brazil problem
Set language ['+name+']....
January 20, 2011 at 5:41 am
I did a little more hunting and I came across sys.syslanguages which looks quite promising.
To continue with the French exception, it has fields months and shortmonths with the comma separated...
January 20, 2011 at 1:08 am
Très bien, Jeff! Except of course that you can't keep everybody happy!
In France, June and July are Juin and Juillet respectively, and hence JUI and JUI when truncated to...
January 20, 2011 at 12:59 am
Was I alone in getting excited about 'filtered indexes'? (Is that what they're called? An index with a where clause)
The reason I got into a state is that it...
December 17, 2010 at 1:46 am
ok...so here are my results in csv format (sorry!) Conclusions follow.
Full Resultset,Method,Execution Time,Client Processing Time,Total execution Time,Wait Time,Notes
,CTE View,13 secs,3261,5759,2498,93% in Hash Match
,Temp Table with rownumber,33 secs,21524,25422,3898,Index Scans
,Table Variable with...
November 18, 2010 at 4:16 am
Excellent...thanks, Jeff, for getting the ball rolling.
I adapted your code to make it as per the example i.e. so that the article code would run without modif.
Specifically, I created the...
November 16, 2010 at 6:39 am
Viewing 15 posts - 181 through 195 (of 388 total)