Forum Replies Created

Viewing 15 posts - 4,231 through 4,245 (of 6,036 total)

  • RE: Passing a Table to A Stored Procedure

    Can you name one problem of trigger solution?

    And I pretty sure majority of people submitted posts here never read the statement I quoted. And they afraid of using triggers because...

  • RE: Passing a Table to A Stored Procedure

    Bad judgement cause by lack of knowledge.

    There gonna be as many "inserted" tables as many triggers called by different users. One per trigger being executed. Not visible from anywhere else.

    No...

  • RE: Passing a Table to A Stored Procedure

    Bad effort because of lack of knowledge.

    From BOL:

    A trigger is a special type of stored procedure that is not called directly by a user. When the trigger is created, it...

  • RE: What am I missing?

    It's good to know there is somebody around who still remembers old man Boltzmann.

  • RE: Deleting Certain Records

    DELETE D

    FROM Test D

    INNER JOIN Test L ON D.KeyID = L.KeyID AND D.DateAdd = L.DateAdd

    WHERE D.DateClose IS NULL AND L.DateClose IS NOT NULL

  • RE: The T-SQL Quiz

    C'mon, it's not an interview, nobody's dead serious.

    I just believe it's better to argue and prove (or fail to prove) your point here then make a mistake in real life...

  • RE: Function help please

    I just searched this forum for "calendar table" and it returned me 133 messages.

    I found one of them from Jeff Moden containing script creating calendar table.

    Are we searching in different...

  • RE: Function help please

    They suggested you to create permanent Calendar table.

    Have you done it?

  • RE: Need Urgently

    I would suggest to add "DBCC UPDATEUSAGE" into that script.

    I saw several times negative values returned by sp_helpfiles.

  • RE: Need suggestions with this situation

    Search this forum for "concatenating".

    Choose one of hundreds suggestions.

  • RE: Sort column without ORDER BY

    Clustered index won't help if you use join queries.

    And nothing won't help if you don't.

  • RE: The T-SQL Quiz

    Don't forget, there are 2 sides on interview.

    And if you've got a really good guy at another side of the table then it's not only you evaluating him.

  • RE: What am I missing?

    Just bad example.

    Try this:

    DECLARE @One DECIMAL(38,30)

    SET @One = 1.0

    DECLARE @Eleven DECIMAL(38,30)

    SET @Eleven = 11.0000000000000000000000000000

    DECLARE @Result DECIMAL(38,30)

    SET @Result = @One / @Eleven

    SELECT @Result

    GO

    DECLARE @One FLOAT

    SET @One = 1.0

    DECLARE @Eleven FLOAT

    SET @Eleven...

  • RE: Sort column without ORDER BY

    Don't use orderig in view.

    It's really bad for performance.

    You can always order records returned by view.

  • RE: Sort column without ORDER BY

    Why?

Viewing 15 posts - 4,231 through 4,245 (of 6,036 total)