(Arshad Ali) From the previous AlwaysOn Availability Group article, we provided a name for the availability group listener which is simply a unique DNS name as a Virtual Network Name (VNN) to direct read-write requests to the primary replica and read-only requests to the read-only secondary replica.
Tag: sql server
TSQL Coding Style
(Gregory Larsen) When you write TSQL code what kind of coding style do you use? Do you have a consistent way to comment and format your code? Does your organization provide standards for how you must code your TSQL?
Insert Record in SQL Server Using jQuery
(Rohatash Kumar) In this article I provide a quick overview of how to insert a record into SQL Server using jQuery. You can do it many ways such as using Generic Handlers and using a WCF service. Here you will see it using Generic Handlers in ASP.Net. First we create a database table named “Test”.
Using Excel to interact with a SSAS cube
(Daniel Calbimonte) Sometimes we need to access a SSAS cube using Excel. In this tip we will show how to:
SQL Server – Saving Changes Not Permitted in Management Studio
(Vishal Gajjar) SQL Server Management Studio does not allow you to save changes to a table which require table re-creation such as changing data type for a column. When you perform such changes you will run into following error message:
TSQL Pivot Rotations using only REPLACE
(Hugh Bin-Haad) Pivoting SQL Server tables is always awkward, even with the PIVOT and UNPIVOT operators. If you want to get the job done without GROUP BY or PIVOT, here is a way to do it using only REPLACE.
Shrinking a Log File on a Test or Development Server
(Steve Stedman) On my computer I run SQL Server 2012, and I use a number of test or development databases. I don’t run backups on these because I don’t care if they get destroyed since they are easy to replace. Recently I upgraded to a SSD, and now my C: drive which I am running SQL Server from is
Understanding GRANT, DENY, and REVOKE in SQL Server
(K. Brian Kelley) I’m having a bit of trouble understanding how GRANT, DENY, and REVOKE work together in SQL Server, especially when you consider things like schemas. Which setting trumps the others? How do I undo security?
Observing SQL Server Transaction Log Flush Sizes using Extended Events and Process Monitor
(Tim Chapman) In this blog post we’ll take a look at how SQL Server interacts with the transaction log file using Extended Events and Process Monitor. We will see how small transactions can have a negative impact on transaction log IO throughput and how larger transactions can actually be much fast
Squishy Limits in SQL Server Express Edition
(Kevin Kline) It’s an old story you’ve probably heard before. Provide a free version of your software product with strict limitations on performance or other specific capabilities so that folks can give it a try without risk, while you minimize the chance of cannibalizing sales of your commercial p