Forum Replies Created

Viewing 15 posts - 1,156 through 1,170 (of 2,462 total)

  • RE: using count in a partition query

    SELECT BloggerName,Topic,[Year],Total,count(*)

    FROM

    BlogCount

    group by BloggerName,Topic,[Year],Total

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Max DOP > 13 get stuck on one env and works fine on another env

    y.loewidt (12/7/2010)


    "Kill SPID" merely makes the SP status KILLED/ROLLBACK but doesnt kill it

    "Kill" always results the data in consistent state;either commit or rollback

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Functions to use instead of to_char in SQL Server 2000

    anitha.chacko (12/7/2010)


    Can u please tell me how to convert it exactly

    http://msdn.microsoft.com/en-us/library/ms187928.aspx

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Which JOIN style is better from performance point of view?

    create the exec plan for both the approaches.and post it here along with index/table definition.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Backup script loop exits while there are still databases in the cursor

    AlreadyPicked (12/6/2010)


    If anyone knows why the resultset of sys.databases system view might change like that during a backup loop, feel free to enlighten me up!Thanks.

    Sometime i observed that these...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: why i can't shrink tempdb data file

    ignacio.aranda (12/3/2010)


    I had a tempdb mdf file which was 60 Gb, and I tried shrinkfile, and shrinkdatabase and got nothing. I noticed that I had several databases in 'readonly' mode....

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Deleted table log - Need help.

    TcW_1978 (12/3/2010)


    Where can I find that 'Schema Changes History' report for that database?

    I searched everywhere, to no avail.

    Thanks

    See my attachment. do we need set any settings/configuration ?

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Reorganizing my indexes during working hours

    anolan (12/3/2010)


    Thank you for all the thoughtful responses. I guess the answer is no, I should not reorganize or rebuild during working hours. I think the best way for me...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Restoring database using .mdf and .ldf files

    sraned (12/5/2010)


    My SQL server knowledge is limited and would appreciate your advice. We are developing a custom report and hence had written the program code and created new custom tables...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Which JOIN style is better from performance point of view?

    Sachin Vaidya (11/29/2010)


    Hi,

    If I do,

    SELECT col1, col2....

    FROM table1 AS A

    INNER JOIN

    (SELECT col3, col4....

    FROM table2) B

    ON A.col1 = B.col3

    Or, I first take the inner query in a temp table first and...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Need help in creating Table

    Dipesh Neema (11/30/2010)


    Should i use like operator for that ? i am searching in the 6 varchar fields and table size is 15mil records.

    Well , it depends if you...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Backup script loop exits while there are still databases in the cursor

    AlreadyPicked (11/30/2010)


    On some nights (about one out of three), the loop exits without any errors while there are still databases in the cursor.

    it might be happening when it starts...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Server ERROR

    Post your script which you are using

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: String pattren searchign using Full Text Seach Technique

    see this link also http://www.sqlservercentral.com/Forums/Topic1026649-145-1.aspx

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: String pattren searchign using Full Text Seach Technique

    post some sample data along with your query ..then you will get some faster results.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 15 posts - 1,156 through 1,170 (of 2,462 total)