Forum Replies Created

Viewing 15 posts - 44,821 through 44,835 (of 49,571 total)

  • RE: SQL Server 2003 ???????

    I mailed them, seeing as they're in my neck of the woods.

  • RE: Covering index

    GSquared (8/28/2008)


    I got asked this same question as an interview question. I was able to describe a covering index, but I've never heard of a "covering query" before. ...

  • RE: Age old Frag vs Index

    If you can't do a full scan with update stats, use the RESAMPLE option. It means that the DB engine will adapt the % sampled to ensure it gets enough...

  • RE: Unable to create table Dynamically

    Sanaullah (8/28/2008)


    Ok but while concatenate we need to add this CREATE TABLE TableName with that, but my main problem is

    iPhotoGalId INT Primary KEY IDENTITY(1,1) NOT NULL ,vPhotoGalTitle VARCHAR(50),dModifiedDate DATETIME(8),iOrder...

  • RE: Covering index

    It's not a different type of index.

    An index is a covering index for a specific query if all of the columns that the query needs are included in the index...

  • RE: Unable to create table Dynamically

    If I'm understanding you corectly, you want the following script generated:

    CREATE TABLE TableName (iPhotoGalId INT PRIMARY KEY IDENTITY(1,1) NOT NULL,vPhotoGalTitle VARCHAR(50),dModifiedDate DATETIME DEFAULT GETDATE(),iOrder INT)

    but you're getting this:

    iPhotoGalId INT Primary...

  • RE: Transaction Log Grows Too Big

    joemai (8/27/2008)


    you can also backup the transaction with truncate or no_log option:

    backup log your_db with truncate_only

    Since the DB is in Simple recovery mode, a checkpoint will truncate the log and...

  • RE: Drawbacks of EXEC 'SQL STATEMENT'

    One of the drawbacks is in terms of security. Using dynamic SQL requires that the user has rights to the base tables and opens the system up to possible SQL...

  • RE: Transaction Log Grows Too Big

    No matter what settings you use, SQL will log transactions. It's not an optional part of the system, it's how data integrity is guaranteed. Data changes are first written to...

  • RE: Best column choice for clustered index?

    Marios Philippopoulos (8/27/2008)


    I'm considering a clustered index because of the GROUP BY and MAX clauses. Clustered indexes usually perform better in queries where ranges of rows are involved. Nonclustered indexes...

  • RE: SQL 2005 Missing Indexes

    Marios Philippopoulos (8/27/2008)


    I read it in an article on SQL Server magazine, April 2007, by Kalen Delaney: "use Missing-Index Groups for Query Tuning". I quote:

    "At present, the missing index information...

  • RE: FULL BACKUPs vs TRANSACTION LOG BACKUPs

    day (8/27/2008)


    I am backing up every night not more than total 2 Gb as a full-backup. It takes only few minutes. Do I really need to set a Transaction Log...

  • RE: Best column choice for clustered index?

    Why does it have to be clustered? If it was me, I'd suggest a nonclustered index for that, (TN, CID) INCLUDE (IDt)

    What's the selectivity of TN? How many rows...

  • RE: SQL 2005 Missing Indexes

    Marios Philippopoulos (8/27/2008)


    One caveat is that indexes used in places other than in the WHERE clause of queries are not included in the DMVs, so, for example, indexes needed on...

  • RE: Standard version on 2 (quad core) cpu with 16 Gb RAM

    Depends whether you're going for per CPU or per seat licencing. Per CPU licences are a lot more expensive, so if you don't have a large number of users, consider...

Viewing 15 posts - 44,821 through 44,835 (of 49,571 total)