Viewing 15 posts - 31 through 45 (of 153 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...
Jason
http://dbace.us
😛
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 whatipaddress)
...
Jason
http://dbace.us
😛
May 9, 2012 at 10:08 am
April 25, 2012 at 12:00 pm
Just to clarify there are differnt operating systems:
http://www.whylinuxisbetter.net/items/defragment/index.php?lang=
Jason
http://dbace.us
😛
April 23, 2012 at 1:10 pm
You would want to query the actual physical IO.
Jason
http://dbace.us
😛
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...
Jason
http://dbace.us
😛
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...
Jason
http://dbace.us
😛
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...
Jason
http://dbace.us
😛
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...
Jason
http://dbace.us
😛
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.
Jason
http://dbace.us
😛
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.
Jason
http://dbace.us
😛
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...
Jason
http://dbace.us
😛
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)...
Jason
http://dbace.us
😛
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...
Jason
http://dbace.us
😛
January 3, 2012 at 4:18 pm
Viewing 15 posts - 31 through 45 (of 153 total)