Viewing 15 posts - 6,376 through 6,390 (of 7,191 total)
SELECT [name] FROM sysobjects
WHERE uid = USER_ID('User_to_be_dropped')
This will give you a list of objects owned by that user. You will then have to decide whether to drop...
June 6, 2007 at 4:21 am
Magic! Ron, you're a genius. I ran process mon and I noticed that I had an invalid path for sqlagent.out. I changed that in the registry and it worked. Thanks...
June 6, 2007 at 3:42 am
Thanks for the tip, Ron. I'll try that and let you know how I get on.
John
June 6, 2007 at 2:18 am
Frances
Without an explanation of how the actual result set differs from the anticipated one, never mind any DDL or sample data, it's difficult to help you. However, I don't think...
June 5, 2007 at 9:00 am
Paul
What login does SQL Server Agent use to connect to the database? Does it have permission to execute DBCC SHRINKFILE?
John
June 5, 2007 at 6:19 am
That's helpful, but it's not a perfect analogy. The very fact that you have to go to the page to get the data means that it isn't a covering index for the...
June 4, 2007 at 9:36 am
Davor
I can't think of any way of doing that server-side. You'd need to configure your application to do that.
John
June 4, 2007 at 12:56 am
Anders
That'll probably be it, then. A quick fumble in Books Online and I found this: "Scalar-valued functions must be invoked by using at least the two-part name of the function". ...
June 1, 2007 at 8:08 am
Davor
If you change the default schema of the calling user to dbo then you shouldn't need to qualify the name of the function. Bear in mind that if the user...
June 1, 2007 at 4:29 am
One more thing in favour of separate instances is collation. Although you can have different collations for each database (indeed you can specify collation down to the column level), if...
June 1, 2007 at 4:08 am
Carl
I'm not sure about using -c -m. I've only tried it with -f. See if that works for you.
John
May 31, 2007 at 8:53 am
Yes, or back up msdb2 and restore as msdb. This has the advantage of avoiding stopping SQL Server (I think you can restore msdb without starting SQL Server with special...
May 31, 2007 at 8:39 am
Carl
The mssqlsystemresource database has to be moved to the same location as master, but it doesn't automatically get moved with it. Start the server with the parameters /f /T3608, then...
May 31, 2007 at 8:34 am
Jan
Yes, but only the data in the indexed columns. Going back to my example, if you wanted SELECT d, e, f FROM MyTable WHERE a = 10, the index would...
May 31, 2007 at 6:04 am
Jan
A covering index is a covering index with respect to a particular query. So if your table contains columns a, b, c, d and f, and you have a non-clustered index...
May 31, 2007 at 4:15 am
Viewing 15 posts - 6,376 through 6,390 (of 7,191 total)