Viewing 15 posts - 21,916 through 21,930 (of 22,184 total)
By default there's a button that looks like a scroll with a disk in front of it that is "Generate Change Script." Clicking on that button will show the script...
April 10, 2007 at 8:18 am
It's a database mail error.
April 10, 2007 at 7:00 am
There isn't a single answer to a question like this. I'd start by looking over the best practices as listed by Microsoft here: http://www.microsoft.com/technet/prodtechnol/sql/bestpractice/default.mspx
Specifically some information on storage:
April 10, 2007 at 6:54 am
That sounds odd. That's a database mail error. According to BOL either the profile specified doesn't exist or the user running doesn't have permission to access the profile. You may...
April 10, 2007 at 6:41 am
Ah, those wonderful 3rd party apps.
I really found next to nothing documented on that process. You may want to open a call with MS. I'd also contact the vendor and...
April 10, 2007 at 5:41 am
SP2 seems to introduce almost as many problems as it fixes. That said, if I were doing an install today and didn't face one of the specific issues that SP2...
April 9, 2007 at 11:50 am
Since this posted in SQL Server 2005, why not use nvarchar(max)? No problems there, stores the same data.
April 9, 2007 at 11:45 am
What about using sp_msforeachdb along the lines of
'SELECT [TABLE_NAME]
FROM ?.INFORMATION_SCHEMA.TABLES'
Substitute where you need to. This works across all the database and eliminates the need for a cursor.
April 9, 2007 at 9:34 am
I've mainly grown my best practices over time. We record them locally as we discover new ones that we didn't know we need. MS has some help in this area....
April 5, 2007 at 1:43 pm
It must be a system proc. There's not only nothing BOL. There's nothing at MSDN. There's nothing at TechNet. There's precious little on a google search. What are you mucking...
April 5, 2007 at 11:18 am
Sure, it's a common table expression. It's new in 2005. They function similar to derived tables, but can be referenced multiple times in a give procedure and, most importantly for...
April 5, 2007 at 11:15 am
And the recursive section of BOL has an example doing almost exactly what is being requested here. You ought to be able to take the example & make it...
April 5, 2007 at 11:00 am
We took a script from SQL Server Central that checked fragmentation and then decided whether or not to reindex or defragment (great script, used it for years, I'm not sure...
April 5, 2007 at 10:54 am
Oops. Did a bit more testing & found you need to add this at the end:
OPTION(MAXRECURSION 0);
Or you could...
April 5, 2007 at 10:46 am
No promises on performance but:
DECLARE
@BeginDt DATETIME;
DECLARE @EndDt DATETIME;
SET
@BeginDt =
April 5, 2007 at 10:40 am
Viewing 15 posts - 21,916 through 21,930 (of 22,184 total)