Forum Replies Created

Viewing 15 posts - 2,701 through 2,715 (of 7,164 total)

  • RE: Today's Random Word!

    Milton, John

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SSIS Package Won't Stop Running and Locking Files

    Do you have logging in place that tells you exactly which task (and command) is executing when it begins hanging?

    Are you using File System Tasks or some other method to...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Dynamic SQL, Ownership Chaining, and EXECUTE AS

    kramaswamy (12/13/2012)


    Interesting - so for cross-database calls, this approach will not work? In which case, what will need to be done - the calling login will have to have access...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: TempDB Growing MDF

    peter-661823 (12/13/2012)


    Thanks for Reply

    I looked at the growing Events as told in the link, with the script

    ECLARE @path NVARCHAR(260);

    SELECT @path = REVERSE(SUBSTRING(REVERSE([path]), CHARINDEX('\',...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Dynamic SQL, Ownership Chaining, and EXECUTE AS

    jeetsingh.cs (12/13/2012)


    See you can also try to give access permission on master and grant on sp_executesql..

    That is not likely to help. All server logins automatically get a database user created...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: TempDB Growing MDF

    tempdb can also grow due to maintenance jobs, e.g. if CHECKDB spills. Have you established a timeline when tempdb does most of its growing? If it is happening during a...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Dynamic SQL, Ownership Chaining, and EXECUTE AS

    I use option 2 all the time using a login-less Database User. This way the procedure executes as a Database User with elevated permissions but no one can ever connect...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Can I use the container name in an expression for a control flow task

    aaron.reese (12/12/2012)


    Hi guys,

    I have an SSIS package that currently bulk inserts 21 files using SQL Tasks that all call a stored proc. The sp takes 5 variagles (db, schema,...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SSIS Package Won't Stop Running and Locking Files

    There are lots of reasons why an SSIS package can hang. The fact that when you kill the job yet the instance of dtexec.exe persists means you have something going...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: select top 1 row for each customer

    This SSC article covers this topic well and shows both the window function method and the cross apply method:

    Returning the Top X row for each group (SQL Spackle) by Dave...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SQL server collation with widest data range for character support

    There is no one-size-fits-all collation. If you are asking because some of your characters appear to have been eaten by SQL Server and replaced with question marks when you store...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SQL Audit, Database Snapshots and Extended Events

    opc.three (12/12/2012)


    This response from Jonathan Kehayias to a similar question talks about possibly using a technique where we would capture the "sqlserver.lock_acquired event with the sqlserver.sql_text and sqlserver.tsql_stack actions" which...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Grant (permission) on database:: ... where can I see these?

    It would be advisable to create User-defined Database Roles, add your Database Users to the Roles, and only grant permissions or Fixed Role Membership to those Roles. The Roles will...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Stand by/read only database on SUSPECT

    PS Did you ever figure out why the database went to Suspect? Was there anything of interest in the SQL Server Error Log?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Stand by/read only database on SUSPECT

    yi.hua72 (12/10/2012)


    Hi all, I had the issue twice back to June, and Oct this year.

    Our environment uses log shipping between two long distance geographical locations. One day on June(another on...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 2,701 through 2,715 (of 7,164 total)