Viewing 12 posts - 1 through 12 (of 12 total)
Where is this class :
"Win32_PerfFormattedData_MSSQLSERVER_SQLServerMemoryManager"
I can not find it in my server and not in MSDN.
April 18, 2005 at 7:02 am
You can use a Window Script Host popup methode to popup a message and the message box will terminate itself after a defined time (second).
This methode is not an Event...
February 10, 2005 at 6:44 am
Add this script to your Activex script task to reboot the Server.
'To reboot the local machine
strComputer = "."
'To reboot other Machine
' strComputer = "10.231..." or Machine name
Set objWMIService = GetObject("winmgmts:"...
January 14, 2005 at 7:14 am
You can use SQL DTS to shutdown the Server and SQLDTS FTP to FTP files.
Use WMI Class Win32_OperatingSystem in the DTS Package to reboot the Server.
January 14, 2005 at 7:03 am
You may need to create a DTS package and a VB script
below is using WMI to detect and start the Service.
' =======================
'Local Server
strComputer = "."
sServiceName ...
January 12, 2005 at 7:55 am
Andy,
You can kill the Connection ID with SQLDMO.
This is a VB module I used to kill all other connections except my connection. I hope this may help other.
'--------------------------------------------------------------------------
' Kills...
December 2, 2002 at 8:16 am
Thank you all for helping me out.
This script works for me:
exec sp_msforeachtable "sp_changeobjectowner '?' ,'dbo'"
And thank you Brian K for your article on msforeachtable.
Regards... Ang
September 4, 2002 at 8:15 am
Hi ceneja,
I am unable to find 'sp_msforeachtable' in the books online.
Can you give me a little more detail on your script? or your stored procedure?
Thanks...Ang
September 3, 2002 at 2:11 pm
Thanks Andy.
This statement works:
EXEC sp_changeobjectowner 'Andrew.T1', 'dbo'
Thanks alot... Ang
September 3, 2002 at 12:35 pm
Yes, all tables were created explicitly with owner name.
And how can I replace the owner name with 'dbo'
September 3, 2002 at 10:05 am
The table was created with the owner's name.
To select the content of the table, I need to provide the owner's name.
"Select * from Andrew.T1"
Otherwise, if I use
"Select * from...
September 3, 2002 at 6:28 am
Viewing 12 posts - 1 through 12 (of 12 total)