Viewing 15 posts - 5,971 through 5,985 (of 7,481 total)
Check out Data Dude ! Visual Studio Team for DBAs ! Still in CTP, but very valuable for schema-maintenance AND test-data-generation !
December 27, 2006 at 12:59 am
with sql2000 you can use
select serverproperty('IsClustered') as IsClustered
Books online document serverproperty !
December 21, 2006 at 3:44 am
just as a litle example :
USE
[msdb]
GO
/****** Object: Job [FlipFlop] Script Date: 12/21/2006 09:44:50 ******/
BEGIN
TRANSACTION
DECLARE
@ReturnCode
December 21, 2006 at 1:50 am
1) keep Mohammed Uddin's note in mind : you cannot influence the running job ! (except stopping it)
2) there is no then...
December 21, 2006 at 1:26 am
fwiw
login using your sqlserver service account and alter its local user settings. and hope nothing else breaks due to this.
December 21, 2006 at 12:22 am
as you can see, dateformat is a client-problem. What I mean is that the format is set using the client-settings for the logged in user !
That is why dateformatting is...
December 20, 2006 at 7:15 am
... So, I'm using a stored procedure which reads: xp_cmdshell ![]()
osql sp_reportSP blah blah ...
within your sp...
December 20, 2006 at 6:24 am
no. the available nodes for the sqlserver-instance is totaly managed by the cluster-administrator-software.
The sqlserverinstancename is something you cannot change. drop/create is the way for that.
December 20, 2006 at 6:16 am
what you see is the encrypted hexadecimal text representing the packagename
you can add another jobstep cmdexec-type with
dtsrun.exe /N package_name
you can find more info in books online (search dtsrun)
December 20, 2006 at 6:11 am
what happens if you start sqlserver with minimal config from the commandprompt ?
sqlservr.exe -f
![]()
look for startup procs and disable them
December 18, 2006 at 1:49 pm
Alter PROCEDURE [dbo].[Get_TableValues]
@Value as varchar (100)
AS
begin
set nocount on
if @Value = 'Model_No'
Select Distinct Model_No FROM [IT].[dbo].[test]
if @Value = 'Proj_Engineer'
Select Distinct Proj_Engineer FROM [IT].[dbo].[test]
end
December 15, 2006 at 8:08 am
- you can you profiler to generate a trace-script to be executed trace-to-file.
Then schedule a sqljob to activate the trace.
You might even put the trace-part in a stored proc, if...
December 15, 2006 at 7:59 am
yes.
prior to sql2005 sqlserver would search for ...
databaseName.YOURLOGINUSER.orders
then for databaseName.DBO.orders
with sql2005 it will start searching for ...
databaseName.YOURDEFAULTSCHEMA.orders
then for databaseName.DBO.orders
December 13, 2006 at 1:14 am
is this a backup file ?
If yes, maybe there is a backup-device pointing to it ...
exec sp_helpdevice
you can rerout it using
begin tran
exec sp_dropdevice @logicalname = 'yourdevicename'
exec sp_addumpdevice @devtype =...
December 11, 2006 at 3:19 am
Viewing 15 posts - 5,971 through 5,985 (of 7,481 total)