Viewing 15 posts - 121 through 135 (of 167 total)
You can create DDL trigger as
CREATE TRIGGER ddlTrigger
ON ALL SERVER
FOR DDL_LOGIN_EVENTS
AS
.....
..
…
.
You can use EVENTDATA() function that returns info such as event time, SPID, and type of event firing...
November 4, 2008 at 4:48 am
The property you are required is identity. But i am afraid that you can not define identity for a view itself.
October 29, 2008 at 4:07 am
You can use crystal reports for JBuilder. Or if you want every thing from scratch then you may look in to JDBC classes for support.
October 29, 2008 at 3:41 am
Use sp_addlinkedserver
instead of sp_addserver
but as markusB said it will work for default instance only. For named instance it will not work.
October 29, 2008 at 3:38 am
sp_change_users_login @Action='update_one',
@UserNamePattern='username',
@LoginName='dbo'
GO
provide name of your user in 'username' and then try to map the user by running above command.
October 27, 2008 at 5:09 am
Use 'SQL Server profiler' primarily. Depending upon concurrent client requests consider your memory and disk configurations. When your system get slow use OS utilities to monitor CPU and memory usage...
October 27, 2008 at 5:06 am
To confirm the reason given in error message use following commands by selecting tempdb
DBCC showfilestats
sp_spaceused
DBCC CHECKALLOC
sp_helpdb tempdb
If it is confirm that issue is due to full file...
October 22, 2008 at 11:06 pm
You can use ad hoc query with open row set in following way
SELECT *
FROM OPENROWSET('SQLNCLI','dba\test';'sa';'test',
'SELECT * from pubs..authors')
Go
where dba\test is instance sa is id and test is pwd
October 22, 2008 at 2:38 am
As extension indicates pagefile is system file and windows may be accessing it for memory allocation to several processes. So you may not customize its security. Its under OS control....
October 17, 2008 at 12:44 am
use following by giving scalar function name
sp_help 'scalar function name'
October 16, 2008 at 2:51 am
Try to identify process that is using your file. You may use any utility like task manager or process explorer.
October 15, 2008 at 3:01 am
Are you able to complete backup process manually? and also try system restart.
October 15, 2008 at 1:44 am
Try using local windows account for SQL Server agent and other services. If that solves the problem then later you may trouble shoot the domain account permission and connectivity issues.
October 15, 2008 at 1:41 am
I have used red gate tools and found them gud. But i would suggest that you should use trial versions for these three and analyze the best according to your...
October 6, 2008 at 11:38 pm
Try following
--To delete backup history of all databases before '2007-07-07'
USE msdb
...
October 6, 2008 at 3:08 am
Viewing 15 posts - 121 through 135 (of 167 total)