Forum Replies Created

Viewing 15 posts - 4,921 through 4,935 (of 7,168 total)

  • RE: How to encrypt sensitve column while restore?

    You could try some slight-of-hand. Restore the DB, then change your DB-context to the new DB and immediately set it to SINGLE_USER mode. This will lock everyone else out except...

  • RE: Service broker

    No. For msdb, model and tempdb issue ALTER DATABASE...MODIFY FILE to set them to the new location, shut down the instance, move the files (except tempdb, just delete files), then...

  • RE: Logging DTEXEC to a table

    How about something like this?

    IF OBJECT_ID(N'tempdb..#SSISLogging') IS NOT NULL

    DROP TABLE #SSISLogging;

    DECLARE @ImportPackage VARCHAR(160),

    @ImportPackageString VARCHAR(170),

    @ImportPackageStatus INT,

    ...

  • RE: SQL Auditing

    Sounds good, happy to assist! Just to drive the point home about connection pooling...any difference between two connection strings will cause them to be viewed as different connections by your...

  • RE: Logging DTEXEC to a table

    Purely using T-SQL? You would need to use xp_CmdShell and pipe the output into a table :sick:

    You could look at the option Koen provided, and I'll add one more to...

  • RE: SQL Auditing

    Sean, you beat me to it on the Application Name post by 4 minutes! Tsk tsk on the use of sys.sysprocesses here 😉

  • RE: SQL Auditing

    Option 1: Use Windows Authentication.

    You're describing the whole premise behind Windows Authentication! ...why are we using SQL Logins? Is this for a public-facing web app or an app with many...

  • RE: If I already have SQL 2008, do I need SQL 2008 R2, since SQL 2012 is due out soon?

    SQL Server 2008 and SQL Server 2008 R2 both offer the same maximum compatibility level, 100, so T-SQL that runs on SQL 2008 will have no issue running on SQL...

  • RE: Cross Database Queries

    If you setup a trace to capture the SQL:BatchCompleted event with the TextData column and add a filter on only the login name, i.e. do not add a filter on...

  • RE: DataBase Max Server Memory Setting

    You can change the max memory setting and it takes effect without requiring a restart. Here is a good guide on what to set it to:

    Suggested Max Memory Settings for...

  • RE: Using dynamic values

    Eugene Elutin (3/12/2012)


    opc.three (3/12/2012)

    ...

    Table '#test_objects'. Scan count 1, logical reads 1174, physical reads 0, read-ahead reads 0,

    lob logical reads 0, lob physical reads 0, lob...

  • RE: Using dynamic values

    Eugene Elutin (3/12/2012)


    opc.three (3/9/2012)

    Re: "you should try to make trigger as lightweight as possible"

    I could not agree more, Eugene. Unfortunately your example will force a full scan of the...

  • RE: SQL Server 2005 page life concern

    george sibbald (3/10/2012)


    opc.three (3/10/2012)


    Note: my comments pertain to 32-SQL Server Standard Edition running on 32-bit Server 2003 R2 with 4GB physical RAM and the /3GB switch enabled.

    george sibbald (3/7/2012)


    As...

  • RE: SQL Server 2005 page life concern

    I also failed to mention that the original symptom I was seeing that led me to go down the path of adding the 3GB switch and setting up LPIM was...

  • RE: SQL Server 2005 page life concern

    Note: my comments pertain to 32-SQL Server Standard Edition running on 32-bit Server 2003 R2 with 4GB physical RAM and the /3GB switch enabled.

    george sibbald (3/7/2012)


    As you only have...

Viewing 15 posts - 4,921 through 4,935 (of 7,168 total)