Forum Replies Created

Viewing 15 posts - 271 through 285 (of 2,462 total)

  • RE: table Joins and overby clause

    Addtionally why are you using row_number() over(partition by col1,col3 order by col3) as rownumber

    if you are not using it ?

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

  • RE: update a column based on Ideal

    Where/what is the question ?

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

  • RE: table Joins and overby clause

    can you provide the sample data to which is being in used in above queries

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

  • RE: update still difficult??

    My first question is Why you need this ? means updatign the ID column with ExtendedID

    Second,whatever the reason , there are very much chances that you wil get PK...

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

  • RE: How to add below complex conditions in SQL script..

    Either use CASE statement with LEFT JOIN

    or

    EXISTS clause

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

  • RE: Create CLUSTERED Index

    mah_j (3/12/2013)


    I tried without Non_Clustered and this time it took less time.

    Is there any way to have more less down time for example some thing like redefinition in Oracle that...

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

  • RE: Larger Date Range taking MUCH less time

    JP-1019544 (3/11/2013)


    Think it SOLVED my problem.

    How ? what changes you made ?

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

  • RE: Larger Date Range taking MUCH less time

    GilaMonster (3/11/2013)


    Bhuvnesh (3/11/2013)


    1) There could be less data in that range.

    ...

    but i still vote the first reason.

    How could there be less data between '2013-01-01' and '2013-01-31' than there is between...

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

  • RE: SQL Server 2008 R2 not starting after moving"model" database

    Model database is used by Tempdb during restart . and that could be the why sql server didnt get re-start

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

  • RE: Create CLUSTERED Index

    mah_j (3/11/2013)


    Can I use MaxDop = Number of processors in main server?

    yes you can try is it but first at test server and see how uch benefit you...

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

  • RE: Larger Date Range taking MUCH less time

    JP-1019544 (3/11/2013)


    Hi

    I'm executing the below TSQL on a table with about 700,000 records. I am clearing the caching so it does not affect the queries.

    When the data range is between...

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

  • RE: Worktables & Hash Tables

    Grant Fritchey (1/31/2013)


    Get a copy of SQL Server 2008 Internals by Kalen Delaney. Then read it 100 times. You'll still be confused (as I am) but less so.

    Grant, i...

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

  • RE: Data Archival/Purging - through table partition switch IN/OUT

    vineet_dubey1975 (3/7/2013)


    My both the DBS are on same file filegroup e.g. PRIMARY.

    Refer the link i posted above

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

  • RE: Question about DBA authority versus responsibility

    Also manage the permisson of users. Restrict the poeple from unauthoirized access. if possible or required, log the audit login plus DDL commands

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

  • RE: Data Archival/Purging - through table partition switch IN/OUT

    vineet_dubey1975 (3/6/2013)[hr

    Can i move 'TBLHistory' to HistoryDB and still i can perform switch out and Switch in?

    Note:Both DBs are residing on same instance of the server.

    NO . for switch-in...

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

Viewing 15 posts - 271 through 285 (of 2,462 total)