Viewing 15 posts - 2,056 through 2,070 (of 7,187 total)
I've given you a SELECT statement and a DELETE statement. What more do you need?
John
December 29, 2016 at 7:48 am
haichells (12/29/2016)
LOG_BACKUP - I get this in the query you gave.
There's your answer. Make sure that all databases (replicated or not) that are in Full recovery mode have regular...
December 29, 2016 at 5:17 am
The log file for which database - the publisher or the subscriber? Are all subscribers currently in synch with the publisher? What do you get if you run...
December 29, 2016 at 4:58 am
SQLserver_learner (12/29/2016)
December 29, 2016 at 4:28 am
Not sure how we're going to get you the exact query when you haven't posted the required results based on the sample data. The CREATE TABLE and INSERT statements...
December 29, 2016 at 3:36 am
Well, if the database structure really is as you posted it earlier, you wouldn't get the error message you described - you'd get this one:
[font="Courier New"]Could not locate file 'dbname'...
December 28, 2016 at 8:35 am
Snargables (12/28/2016)
When I try DBCC SHRINKFILE with EMPTYFILE i am getting error
Please post the command that you're attempting to run.
Simply taking backups of the transaction logs who aren’t in the...
December 28, 2016 at 8:13 am
You need double quotes for each file path that contains a space, not just one pair for the whole lot - something like this:
exec master..xp_cm dshell 'copy "\\server_a\D$\Program Files\Microsoft SQL...
December 28, 2016 at 7:13 am
Which bit do you need help with - checking the fragmentation or sending the e-mail? Use the dm_db_index_physical_stats function to get fragmentation levels. Use sp_send_dbmail to send the...
December 28, 2016 at 4:48 am
Rod
If you don't specify a collation when you create the database, it will indeed inherit the server collation. I'd say the most likely explanation for your situation is that...
December 23, 2016 at 5:44 am
MFlanagan 91357 (12/22/2016)
December 23, 2016 at 3:08 am
You've posted in the SQL Server 2008 forum, so I assume that's what you're using. If so, search this site (or elsewhere) for Running Totals. If you're on...
December 23, 2016 at 2:40 am
Once you've got the views created, the rest is easy. All you need to do is grant SELECT on the views to all users, and revoke SELECT on the...
December 22, 2016 at 9:53 am
The problem here appears to be that you've got too many (more than one, that is) different pieces of information stored in each value of nine_data. Such denormalisation may...
December 22, 2016 at 9:07 am
It gives info for all active sessions. If you have the patience, you can look at the stored procedure definition and try to find the part that retrieves tempdb...
December 22, 2016 at 7:48 am
Viewing 15 posts - 2,056 through 2,070 (of 7,187 total)