Viewing 15 posts - 31 through 45 (of 152 total)
Occasionally two machines will hit the database at the same time and end up with sets of data that overlap each other causing the applications to act twice on the...
May 11, 2012 at 7:58 am
CLR is more elegant.
Regards,
Jason
----------------------------------------------------------------------------------------------
using System.Net;
using System.Security;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
public class SQLSPGetHostName
{
// static string whatipaddress
[Microsoft.SqlServer.Server.SqlProcedure]
public static void GetHostNameFromIPAddress(string...
May 9, 2012 at 10:08 am
Just to clarify there are differnt operating systems:
http://www.whylinuxisbetter.net/items/defragment/index.php?lang=
April 23, 2012 at 1:10 pm
You would want to query the actual physical IO.
April 9, 2012 at 10:43 am
Definitely. I agreed 100%. That is why I titled my web site "DBA Automation". Once you see the value, you will never go back.
Not only you automate your tasks, you...
April 6, 2012 at 10:38 am
If a foreign key referenced only one of the rows you are deleting, isn't that by definition not a duplicate? So then in that case can't you just delete with...
March 15, 2012 at 3:03 pm
I just did DAC a week ago with windows local administrator rights, and without build-in administrator being as sysadmin.
DAC is calling SQLCMD locally on the server. Please read BOL.
Windows...
February 29, 2012 at 11:47 pm
Paul and Divine, There are no tricks. I just did DAC a week ago with windows local administrator rights, and without build-in administrator being as sysadmin. (Paul, we did deselect...
February 29, 2012 at 11:46 pm
If you are already local administrator, why don't you just use DAC. See BOL if you don't understand DAC.
February 22, 2012 at 8:10 pm
January 14, 2012 at 8:51 am
Check my published scripts. You will find where that data is stored in the script code.
January 13, 2012 at 12:29 am
Kalen Delaney has a chart in her book "SQL Server 2008 Internals" that shows the difference of isolation level. I will prefer use of snapshot isolation vs read_committed_snapshot isolation.
On my...
January 3, 2012 at 7:39 pm
This article again shows SQL Server's shortcomings.
1) default to full recovery mode (Oracle is opposite)
2) not able to free unused space without side effecct. (Oracle does not have this problem)
3)...
January 3, 2012 at 7:24 pm
I wrote a stored procedure that generates "restore script" by entering a date-time parameter. (We can also do this with LSN or transaction mark). I also have a version that...
January 3, 2012 at 4:18 pm
Viewing 15 posts - 31 through 45 (of 152 total)