Viewing 15 posts - 61 through 75 (of 86 total)
In a typical disaster (Is there such a thing as a typical disaster?) you would rename the new server the same as the old server, so that you wouldn't have...
February 6, 2009 at 8:49 am
Assuming that you are testing the database after restore, then yes, you should feel pretty comfortable. At the last company that I was at, we did full disaster recovery...
February 4, 2009 at 12:39 pm
I don't think you need to simulate a hardware failure. You just need to simulate your restore process. That could be just restoring the database from backup or...
February 4, 2009 at 12:22 pm
February 4, 2009 at 12:05 pm
It sounds like you're talking about two different things. Like GSquared said, truncating occurs automatically after you backup the log file. Shrinking the size of the log file...
February 4, 2009 at 11:45 am
It's much better to look for a job when you already have one, than when you're unemployed. It allows you to be much more selective and find the best...
February 4, 2009 at 8:12 am
I used to work at an insurance company and we had a similar requirement. We used two columns, an effective date and an end date. So when querying,...
February 3, 2009 at 12:24 pm
I reread your post above. Sounds like a rather strange requirement. I'm not sure why you wouldn't just want everything that is a month older. That would...
February 3, 2009 at 7:58 am
It sounds like you need to evaluate the individual date parts instead of the whole date. Something like this might work.
SELECT *
FROM #Month
WHERE DATEPART(dd, DateCreated) = DATEPART(dd, GetDate()) AND...
February 3, 2009 at 7:41 am
Srikanth,
Visio determines the relationships based on the primary/foreign key relationships that are in the database. Does the database that you are reverse engineering have those relationships? If...
January 29, 2009 at 7:31 am
In Visio, there is an option to reverse engineer a database. It works pretty well. I've never been a fan of the built-in database diagrams.
Greg
January 29, 2009 at 6:22 am
Another option is to pull those distinct values into their own table, basically a subset table, where the UNIQUEIDENTIFIER can be your primary key. Then you would have a...
January 28, 2009 at 9:08 am
The username needs to be in [brackets] like this:
GRANT EXEC ON dbo.plcStoredProc to [Domain\rptsqluser1]
Hope this helps,
Greg
January 22, 2009 at 2:52 pm
You're right. CTEs are limited in that they are meant to be a one-time view that gets used immediately and then destroyed. To do what you intend, you...
November 10, 2008 at 9:01 am
CTEs can be used to replace derived tables, temporary tables or table variables. They tend to be more readable than using nested subqueries. In fact, they're very good...
November 10, 2008 at 8:07 am
Viewing 15 posts - 61 through 75 (of 86 total)