Forum Replies Created

Viewing 15 posts - 961 through 975 (of 7,164 total)

  • RE: Email Formatted HTML Table with T-SQL

    Jeff Moden (6/20/2013)


    SQL-DBA (6/20/2013)


    Jeff Moden (6/19/2013)


    I don't believe you'll find anyone more pro-xp_CmdShell or pro_BCP than myself but I can't figure out why you bothered with either for this task...

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

  • RE: Email Formatted HTML Table with T-SQL

    Jeff Moden (6/19/2013)


    Why didn't you just use sp_SendDBMail which can take a 2GB VARCHAR(MAX) body with the custom HTML formatting from your article?

    Amen. You took the words right out of...

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

  • RE: Today's Random Word!

    Voight

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

  • RE: How to prevent ANY use of xp_CmdShell?

    Heh... read my post. I didn't say you called me any names. Normally it takes some name calling to get a PM like that from someone and I'm just making...

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

  • RE: User (db_datareader) can't see tables in MS; can SELECT data!

    Ness (6/17/2013)


    Roy gave the answer. This is expected behaviour if the login is not granted view definition

    Not exactly. Revoke (i.e. not being granted or denied a permission) is different than...

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

  • RE: SCCM Security Config for SQL Servers

    If all SCCM is doing in inspecting System Views, Catalog Views and DMOs then you may be able to go to something like this:

    1. Create a Login for the SCCM...

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

  • RE: How to prevent ANY use of xp_CmdShell?

    Jeff Moden (6/15/2013)


    opc.three (6/15/2013)


    One good turn deserves another Jeff. You started this one.

    Absolute rubbish, Orlando. I've not called you any names nor used the kind of language you've used...

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

  • RE: How to prevent ANY use of xp_CmdShell?

    Jeff Moden (6/15/2013)


    My reference to "More costly" is because, if you install it on a different box, you have the cost of the different box and licensing changes (IIRC). ...

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

  • RE: BULK INSERT with Data Containing Single Quotes

    To augment what Ed mentioned and highlight the .net aspect of your post. There is q class that is part of the .net framework called SqlBulkCopy that is an interface...

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

  • RE: Appending multiple datasets with different columns and data types in the same file in ssis

    One option: use a Script Task to write each resultset to the same file one after the other.

    Another option: use a Transformation Script Component to change the...

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

  • RE: How to prevent ANY use of xp_CmdShell?

    Jeff Moden (6/13/2013)


    I agree with almost everything you said except the last part. I don't consider using SSIS (for example) to be a "more robust" way of doing things....

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

  • RE: Import Dynamic File Name with a Date/Time as the file type (YYYYMMDDHRMMSS)

    Jeff Moden (6/12/2013)


    Ah, crud. As soon as I find a method to prevent usage of cmd.exe, I find someone with easy methods to blow through the prevention. I've...

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

  • RE: How to prevent ANY use of xp_CmdShell?

    Jeff Moden (6/12/2013)


    Ok, Orlando... I'd really be interested in how that bit of fine code could be modified to reject usage of cmd.exe

    It cannot. I was only showing that it...

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

  • RE: Import Dynamic File Name with a Date/Time as the file type (YYYYMMDDHRMMSS)

    Jeff Moden (6/12/2013)


    opc.three (6/12/2013)


    In my estimation, and from seeing what developers typically produce and have left behind when left to their own devices when using it, xp_cmdshell guides developers into,...

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

  • RE: Finding a word\acronym in a field

    Reprinting from Simple Talk article CLR Assembly RegEx Functions for SQL Server by Example[/url] by Phil Factor:

    Imports System

    Imports System.Data.Sql

    Imports Microsoft.SqlServer.Server

    Imports System.Data.SqlTypes

    Imports System.Runtime.InteropServices

    Imports System.Text.RegularExpressions

    Imports System.Collections 'the IEnumerable interface is here ...

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

Viewing 15 posts - 961 through 975 (of 7,164 total)