Forum Replies Created

Viewing 15 posts - 9,031 through 9,045 (of 19,562 total)

  • RE: Truncate and Delete

    Toreador (8/17/2011)


    mbova407 (8/17/2011)


    TRUNCATE TABLE cannot activate a trigger because the operation does not log individual row deletions.

    Emphasis mine 😉

    When truncating - Row actions are not logged. Page deallocations (which...

  • RE: Truncate and Delete

    Subjective Adapts (8/17/2011)


    Truncate

    Delete

    Faster in performance wise, because it doesn’t keep any logs

    Slower than truncate because, it keeps logs

    Rollback is not possible

    Rollback is possible

    Actually Truncate is...

  • RE: Truncate and Delete

    Basics type of question.

    Still astounds me that sooooo many people believe that truncate is not logged. At the time I answered, 44% of respondents selected that.

  • RE: Today's Random Word!

    Sudoku[/url]

  • RE: syntax near a subquery

    I have seen it many times more often in a CTE than the older Derived table. I think this syntax has some usefulness when thinking through it. I...

  • RE: Solving SUDOKU thru SQL Code

    bc_ (8/17/2011)


    That is cool SQLRNNR.

    I don't know if this would always work, but this at least works for the given puzzle to return it in 9 x 9:

    SELECT TOP 9...

  • RE: syntax near a subquery

    It is actually very similar to the construct for a cte. A CTE is in essence the new way of doing a derived table.

    Break down the query like this

    SELECT...

  • RE: Solving SUDOKU thru SQL Code

    Lynn Pettis (8/16/2011)


    SQLRNNR (8/16/2011)


    Blog post[/url] sneak peek.

    Sneak peek didn't work, at least for me.

    Crud - I had hoped it would since it worked for me. It is scheduled to...

  • RE: syntax near a subquery

    It is not a common syntax, but it is listing the column names for the virtual table created by that subquery.

    Here is syntax that is easier to read.

    DECLARE @studentID INT...

  • RE: Grant dbo_owner role

    That is a fast and easy enough way to do it.

    I would suggest creating a domain group and adding users to that domain group. Then add the domain group...

  • RE: database diagram in management studio

    Interesting. Mine displays the links between tables for those that already have FKs defined.

    I'd look at doing this through a different tool. You may not want to make...

  • RE: Solving SUDOKU thru SQL Code

    Blog post[/url] sneak peek.

  • RE: Solving SUDOKU thru SQL Code

    Late - but maybe still worth it. I'll be posting a blog on it shortly.

  • RE: database diagram in management studio

    It generally creates those links if the keys already exist.

    Do you already have FKs defined?

  • RE: Configuring FILESTREAM for RBS

    I would ensure the RBS filegroup for each content database had a different name. I would also test it heavily in a dev/qa environment and ensure it works. ...

Viewing 15 posts - 9,031 through 9,045 (of 19,562 total)