statistics (data)

Technical Article

Statistics and Indexes

  • Article

When is it okay to let SQL Server to make a statistic for columns in your queries, and when should you take those statistics and make an index out of them? What I do is to test all of my procs, and if they generate system statistics (_WA_SYS%), then I add an index to the table for the column in the statistic. But is this a good practice?

2008-03-11

3,488 reads

Technical Article

RE: deleting records without writing to transaction log

  • Reply

That's a nice try but:Trucate will Log Page deallocationTruncate Requires Elevated PriviledgesTruncate can't be executed if the table has foreign keysTruncate will LOCK the users out so if you try this in a multiuser environment you will get a lot of failed transactions  ... Too many problems   

You rated this post out of 5. Change rating

2005-04-13

Technical Article

RE: What The Heck????

  • Reply

Thats your BrightStor (BEB) database file (used to be ArcServe).  You'll need to check with your network admin that takes care of the network backups to ensure that he is purging out the old data.  However, depending on the size of your shop, 8.2GB may not be big.  Ours is currently 21GB.Steve

2004-11-01

Technical Article

query a Column of a table based on its ordinal position

  • Topic

Hi All, I need to query a Column of a table based on its ordinal position from a single select statement Here is my select statement Select col_name(object_id('TABLENAME'),13) from TABLENAME.The result is obivious that it returns the actual columnname. Question is How to query the column that is returned from the function col_name in one […]

You rated this post out of 5. Change rating

2004-10-20

3 reads

Technical Article

RE: Difference Desktop & Standard Edition?

  • Reply

Hans, I would install Win2K only if the final place where the database will be running is Win2K.  As far as detaching from SQL2K to SQL7 system make sure that the database is in 7.0 compatability prior to detaching from SQL2K.  Also, you need to make sure beforehand there is no code that takes advantage […]

You rated this post out of 5. Change rating

2004-10-19

Technical Article

"Ghost" column

  • Topic

Hi!Using my trusted login (it has sa privileges) I created new column (bit, allow NULLs) for a table.  After that only me can see it and only with EM, even after reconnecting to the server.  There is no any records for this column in syscolumns table.Wonder what had happen!?!Thanks.  

You rated this post out of 5. Change rating

2004-09-20

22 reads

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers