Find a String in a String in SQL Server
Learn how you can find data in a string and extract it, no matter where it's located.
Learn how you can find data in a string and extract it, no matter where it's located.
Arshad Ali talks about using OPENJSON to read and parse JSON data and looks at how to convert it to tabular format.
Slack has become a popular phenomenon in the technical world, especially for software developers. Should we join in?
Daniel Farina shows how to disable the optimizer rules by using QUERYRULEOFF, an undocumented hint.
In a couple of days, Microsoft is holding Data Driven, an event that will highlight SQL Server 2016.
It sometimes pays to go back and look at what you think you already know about SQL. Joe Celko gives a quick revision of the GROUP BY and HAVING clauses in SQL that are the bedrock of any sort of analysis of data, and comes up with some nuggets that may not be entirely obvious.
Changing Database Collation Through Primary keys, Foreign Keys, Default and Check Constraints and more.
SMO gives every appearance of being a great example of over-reliance on automated testing at the expense of manual exploratory testing.
Hear from Microsoft engineering experts on the latest features in SQL Server 2016 before the live event. Learn about new business intelligence capabilities like built-in mobile BI, fully integrated advanced analytics, security innovations, mission critical in-memory performance and new hybrid cloud solutions.
By Zikato
A cryptic message, a book cipher hidden in art provenance records, and a trail...
By Steve Jones
A customer was trying to compare two tables and capture a state as a...
By Zikato
When I'm looking at a query, I bet it's bad if I see... a...
Telp Cso: (0821)8200174 Jl. Cokro Aminoto No.28, Kisaran Kota, Kec. Kota Kisaran Barat, Kabupaten...
Telp Cso: (0821)8200174 Jl. Merdeka No.39, Proklamasi, Kec. Siantar Bar., Kota Pematang Siantar, Sumatera...
Telp Cso: (0821)8200174 Jl. Asia, Simpang, Jl. Bakaran Batu No.1 C, Sei Rengas II,...
In SQL Server 2025, I have a table (dbo.UserPermission) that contains this data:
UserID UserPermissions 15 23 37 4 NULLWhat is returned when I run this code:
select bit_count(UserPermissions) as PermissionCount from dbo.UserPermission where UserID = 4;See possible answers