Forum Replies Created

Viewing 15 posts - 4,951 through 4,965 (of 7,164 total)

  • RE: Many-to-many Junction table opinions?

    JQAllen (2/28/2012)


    PRIMARY KEY CLUSTERED (requisitionID ASC, parentRequisitionId ASC))

    The PK above means that AB and BA cannot both be records in that table.

    Ummm, maybe logically speaking, but not in terms of...

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

  • RE: Many-to-many Junction table opinions?

    JQAllen (2/28/2012)


    George,

    In the first part of your post it sounds like you want to implement a simple recursive relationship, i.e., parent-child.

    CREATE TABLE [Relation](

    requisitionID [int] NOT NULL,

    parentRequisitionId [int] NOT NULL,

    CONSTRAINT [PK_Relation]

    PRIMARY...

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

  • RE: security settings for agent account/tsql proxy

    Some possible options:

    - If you're just reading base tables in msdb in the dbo schema and not catalog or system views then can you create a stored procedure in msdb...

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

  • RE: When to use Transparent Data Encryption (TDE)?

    Regarding the use of TDE in general, there will be a performance hit for CPU so plan on it...and if you;re leveraging native backup compression to keep your backup sizes...

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

  • RE: When to use Transparent Data Encryption (TDE)?

    If you're serious about protecting "at rest" data in all scenarios including protecting the mdf and ldf should someone get access to the server's file system then TDE is the...

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

  • RE: change in source field name or table name

    If you're accessing data using the table name then you have the option of renaming the table and replacing it with a view of the same name with the interface...

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

  • RE: Script to execute SSIS packages

    If all you need to do is execute a package then a single-line PowerShell script that calls dtexec.exe is all you need. e.g.

    dtexec.exe /f "C:\UpsertData.dtsx"

    See section "dtexec (SSIS Tool): Examples"...

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

  • RE: Windows Group as Login linked to User Login

    sudhirnune (2/21/2012)


    my challenge is : I need to find out the Windows Group to which the User Who Logged in belong to.

    All groups they belong to or the specific one...

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

  • RE: Script to execute SSIS packages

    Why are you trying to use PowerShell to execute SSIS packages? Why not use SQL Server Agent?

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

  • RE: cannot create login user when using application role

    ducvancong (2/19/2012)


    Hi !

    I create application role and grant all permission in database for it . but , when I want create new login and user in my application,...

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

  • RE: Using regular expressions and -split to parse log file

    Jeff Moden (2/19/2012)


    I agree that minimal logging <> no logging but it is very much reduced (miniscule, actually) from normal logging. And, although BULK INSERT won't do it, OPENROWSET...

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

  • RE: Using regular expressions and -split to parse log file

    Jeff Moden (2/18/2012)


    opc.three (2/18/2012)


    Your problem is a classic one that IMO is not elegantly solved in current versions of T-SQL. The window frames coming out in SQL Server 2012 may...

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

  • RE: Using regular expressions and -split to parse log file

    TeraByteMe (2/18/2012)


    Sorry about the name confusion :-S. I must say that both the solutions (PowerShell & T-SQL) are very elegantly done.

    You are correct about each code solution's elegance, for...

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

  • RE: Using regular expressions and -split to parse log file

    TeraByteMe (2/17/2012)


    You guys appear to have a great grasp on working with Regular Expressions and PowerShell. Any resources (books, articles, etc...) that you can recommend?

    I have a fair amount of...

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

  • RE: Using regular expressions and -split to parse log file

    I worked on this for a minute too. Since you're looking for subsequent lines to add value to your object's row it's back to that nasty loop logic...see if this...

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

Viewing 15 posts - 4,951 through 4,965 (of 7,164 total)