Viewing 15 posts - 931 through 945 (of 1,366 total)
Hope this will help
sp_configure 'show advanced options',1 ;
GO
RECONFIGURE;
GO
sp_configure 'blocked process threshold',5 ;
GO
RECONFIGURE;
GO
---------------------------------------------------
--Create a Queue
declare @rc int
declare @TraceID int
declare...
May 26, 2010 at 1:10 am
third party tool like sql heart beat will help..
u can view blocking by sp_who2
May 26, 2010 at 12:27 am
Thanks Perry I modified the script liek this..
SELECT
CONVERT(NVARCHAR(10), state_desc) COLLATE Latin1_General_CI_AS + ' ' +
CONVERT(NVARCHAR(10), permission_name) COLLATE Latin1_General_CI_AS +
' ON [' + sch.name + '].[' + obj.name...
May 25, 2010 at 10:28 pm
Thanks a ton Perry
What if we have 100+ users?
I need to get the same of each and every user in a database.
May 25, 2010 at 10:23 pm
You want to know how it looks and more indepth
click this http://www.sqlservercentral.com/articles/SQL+Azure/68333/
May 21, 2010 at 1:12 am
set nocount on
DECLARE @test-2 varchar(20), @key varchar(100)
if charindex('\',@@servername,0) <>0
begin
set @key = 'SOFTWARE\MICROSOFT\Microsoft SQL Server\'
+@@servicename+'\MSSQLServer\Supersocketnetlib\TCP'
end
else
begin
set @key = 'SOFTWARE\MICROSOFT\MSSQLServer\MSSQLServer \Supersocketnetlib\TCP'
end
EXEC master..xp_regread @rootkey='HKEY_LOCAL_MACHINE',
@key=@key,@value_name='Tcpport',@value=@test OUTPUT
SELECT 'Server Name: '+@@servername + ' Port Number:'+convert(varchar(10),@test)
May 18, 2010 at 4:16 am
Even if ur database is in 2000 u can create SSIS package..
Or
U can craete a stored procedure for the same
May 18, 2010 at 12:00 am
U sure u installed the same version u had earlier and then trying to attach the DB??
May 17, 2010 at 10:03 pm
You might be having all .mdf & .ldf files..Try to attach all database to new instance..You need to recreate all users and jobs if u dont have master and msdb...
May 17, 2010 at 2:59 am
Viewing 15 posts - 931 through 945 (of 1,366 total)