Viewing 15 posts - 9,676 through 9,690 (of 18,923 total)
The only way you could do this is run a continual trace to see all executed statements. Then after the predetermined period of x (30) days, you try to find...
July 6, 2007 at 7:38 pm
Here's one question :
What do the employees have to do with the attendance in the same resultset?
I'd do 2 reports and show the 2 reports on a master report...
July 6, 2007 at 3:31 pm
Run that with a few date formats and see how consistant the results are. They are never gonna be the same from one time to the next.
July 6, 2007 at 2:38 pm
Anyone can post a sample script for the osql solution? I'd like to learn something else today
.
July 6, 2007 at 2:01 pm
Exactly... been burned by that one before!
July 6, 2007 at 1:58 pm
Click on Steve's name to see his profile, then find and hit the PM link. That way he gets a notification that there's something to do.
July 6, 2007 at 1:15 pm
That's what happens when you read too fast. I thaught you wanted to DELETE the property, and not disable it for a while.
If you only need to temporarely disable, then...
July 6, 2007 at 12:56 pm
Just throwing this out...
It might even be faster to create a brand new clean DB (with the modifications), then reload all the data. Might be about as fast, but the...
July 6, 2007 at 12:46 pm
small install app could handle that without any problem. I'm guessing osql as well but I never used that so I can't tell for sure.
July 6, 2007 at 12:42 pm
Fastest way is through EM. Because all constraints and indexes must be destroyed / rebuilt in that process.
July 6, 2007 at 12:31 pm
Why can't you hardcode the dbname in the script?
USE DbName
GO
IF EXISTS... DROP VIEW
GO
CREATE VIEW...
GO
Any other option will involve creating a file on the fly with the correct db name, directly...
July 6, 2007 at 11:44 am
Hmm, looks like the dynamic sql doesn't work in this context.
In which context do you need to run this script?
July 6, 2007 at 11:15 am
Viewing 15 posts - 9,676 through 9,690 (of 18,923 total)