Viewing 15 posts - 46 through 60 (of 69 total)
This sproc was pushed to the back burner until now. Now that it is resolved on my end, I just wanted to update the post with the solution I used....
July 24, 2008 at 1:44 pm
There is no harm in using it. I've been using that sproc (and the sp_MSForEachTable) for quite a long time with out any problems. But officially MS doesnt support it....
July 21, 2008 at 4:07 pm
My bad!!
There is line in there that says
and name like ''tester''
you have to comment out that specific line, replace it with
/*and name like ''tester'' */
This like of...
July 21, 2008 at 3:44 pm
Two things:
1. The script (2nd) was not giving the db name earlier, so had to make a small edit to the script. I wonder if you have picked...
July 21, 2008 at 2:19 pm
Actually, here is the complete script for all the databases.
IF EXISTS (SELECT TOP 1 *
FROM Tempdb.sys.objects...
July 21, 2008 at 11:44 am
I got this below code from sp_helpuser sproc.
This will server your purpose, but you will have to run it on each db seperately.
you can try using "sp_MSForEachdb" sproc...
July 21, 2008 at 11:23 am
you can use sp_helpuser
exec sp_helpuser 'tester'
results:
UserName GroupName LoginName DefDBNameDefSchemaNameUserIDSID
tester db_datareader NULL ...
July 21, 2008 at 9:00 am
Actual database files are organized on D:,E:,F:,G:
And this crash occured due to multiple power failures. Which makes me think that its the boot sector thats corrupt.
I was thinking that...
June 6, 2008 at 7:39 am
Thank you Lynn.. It worked beautifully...
🙂
June 5, 2008 at 5:35 pm
🙁
Tested that and realized...
Thanks tho..
June 5, 2008 at 3:58 pm
Thanks Lynn, I will try that!!
Also, Since i already have restored the Full backup can't I do,
RESTORE DATABASE [db1]
NOUNLOAD, NORECOVERY;
and then restore the Differential
Will try both and...
June 5, 2008 at 3:49 pm
Thanks Paul!!
I will test it using the permanent tables.
At this point I think it has to do with the Parameter Sniffing. For this reason (i think), the SQL server...
June 4, 2008 at 7:48 am
First execute everything from query analyser or development studio that rules out any effects of the ado or ado.net layer you that's what you are using.
I tried this, it takes...
June 3, 2008 at 9:43 am
Thanks for the response Mohammed!!
I tried the WITH RECOMPILE option, with no effect.
Also, SP_Recompile will recompile the sproc once, in effect doing what With Recompile option is doing...
June 2, 2008 at 3:14 pm
Viewing 15 posts - 46 through 60 (of 69 total)