Viewing 15 posts - 961 through 975 (of 1,363 total)
Thanks for your replies guys. As per Matt I think if sql native client is there then there is no need of specifying failover partner in connection string but if...
November 14, 2008 at 5:47 am
Which version and service pack of sql server are you running? I tested it on my standard Edition, SP2 and job didn't run once its disabled even though schedule was...
November 13, 2008 at 3:49 pm
Try this:
SET NOCOUNT ON
Drop Table #Usersdetail
Create Table #Usersdetail
(
IDintidentity(1,1),
DBName sysname ...
November 13, 2008 at 3:10 pm
After users are moved make use of below mentioned stored procedure for resolving orphan user problem:
CREATE PROCEDURE SP_AUTOFIX_SQL_USERS_FOR_ALL_DBS
AS
declare @Dbname Varchar(100)
DECLARE Database_cursor CURSOR FOR Select name from sysdatabases Where dbid...
November 13, 2008 at 2:48 pm
Check the index fragmentation and execution plan of query.
MJ
November 13, 2008 at 2:26 pm
Massage is correct you cannot delete the primary data file from your database. In your case its file in E drive so you won't be able to drop it.
MJ
November 13, 2008 at 5:09 am
Please add and islogin=1 to your where clause as on my installation its displaying rows for userid which is not there under sysusers and not under syslogins too(its weird but...
November 12, 2008 at 1:47 pm
Take backup of existing user databases or keep their mdf and ldf files before you do any changes to existing installation.
MJ
November 12, 2008 at 10:54 am
How many rows are there in transactions table? If its a big table then try indexing this field fld1 which u said is slowing down the query and see if...
November 12, 2008 at 10:41 am
It would be better if you make use of cursor and do the same. One time cursor run is fine.
MJ
November 12, 2008 at 10:36 am
You can change the name of the virtual server, you cannot change the instance name. For example, you can change a virtual server named VS1\instance1 to some other name, such...
November 12, 2008 at 9:54 am
Check under jobs in enterprise manager to see if there is any job which is under execution.
MJ
November 11, 2008 at 4:22 pm
Contact the database administrators and ask them whether there is any maintenance going on the database or is there any maintenance job(running in background) that lock the database before it...
November 11, 2008 at 2:52 pm
Mirroring is database specific it has nothing to do with rest of the B,C,D databases for which its not being configured. Also, the source database in mirroring is available for...
November 11, 2008 at 2:49 pm
Try to find out the object occupying space there by querying sysindexes table:
select * from sysindexes
where groupid='Blob object filegroup ID(from sysfilegroups)'
MJ
November 11, 2008 at 2:42 pm
Viewing 15 posts - 961 through 975 (of 1,363 total)