Viewing 15 posts - 136 through 150 (of 443 total)
That only tells you the versions of the client tools etc installed on your machine, not the version of the database engine.
Run this in a query window:
SELECT @@VERSION
April 11, 2011 at 3:31 am
Jeff Moden (4/8/2011)
Which version of SQL Server are you using?
Ah-ha! Good point Jeff. But he did mention 2008 in an earlier post.
April 11, 2011 at 2:52 am
You may find this useful too:
http://www.simple-talk.com/sql/learn-sql-server/robyn-pages-sql-server-datetime-workbench/[/url]
April 8, 2011 at 5:02 am
Hi,
Seems to work ok for me.
Try removing whitespace after pasting the code, occasionally I've found odd (non-display) characters in code pasted from the forums.
April 8, 2011 at 4:50 am
Another, usually faster, way of splitting a string is with a Tally (or numbers table) see Jeff Moden's article in my signature below.
Take a look at the method about three...
March 10, 2011 at 5:55 am
thisisfutile (1/27/2011)
nigel. (1/27/2011)
Spotted a minor typo in the first code example, has SliceDate instead of SliceData for the column alias.
I know it has no real...
January 27, 2011 at 7:36 am
Thanks Jeff, nice article.
Spotted a minor typo in the first code example, has SliceDate instead of SliceData for the column alias.
I know it has no real effect. But,...
January 27, 2011 at 3:28 am
WayneS (1/24/2011)
Yet another article where the discussion is as valuable as the article itself! ๐
Couldn't agree more. Thanks Jeff, when's the next one? ๐
January 25, 2011 at 2:09 am
Oh, if only I had seen these articles the first time round, so much blood, sweat and tears would have been saved (especially the latter).
Thank you Gail, excellent articles. I...
January 21, 2011 at 2:13 am
I think this should cope with the language issues:
SELECT SUBSTRING(CONVERT(CHAR(13),SomeDate,106),4,13)
FROM dbo.JBMTest
Is marginally slower than Jeffs original solution (on my box), but seems to cope with short...
January 20, 2011 at 9:51 am
An alternative (simply a refactor):
DECLARE @v-2 VARCHAR(1000)
SET @v-2 = '2,22,5,1,88,2000,7897,800'
SELECT CAST( x.query('fn:min(number)') AS varchar),
CAST( x.query('fn:max(number)') AS varchar),
...
January 20, 2011 at 8:29 am
David McKinney (1/20/2011)
In France, June and July are Juin and Juillet respectively, and hence JUI and JUI when...
January 20, 2011 at 4:16 am
Try this: http://msdn.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.monthnames.aspx
January 18, 2011 at 9:14 am
If you're doing this in ASP.NET why go to the database at all, why not do it in the page itself?
That would be the more usual way of doing this,...
January 17, 2011 at 4:04 am
Steve Jones - SSC Editor (1/13/2011)
First, I'd recommend you use this maintenance script. Lots of expert DBAs have reviewed it and they like it: http://sqlfool.com/2009/06/index-defrag-script-v30/
Steve (and all),
There's a newer version...
January 14, 2011 at 2:49 am
Viewing 15 posts - 136 through 150 (of 443 total)