Viewing 15 posts - 2,536 through 2,550 (of 6,486 total)
noeld (9/25/2008)
If your queries are reading mostly historic data you...
September 25, 2008 at 3:31 pm
Along with what Steve said - a function won't do this for you, so focus on using a stored proc. Functions can't use EXEC() and cannot make changes to...
September 25, 2008 at 1:42 pm
Steve Jones - Editor (9/25/2008)
I thought Gail was right here. Shouldn't use space for int/char if it's null, the null bitmap should carry that.
Again - speaking form memory here, but...
September 25, 2008 at 11:06 am
GilaMonster (9/25/2008)
Matt Miller (9/25/2008)
On other (non-variable length) columns, such as int, the space is still allocated even when the Bit map is set.I don't think they are. Will test.
I should...
September 25, 2008 at 10:55 am
GilaMonster (9/25/2008)
But it's not going to be 42 GB for a million rows.
True. that's more than the overhead observed. Besides - that space isn't free and wouldn't come up...
September 25, 2008 at 10:50 am
giri_engg2001 (9/25/2008)
Doevent functionality in SQL Server 2005 with example
Under what circumstance would you ever need that? It would help to have an actual business example to understand why you'd...
September 25, 2008 at 10:34 am
Unless the column is marked as sparse, there is a (small) cost to storing nulls. There's a flag that gets set per row that gets set denoting it as...
September 25, 2008 at 10:26 am
Why not use sp_msforeachdb?
Would allow you to get that created....
September 25, 2008 at 9:25 am
Ellis RemoteDBA (9/25/2008)
September 25, 2008 at 9:06 am
Also - if you want to do a bunch at a time...Right-click on the DB name, Tasks, Generate Scripts, pick the objects you want and voila. Play around a...
September 24, 2008 at 8:26 pm
Jeff Moden (9/24/2008)
Hey MATT! Congrats on becoming a proud member of the over 5k crowd!
Is it just me or is the air thinner up here????:D
September 24, 2008 at 8:17 pm
Jeff Moden (9/24/2008)
September 24, 2008 at 6:35 pm
The FOR XML EXPLICIT needs to get the data "ordered" as it should be in the XML output. For better or worse, your ordering scheme is opening up a...
September 24, 2008 at 11:06 am
Ian Massi (9/24/2008)
I forgot to mention, if I run the stored procedure it returns a value. However, since the trigger isn't firing, the procedure doesn't run.
Don't trust that the...
September 24, 2008 at 8:24 am
Christopher Ford (9/23/2008)
I have about 20 rules to apply to each column in a query to determine it's final value.
How can...
September 23, 2008 at 7:53 pm
Viewing 15 posts - 2,536 through 2,550 (of 6,486 total)