(Nakul Vachhrajani) Searching data from a column is a very common requirement – but with unique variants in each application. Recently, I came across one such requirement:
Tag: sql server
Expression.Evaluate() In Power Query/M
(Chris Webb) A year ago I wrote a post on loading the M code for a Power Query query from a text file using the Expression.Evaluate() function, but I admit that at the time I didn’t understand how it worked properly.
SQL Server – Endpoint Authentication Error in AlwaysOn Availability Group Setup
(Hareesh Gottipati) According to MSDN: If the SQL Server service is running as a built-in account, such as Local System, Local Service, or Network Service, or a nondomain account, you must use certificates for endpoint authentication, and the Add New Replica wizard will be unable to create a databa
Debugging Natively-Compiled Stored Procedures Statements
(Daniel Farina) Considering that SQL Server 2014 Natively Compiled Stored Procedures are compiled into binary code, you may have asked yourself if it’s possible to monitor statement execution. In this tip I will explain how you can monitor SQL Server Natively Compiled Stored Procedures.
Enable SSDT and DacFx logging
(Ed Elliott) I was helping someone get a deployment filter working in SSDT recently and the issue was that they had configured the publish profile to include filter but when they did a publish or generate script, an error occurred with no more detail than “Contributor initialization error.”:
SQL SERVER – FIX – Error: Msg 3201, Level 16, State 1, Line 1 Cannot open backup device. Operating system error 3(The system cannot find the path specified.)
(Pinal Dave) This blog is in continuation to using the default values. Earlier this week I wrote a blog which talked about the failure of Create Database Command.
Dynamic Data Access with Plain Old SQL and SqlQuery
(Peter Vogel) You don’t have to give up using dynamic SQL just because you’re using Entity Framework. The Entity Framework SqlQuery method will give you back the flexibility of dynamic SQL and still let you work with your data in an object-oriented way.
Dealing with layered function calls
(Kenneth Fisher) T-SQL is not the best language in the world for formatting strings. It can be done, but typically you are going to end up with lots of function calls. Let’s say I want to output the Rate as a string 5 characters wide padded with 0’s on the left.
Optimizing for unknown and NULLs
(Derik Hammer) The other day I had an interesting conversation about something that sounds counter-intuitive. If NULL means unknown or missing, then does OPTIMIZE FOR UNKNOWN mean to optimize for NULL?
How to troubleshoot SSL encryption issues in SQL Server
(Tibor Nagy) I tried to configure SSL encryption for my Microsoft SQL Server, but it does not work properly. Could you please help me identify the root cause of the issue?
