Viewing 15 posts - 91 through 105 (of 190 total)
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,...
June 26, 2012 at 7:39 am
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...
June 19, 2012 at 12:39 pm
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...
June 19, 2012 at 10:08 am
OOOOPS!
Sorry, the @ProfileName in the last query comment line is a variable left over in my code.
June 15, 2012 at 8:16 am
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...
June 15, 2012 at 8:14 am
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...
May 24, 2012 at 9:23 am
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...
May 22, 2012 at 6:40 am
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...
May 18, 2012 at 8:17 am
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...
May 17, 2012 at 2:16 pm
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...
May 17, 2012 at 12:14 pm
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...
May 17, 2012 at 12:06 pm
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...
May 17, 2012 at 7:51 am
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...
May 16, 2012 at 7:04 am
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...
May 15, 2012 at 6:26 am
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...
May 14, 2012 at 7:02 am
Viewing 15 posts - 91 through 105 (of 190 total)