Skip to content

eat{Code}live

Knowledge Repo / Experience Log

Tag: TSQL

Posted on April 15, 2024December 12, 2023

SQL NOLOCK with C# and Entity Framework Core (EFCore)

In Entity Framework Core, there is no direct equivalent to the NOLOCK hint in SQL. The NOLOCK hint is used in SQL Server to allow a SELECT statement to read a table without acquiring a shared lock, and it can be used to improve query performance in certain scenarios.

Continue reading “SQL NOLOCK with C# and Entity Framework Core (EFCore)”
Posted on February 19, 2024August 15, 2023

Find Gaps in Sequential Numbers in TSQL

To find gaps in ID numbers in a table using T-SQL, you can use a self-join or a common table expression (CTE) along with the LEAD or LAG window functions. Here’s an example using the LEAD function to identify gaps in sequential ID numbers:

Continue reading “Find Gaps in Sequential Numbers in TSQL”

About

Husband / Father / Software Engineer / 3D Printer / Maker / Photography / Personal Finance / Entrepreneur / Big Data / Knowledge Seeker

Recent Posts

  • SQL NOLOCK with C# and Entity Framework Core (EFCore)
  • Get Distinct Object by Id and Return Full Object with C# and EF
  • 3D Printing – Tools and Materials for Finishing Prints
  • How to submit AWS Batch Job with C#
  • Find Gaps in Sequential Numbers in TSQL

Archives

Tags

  • .Net
  • .NetCore
  • 3DGeekBox
  • 3DPrinting
  • ADF
  • ADLA
  • ADLS
  • Angular
  • ASP.NET
  • Asp.NetCore
  • Authentication
  • AWS
  • Azure Data Factory
  • Azure Data Factory SDK
  • Azure Data Lake Analytics
  • Azure Data Lake Store
  • Azure Data Lake Store SDK
  • Azure Logic App
  • Azure SQL Database
  • C#
  • Career
  • CSS
  • Docker
  • EFCore
  • EntityFramework
  • EventStore
  • HTML
  • Ionic
  • KendoUI
  • MakerGeeks
  • MaterialUI
  • MPMD
  • Oracle RightNow
  • PowerShell
  • RemoteWork
  • REST API
  • Review
  • Salesforce
  • Security
  • SOAP API
  • Testing
  • TSQL
  • U-SQL
  • WAF
  • Yaml

On this blog I speak in my and my name only. Opinions stated here are my own and not my employer’s.

Privacy Policy Proudly powered by WordPress