Viewing 15 posts - 5,116 through 5,130 (of 7,191 total)
Search this site (or elsewhere) for "simple recovery model" and read about recovery models and backing up the transaction logs. One of the things you'll notice is that you...
August 25, 2011 at 1:29 am
SELECT recovery_model_desc
FROM master.sys.databases
WHERE [name] = '<InsertYourDatabaseNameHere>'
As for backing up the log, I imagine that if you don't know whether you do it, then you don't do it. When you...
August 24, 2011 at 8:32 am
Right, so if I understand correctly, you are restoring a database from instance A to instance B? Does the user SVCREMOTE exist in the database on instance A? ...
August 24, 2011 at 7:30 am
Yes and yes. There are certain commands that will truncate the log without backing it up. I suggest you go to the link that Jason posted - I'd...
August 24, 2011 at 7:20 am
Looks like you have an orphaned user in your restored database. Remap it after the restore with the ALTER USER command. The syntax is something like this (I'm...
August 24, 2011 at 7:12 am
You can probably do this without a cursor, although it would be messy. However, this kind of display formatting is better done in the presentation layer than in the...
August 24, 2011 at 7:06 am
Is your database in Full recovery mode? How often, and when, do you back up your transaction log?
John
August 24, 2011 at 6:59 am
Sean Lange (8/23/2011)
It is WAY faster and yes a better solution if you know the tables and columns.
But what was quoted wasn't the whole solution. See my first post...
August 23, 2011 at 7:53 am
Yes, there almost certainly is a better solution. But you haven't posted any DDL or data for EVENTS, so we can't offer you any tested code. A good...
August 23, 2011 at 6:35 am
On a default Windows installation (depending on the version), it's C:\WINDOWS\system32\drivers\etc\hosts. But you didn't need to ask me that - you could have just typed "hosts file" into your...
August 23, 2011 at 6:24 am
In the Derived Column Transformation Editor, there's a list of date/time functions. Pick one of those. If you're unsure of the syntax, use a search engine - there's...
August 23, 2011 at 6:19 am
Ask your network people whether there's a DNS alias set up on the DNS server. alternatively, have you checked your hosts file to see whether there's an entry in...
August 23, 2011 at 6:16 am
Have you checked the sqlagent.OUT file? That will tell you why it's failing. If the file doesn't exist, or the date on it is older than the last...
August 23, 2011 at 4:12 am
Create a new data flow and use a derived column transformation to split the date into its constituent parts.
John
August 23, 2011 at 4:04 am
Viewing 15 posts - 5,116 through 5,130 (of 7,191 total)