Forum Replies Created

Viewing 15 posts - 91 through 105 (of 190 total)

  • RE: SQL and identifying backup software

    For what it's worth, here is what I use. It shows all the backups, the server, database, user name, start date, type (database, tranlog, etc.), size, physical file name,...

  • RE: Delete Trigger

    You could capture the HOST_NAME(). This gives the computer name that the user was on.

    I use this. Works great.

    Don't know if this gives you enough information to go...

  • RE: Adding Extended properties values if not present

    Here is what I use. It isn't pretty, but it gets the job done. Just set the context to the desired database and run this.

    You can change the...

  • RE: Database Mail Help

    OOOOPS!

    Sorry, the @ProfileName in the last query comment line is a variable left over in my code.

  • RE: Database Mail Help

    I would suggest just doing some simple testing using T-SQL.

    Try sending an email manually and see what it does. If using Exchange, ask the Exchange admin to check all...

  • RE: Can You Run a veiw with its own permissions?

    You can set permissions on a view. This can be very useful for several reasons:

    1) Lets you hide the complexity of joins, lookups, etc. in your code

    2) Lets you...

  • RE: SQL 2005 - Encrypting column data while storing in tables

    The database only holds the data, it does not do the encryption/decryption. Specialized functions accomplish that in column-level encryption (also in TDE, just at a different spot, and invisible...

  • RE: SSRS REPORTS SECURITY

    One of our vendors implemented Reporting Services on their solution by using local groups (created on the box with SQl Server and Reporting Services) to define the users and their...

  • RE: Testing Enterprise Backups

    Yes, that is what I do, but for 30 servers, many databases per server, how are you going to build the move statements without knowing where to put the new...

  • RE: Testing Enterprise Backups

    BTW - when I do scripts, I use the REPLACE function with the old drive:\directory structure\ and the new drive:\directory structure\ and just replace them for each file. These...

  • RE: Testing Enterprise Backups

    One thing to note is any difference in the drives and directories that the restored live data files go to. I have several SQL Servers myself, so any time...

  • RE: Clone a Login; SQL Server 2008 R2

    Don't know if this will help, but see this link for a script I wrote for creating an instance audit documentation script. If you set the @outputtype variable = 2...

  • RE: Import/Export

    Also, don't forget to use the sp_help_revlogin stored procedure (can find it on the web) to move the affected logins if they are not already moved. This SP moves...

  • RE: Update the description property of a table in SQL Server

    If it helps, here is a script that will create a script to set all values for documentation for the columns for all tables in a database. Just set...

  • RE: Need help creating case statements from a query.

    Andy:

    See if this is what you mean. I use this for the same thing. Change the select statement inside the cursor to the column and table you want...

Viewing 15 posts - 91 through 105 (of 190 total)