Forum Replies Created

Viewing 15 posts - 47,131 through 47,145 (of 49,571 total)

  • RE: are there "arrays" in sql 2005 ?

    No arrays. Some people use XML, but that can get messy.

    If you go into a bit more detail on what you're doing, maybe we can suggest an alternative.

  • RE: CPU per File Group?

    Buxton69 (3/25/2008)


    Marios Philippopoulos (3/20/2008)


    I googled "trace flag 1118" and this was at the top of the list:

    PRB: Concurrency enhancements for the tempdb database

    support.microsoft.com/kb/328551

    But none relating to the proportional-fill process.

    From what...

  • RE: getting unique records from a table

    Koji Matsumura (3/25/2008)


    SELECT roll, MAX(sname) FROM Table ORDER BY roll

    SELECT roll, MAX(sname)

    FROM Table

    GROUP BY roll

    ORDER BY roll

  • RE: getting unique records from a table

    Probably very easy, but I do need a bit more info.

    For Roll 1 you have sNames of 'aa', 'bb' and 'cc' Why is 'aa' the one you want returning, not...

  • RE: Querying an indexed table

    rbarryyoung (3/20/2008)


    Gail, my understanding is that, in the abscence of statistics, the optimizer will, having nothing else to go on, order the predicates as they were ordered in the query...

  • RE: can we tune this long ruuning query

    Could you post the definition of cc_message and its indexes (assuming it is a table). Could you also give us an indication of how many rows are in the table...

  • RE: Temp Table List

    This will get it for you. I don't know if there's a way to tie the name back to the creating SPID though. don't think so.

    SELECT * FROM tempdb..sysobjects WHERE...

  • RE: optimizing query

    Can you post the execution plan for us please (saved as a .sqlplan file, zipped and attached)?

  • RE: Query for Top N for large amount of data

    Could you post the table's create script, some sample data and expected output please.

    See here - Forum Etiquette: How to post data/code on a forum to get the best...

  • RE: SUSPECT DB

    Sure we can help. But first we need to know why the database is suspect. Please have a look in the SQL Server error log. There will very likely be...

  • RE: Statistics Missing For This Table

    Is it a permanent table you're getting that message for, or a temp table?

    If permanent, check that auto_create_statistics is on for that database

  • RE: Reg Timestamp Data type

    Timestamp values are unique within a database

    Books Online


    Each database has a counter that is incremented for each insert or update operation that is performed on a table that contains a...

  • RE: ALTER INDEX failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'.

    From what I remember, there are a number of requirements for indexing computed columns, regardless of what's in the column or what it's called. Similar to the requirements for indexed...

  • RE: sqlstate 5001 error "There is already an object named PKCURSOR in the database"

    ALTER TABLE #ACCOMPLISHMENTS

    ADD CONSTRAINT PKCURSOR PRIMARY KEY (PROGRAM_YEAR, ACTIVITY_CODE)

    When you create a temp table, SQL server hashes the name so that there's...

  • RE: SELECT WITH NOLOCKS

    GSquared (3/21/2008)


    (There's gotta be a way to test that hypothesis. Time for some research and testing.)

    I can confirm your theory. I've seen (On this forum in fact) a deadlock...

Viewing 15 posts - 47,131 through 47,145 (of 49,571 total)