Forum Replies Created

Viewing 15 posts - 1,726 through 1,740 (of 2,462 total)

  • RE: Common Table Expressions - who's responsible?

    reefshark (5/4/2010)


    Are CTE's usually created by the DBA or the Developer?

    it has nothing to do with developer or DBA , the person whoi knows/wants to work on TSQL ,...

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

  • RE: Determining related record by nearest date

    Oscar Janson (5/5/2010)


    Hi Lutz,

    I've read the article linked to your topmost signaturelink, and I've come up with the following. Hope it becomes clear enough. 🙂

    /* Generating and populating tables. */...

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

  • RE: Problems using DateDiff

    this is more or less business logic failure/misunderstanding by you ? . i would suggest break your SP( select statement ) in chunks then verify one by one.if you...

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

  • RE: Deleting TempDb log files

    GregoryF (5/5/2010)


    Bhuvnesh (5/5/2010)


    In our environment , we have 3 log files for TempDB. my database director asked me to removed 2 tempdb file. he sail that we are fine with...

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

  • RE: Delete Partitions

    Answer to your question has been given by Schadenfreude-Mei. if you are not satisfied with answer elaborate your question/requirement.

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

  • RE: Inner Join v/s WHERE Col IN (select col from dbo.UDF_Function)

    Where is exec plan for IN query ? i didnt find it

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

  • RE: Users lost

    Best practice is create/transfer login to new server and then map users(should exist in particular database)there

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

  • RE: Clustered Index Column In A Non-Clustered Index

    MY BAD, i need a strong coffee.:-)

    I treated (misread ) "non clus " index as "clus" and viceversa :-D. thats why i asked this foolish question

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

  • RE: Clustered Index Column In A Non-Clustered Index

    David Portas (5/4/2010)


    SQLJocky (5/4/2010)


    It's true that a nonclustered index always contains the cluster key columns

    Here you are talking about "when the clustered index is not a unique index" ....

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

  • RE: Delete Partitions

    hbujar (5/5/2010)


    Hi all,

    I create every month automatically partitions for tables, i have a question is it possible to delete the partitions physically from the disc which that partition is empty,...

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

  • RE: Clustered Index Column In A Non-Clustered Index

    george sibbald (5/4/2010)


    I think we agree david that the important point is that the non-clustered index be covering.

    thats true.above of all optimizer always choose that index which cost it...

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

  • RE: Clustered Index Column In A Non-Clustered Index

    David Portas (5/4/2010)


    SQLJocky (5/4/2010)


    It's true that a nonclustered index always contains the cluster key columns

    something new to me . Are you sure for it ?

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

  • RE: Errorlog

    moorthy.jy (5/5/2010)


    master..xp_readerrorlog will list out the error logs.

    but wont show the error log location/path .

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

  • RE: Simple query....Worst plan

    thanks a ton to all guys , i will keep ur thought and work acc to them while working in it , thanks

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

  • RE: Label/Value Pair

    CREATE FUNCTION [dbo].[uf_utl_SplitNString]

    (

    @InStr nvarchar(4000) = null ,

    @token nvarchar(4000) = ','

    )

    RETURNS @RtnElement TABLE ( item nvarchar(4000))

    AS

    BEGIN

    declare @rec_no int

    declare @pos int, @tokenlen int

    declare...

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

Viewing 15 posts - 1,726 through 1,740 (of 2,462 total)