Forum Replies Created

Viewing 15 posts - 1,216 through 1,230 (of 7,164 total)

  • RE: store the select query result as variable and load on another table in ssis

    How to: Map Result Sets to Variables in an Execute SQL Task - SQL Server 2005

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

  • RE: Excessive sp_executesql usage

    As a side note, using sp_executesql is pretty much how every query from SMO (objects used by SSMS) is issued against the instance. The SQL Agent team coded their queries...

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

  • RE: Suggestions on ways to stay abreast of SQL updates?

    RSS Feed http://blogs.msdn.com/b/sqlreleaseservices/rss.aspx (courtesy of Gail Shaw for initially providing on these Forums)

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

  • RE: Why powershell?

    Jeff Moden (4/26/2013)


    I understand that working from the command prompt isn't the same as working through xp_CmdShell (seriously elevated privs can be found there). It was sounding like you...

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

  • RE: Why powershell?

    Jeff Moden (4/26/2013)


    opc.three (4/25/2013)


    I never said a regular PowerShell session offers more security than a regular cmd shell session when not running via xp_cmdshell. I said PowerShell is more robust...

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

  • RE: Why powershell?

    I never said a regular PowerShell session offers more security than a regular cmd shell session when not running via xp_cmdshell. I said PowerShell is more robust than cmd shell...

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

  • RE: Table size swell after altering a column

    All things being equal, going from VARCHAR to NVARCHAR should roughly double the size of your table. You might check for fragmentation in your clustered index (assuming the table is...

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

  • RE: Result of dynamic sql with parameteres into a variable

    If you add a CHECK CONSTRAINT to LINE_CODE on all your tables to let the optimizer know what values can exist in that table then the optimizer will be able...

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

  • RE: Result of dynamic sql with parameteres into a variable

    Can you please post the DDL for one of the TB tables, including all constraints?

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

  • RE: Result of dynamic sql with parameteres into a variable

    That's one way to try and abstract the poor table-design. When used in a query, the Optimizer will evaluate the contents of the VIEW so indexing on the referenced tables...

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

  • RE: Why powershell?

    Jeff Moden (4/24/2013)


    opc.three (4/24/2013)


    Who cares? Maybe nowhere. Maybe somewhere. But either way the files were deleted while Homer was logged in as himself. Do the same through xp_cmdshell and the...

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

  • RE: Table size swell after altering a column

    How are you checking the table size?

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

  • RE: Why powershell?

    Jeff Moden (4/24/2013)


    opc.three (4/24/2013)


    Xp_cmdshell does not maintain a users identity all the way through the stack, which impedes auditing and allows for obfuscation of the identity of the person running...

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

  • RE: Today's Random Word!

    Revenant (4/23/2013)


    opc.three (4/23/2013)


    Impasse

    It's called "deadlock," among us SQLS pros. 😉

    Heh...a SQL Pro would also know "it depends" on the context and environment 😉

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

  • RE: Why powershell?

    Personally I would not choose it for new development because I think PowerShell is a better choice, but I don't have a problem with VBS and currently support some of...

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

Viewing 15 posts - 1,216 through 1,230 (of 7,164 total)