Viewing 15 posts - 10,126 through 10,140 (of 10,144 total)
Perhaps that's where the Scottish author Iain Banks drew his inspiration for "The Wasp Factory"!
Earlier this year the BBC ran a short series on the red deer rut on the...
June 21, 2007 at 3:26 am
<<I was relating to Tony the fact that these sheep, marooned for a thousand years on a tiny island in the Atlantic, five miles off the coast of Scotland, have...
June 21, 2007 at 2:48 am
Hi Stewart
Peter Larsson recently posted an elegant solution to this problem, see
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=367397&p=4
Cheers
ChrisM
June 19, 2007 at 10:13 am
Hi EM
This wouldn't be a metal-plating company in Harlow, Essex by any chance? I had the exact same experience there about 7 years ago. It was infuriating! Management wouldn't listen...
June 15, 2007 at 5:52 am
Heh heh lovely job lads!
June 14, 2007 at 6:20 am
Hi Loner
You may be sliding down the slippery slope of Clinical Depression, a place where you really don't want to go. Make a few enquiries and find yourself a local...
June 12, 2007 at 4:48 am
And since there's only one SELECT from #temp...
select MetroCity as City, ...
June 12, 2007 at 4:04 am
Hi Dark Angel
<< I have a stored procedure (SP1) that returns multiple data sets.
i.e., the last 3 lines read:
SELECT * FROM...
June 5, 2007 at 8:13 am
Hi Bobs
Creating a separate table for city and province/state is probably over-normalization - you will still need a pointer (fk) in your customer table (and of course the pk in...
June 5, 2007 at 5:32 am
Found this on our dev server:
-- Author: Igor Nikiforov, Montreal, EMail: udfs@sympatico.ca -- PADL(), PADR(), PADC() User-Defined Functions -- Returns a string from an expression, padded with...
June 5, 2007 at 2:38 am
Hi Mike
Yes, you can use CASE (simple or searched) in a WHERE.
What are you comparing to [('A','E','I','O','U') else ('B','C','D','F')]?
Cheers
ChrisM
June 4, 2007 at 8:45 am
<proprietary UPDATE clause of SQL Server... magic... and blows cursor speed away>
This solution is really cute, and timely too - there are several current threads looking to a sequential...
June 4, 2007 at 8:31 am
No problem Ganesh -
--===== Create a test table and populate it with test data CREATE TABLE #MyHead (userid INT, logintime DATETIME) INSERT INTO #MyHead (userid, logintime)
SELECT 1234, '2007-05-10 17:18:00' UNION...
June 1, 2007 at 9:15 am
sql2day
Here's a stub query
SELECT * FROM TableName t WHERE DATEPART (hh, t.DateTimeColumn) = '23' AND DATEPART (mm, t.DateTimeColumn) = '59' AND DATEPART (ss, t.DateTimeColumn) = '59'
but as Jeff pointed out, if you want...
June 1, 2007 at 7:41 am
Viewing 15 posts - 10,126 through 10,140 (of 10,144 total)