Viewing 15 posts - 1,771 through 1,785 (of 6,104 total)
SELECT * FROM (TableName) WHERE birthdate IS NULL
K. Brian Kelley
@kbriankelley
March 22, 2007 at 9:13 am
USE DatabaseA
GO
EXEC sp_changedbowner 'sa'
GO
K. Brian Kelley
@kbriankelley
March 20, 2007 at 4:34 pm
I know you've re-attached as sa, but check the ownership of all three database again by using sp_helpdb '<database>'
If any of them aren't owned by sa, switch to that database...
K. Brian Kelley
@kbriankelley
March 20, 2007 at 12:16 am
I'm assuming you've tested it as a vbscript script on the server to see if you are getting the same error. The only thing I can think of is an...
K. Brian Kelley
@kbriankelley
March 19, 2007 at 11:25 pm
In the future, sp_changedbowner can set the database owner without you having to detach/attach. Did you set the cross db ownership chaining on all the databases before or after the...
K. Brian Kelley
@kbriankelley
March 19, 2007 at 10:39 pm
Can you restore the backup to another database server with enough space, shrink down the log file, take a backup and then restore it?
K. Brian Kelley
@kbriankelley
March 19, 2007 at 11:16 am
What is the error message?
K. Brian Kelley
@kbriankelley
March 19, 2007 at 10:44 am
It sounds like what you're trying to do can be more easily accomplished by using traces. Is there a reason you are avoiding those?
K. Brian Kelley
@kbriankelley
March 19, 2007 at 10:43 am
check your sqlsp.log to see if there was an error along the way. This should be in C:\Windows. You'll find the sp_dboption stored procedure in the sp3_serv_uni.sql sql script, which...
K. Brian Kelley
@kbriankelley
March 19, 2007 at 10:35 am
If cross database ownership chaining is on (as ALZDBA has pointed out is needed unless you define specific permissions), do the users have access to both databases? Also, are the...
K. Brian Kelley
@kbriankelley
March 19, 2007 at 9:55 am
I did work on it in SQL Server 2000 after observing how Microsoft attacked the problem for a particular contest. Here is the write-up I did:
I don't think anything...
K. Brian Kelley
@kbriankelley
March 19, 2007 at 9:53 am
There's a virtual lab available from Microsoft that covers this situation. I believe it's free, you just have to put up with a follow-up call from Microsoft. The lab should...
K. Brian Kelley
@kbriankelley
March 18, 2007 at 3:15 pm
When you registered the SQL Servers, I'm assuming you did so with Windows authentication. Did your Windows rights change on the servers themselves? If you aren't a member of the...
K. Brian Kelley
@kbriankelley
March 18, 2007 at 2:50 pm
Viewing 15 posts - 1,771 through 1,785 (of 6,104 total)