Viewing 15 posts - 1 through 15 (of 31 total)
EXEC sp_MSForEachTable ‘ALTER TABLE ? CHECK CONSTRAINT ALL’
September 15, 2011 at 7:19 am
Run EXEC sp_depends 'Table_Name' to check the objects referred to the table
August 22, 2011 at 7:08 am
Thanks.
Looks like NOT NULL in SQL Server if only use single "?", I mean LIKE ?
July 25, 2011 at 3:09 pm
master..xp_cmdshell 'ipconfig'
GO
SELECT SERVERPROPERTY('ProductVersion') AS 'ProductVersion'
GO
DECLARE @chvDomainName NVARCHAR(100)
EXEC master.dbo.xp_regread 'HKEY_LOCAL_MACHINE', 'SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon', N'CachePrimaryDomain',@chvDomainName OUTPUT
SELECT @chvDomainName AS DomainName
GO
DECLARE @tcp_port nvarchar(5)
EXEC xp_regread
@rootkey = 'HKEY_LOCAL_MACHINE',
March 16, 2011 at 12:37 pm
grahamc:
Could you offer the detailes please?
Thanks
November 23, 2010 at 8:30 am
Adiga & Adam:
Thanks for the reply.
I remember there are 5 log files on SQL Server 2005. Could you offer other three and default location like SQL Server Engin error log...
October 29, 2010 at 8:59 am
Nary:
I think so. However I wish I can do something on existing databases.
Thanks
October 18, 2010 at 9:47 am
Leo & All:
I got the solution and would like share it with all.
At begining, I setup a linked Server (LinkedServerB) on ServerA. This linked server was mapped from SA to...
October 12, 2010 at 2:03 pm
Adiga:
Thanks for the reply.
I setup the linked server by,
1) Right click "Linked Servers" - New Linked Server
2) Linked Server: SQLServer2000
3) Server Type: Select SQL Server
4) Security:
click Add
Local Login:...
October 8, 2010 at 7:58 am
Ben:
Could you explain the details please?
Thanks.
September 28, 2010 at 1:10 pm
I have the same problem. I changed BAK to bak, then it works.
September 16, 2010 at 1:48 pm
Suppose you have email profile name, please run this qurey under msdb:
select a.Name Mail_Profile_Name, s.port
from dbo.sysmail_account a INNER JOIN dbo.sysmail_server s ON a.account_id = s.account_id
WHERE a.Name ='Your Mail...
August 31, 2010 at 8:18 am
I am not sure the architecure of your applications. But this script can offer the machine from SQL Server side:
SELECT 'MachineName', SERVERPROPERTY('MachineName')
August 30, 2010 at 6:48 am
Viewing 15 posts - 1 through 15 (of 31 total)