Viewing 15 posts - 46 through 60 (of 285 total)
Good question. Is this related to the behaviour of datetimes versus datetime2s with the british language setting?
SET LANGUAGE BRITISH
GO
DECLARE @datevar datetime2 = '2008-12-13'; -- no error, ymd format
SELECT @datevar;
GO
DECLARE @datevar...
July 3, 2012 at 1:47 am
Good question - made me think for a bit (I never use SELECT * in views, of course 😉 )
July 2, 2012 at 1:34 am
Duncan Pryde (6/28/2012)
June 28, 2012 at 6:16 am
I got led astray by the error message. Since it said there was no current database backup, I thought that meant you couldn't do a differential backup at all (since...
June 28, 2012 at 6:11 am
codebyo (6/27/2012)
Duncan Pryde (6/27/2012)
June 27, 2012 at 6:12 am
Mike Hays (6/27/2012)
June 27, 2012 at 4:07 am
vk-kirov (6/26/2012)
CREATE TABLE dbo.QotD
(KeyColumn int NOT NULL PRIMARY KEY,
RefColumn int NOT NULL,
-- ...
June 27, 2012 at 1:58 am
ALZDBA (6/26/2012)
create index X_yourtable_dates on yourschema.yourtable (date1, date2);
might be another solution to...
June 26, 2012 at 8:05 am
ChrisM@Work (6/26/2012)
Did you try a computed column? The performance lift is dramatic:
I must confess I hadn't had a chance yet! Thanks for the feedback: the difference is, as you say,...
June 26, 2012 at 6:39 am
Thanks both. I didn't think there would be any way to improve it much with an index alone, but it's good to get confirmation I'm not missing anything obvious. I...
June 26, 2012 at 6:04 am
I got it wrong as well, because I suppose I was thinking about "defining" in terms of a separate single statement (e.g. CREATE INDEX) giving something an actual name. However,...
June 25, 2012 at 4:04 am
Sean Lange (6/20/2012)
ananda.murugesan (6/20/2012)
June 20, 2012 at 7:28 am
ananda.murugesan (6/20/2012)
June 20, 2012 at 5:10 am
Collation can also be set at the column level, if that's any help.
However, I'm slightly confused as to how the collation of an existing column could have changed during migration....
June 20, 2012 at 3:46 am
Taking a risk for a big payoff is one thing, but many people (without any other kind of safety net - e.g. a wealthy family) will not want to experience...
June 19, 2012 at 4:01 am
Viewing 15 posts - 46 through 60 (of 285 total)