Viewing 15 posts - 931 through 945 (of 1,047 total)
some of the things you want are in global variables (@@servername, @@servicename, @@version). Others you'd have to use xp_regread to obtain. The IP you already know if you can connect...
December 28, 2009 at 2:37 pm
what the nolock hint does is tell SQL server you will accept uncommitted data. If the application doing the select truly doesn't care whether the data is accurate AND using...
December 28, 2009 at 7:12 am
There is nothing inherently wrong with using SQL Server logins that way, for a smaller controlled group of users. You must manage all of the these users and their passwords...
December 24, 2009 at 6:26 am
I am not aware of any built in facility to make a phone call from SQL Server. However if I wanted to do it I'd probably write a .net assembly...
December 24, 2009 at 6:18 am
I am not aware of a way to do this other than creating a new table having the same structure as the old one. Specify the desired file groups you...
December 23, 2009 at 2:45 pm
run configuration manager and disable the service.
Dumb me, you had already done that. If it was an option on installation try running the install again to remove that component...
December 23, 2009 at 2:27 pm
Yes using SQL Server authentication. I assume the application can be configured in some way for a user and password to set up its connection strings.
Take the time to...
December 23, 2009 at 2:17 pm
pre-configuring like that will reduce external fragmentation which occurs when other file-groups or applications are competing for disk space on the same physical drive.
This results in better performance on all...
December 22, 2009 at 2:35 pm
How do you have the execution context of the xp_cmdshell set up? Are you using a proxy or is it running in the context of the SQLServer service user (generally...
December 22, 2009 at 2:23 pm
I believe for your purposes here they are equivalent, however it is better to use xact_state() for reasons I won't elaborate on.
It doesn't matter which one or how many of...
December 21, 2009 at 9:32 am
No, that's appropriate. However I would include the rollback in the preceeding "if" block like this:
IF @@TRANCOUNT > 0
begin
-- error handling
ROLLBACK -- no rollback if @@trancount =...
December 21, 2009 at 7:04 am
it May be nice, but it would be even nicer if it was in a more concise and readable language like C#.
but I digress...
December 21, 2009 at 7:01 am
okay, for anyone interested the C# source is attached.
December 15, 2009 at 6:43 am
MTY-1082557 (12/14/2009)
Restore log [backup] FROM DISK 'c:\Logshipping\backup_20091214200600.trn'...
December 14, 2009 at 1:46 pm
Viewing 15 posts - 931 through 945 (of 1,047 total)