Viewing 15 posts - 21,376 through 21,390 (of 22,202 total)
The error is explaining the problem. The subquery is being used as a column, that means it has to return a single row because you can't have two or more...
December 13, 2007 at 8:34 am
The really beautiful thing about it was that the SET @var = 0 was directly butt up against the IF statement. It wasn't like there was 15 pages of intervening...
December 13, 2007 at 8:27 am
We found one in production earlier this year that looked a bit like this:
DECLARE @var int
SET @var = 0
IF @var > 0
BEGIN
...do some work
END
return 0
And they had honestly spent a...
December 13, 2007 at 6:17 am
Indexing for data retrieval would be my biggest concern. Why would you store... anything, in a column like that?
Personally, I'd probably look to storing the stuff as XML instead of...
December 13, 2007 at 6:09 am
It's possible they're remove it in the future. I'm looking at the 2008 documentation. It's there and says the same thing. It's pretty basic functionality, generate a script. Even if...
December 13, 2007 at 6:01 am
I know I could be off, but that sure looks like homework.
If you post what you tried that didn't work, you're sure to get help. Just trolling for someone to...
December 12, 2007 at 2:31 pm
"Should get paid" ?
I thought Steve was paying us for this?
Hey, get that guy over here...
😎
December 12, 2007 at 1:58 pm
The key word and tricky phrase to take away from the description of this column in books online is: "... reuse of transaction log space..." This means that it will...
December 12, 2007 at 1:34 pm
Me too. I've never heard the phrase "reuse logs" applied to SQL Server.
I mean, we "reuse" them all the time. The same log file is cleaned out, whether you're in...
December 12, 2007 at 1:15 pm
If it's that severe, you might want to try "turning off" parallelism by setting the MAXDOP to 1 for the server, but it's just a band-aid at this point.
If this...
December 12, 2007 at 11:32 am
It's an advanced setting within the properties of the server. The default is usually zero.
This is the script from BOL
sp_configure 'show advanced options', 1;
GO
RECONFIGURE WITH OVERRIDE;
GO
sp_configure 'max degree of parallelism',...
December 12, 2007 at 11:18 am
ALTER DATABASE dbname
SET RECOVERY SIMPLE
December 12, 2007 at 9:29 am
2008 does have intellisense. So far, I've found RedGate's to be better.
December 12, 2007 at 7:34 am
That's just what I was going to point out. I even went & checked it in BOL.
December 12, 2007 at 6:32 am
No. This wouldn't be helpful to you at all. In fact, it would probably hurt performance.
December 12, 2007 at 6:22 am
Viewing 15 posts - 21,376 through 21,390 (of 22,202 total)