[ad_1] <br><div id="article">
<p id="ph_pcontent2_0_KickerText" class="kicker"><a target="_blank" href="https://visualstudiomagazine.com/Articles/List/News.aspx" rel="noopener">News</a></p>
<h3 id="ph_pcontent2_0_MainHeading" class="title">New for Devs in SQL Server 2022: Ledger for Blockchain-Backed Safety</h3>
<div class="introimage"> <img alt="" src="https://visualstudiomagazine.com/articles/2023/03/27/~/media/ECG/visualstudiomagazine/Images/introimages/sql_server_2022_white.ashx"/> </div>
<p> The brand new ledger characteristic in SQL Server 2022 gives blockchain-based safety to make sure information is not tampered with.
</p>
<p> The flexibility to cryptographically assure the integrity of knowledge is very helpful for sharing information between companions, permitting a corporation to attest to auditors or different enterprise events that information in a SQL Server 2022 database hasn't been altered.
</p>
<p> "So the concept right here is, there's cryptography know-how primarily based on blockchain that ensures that you just can not make adjustments with out it being audited, with out being seen, like completely visibility," explains <a target="_blank" href="https://vslive.com/events/nashville-2023/Speakers/Speaker%20Window.aspx?SpeakerId={45C19A46-2FA8-4763-8E37-A7E03D3723F6}&ID={9FF126E7-16F5-4C65-8D1E-C5E783ED9E97}" rel="noopener">Leonard Lobel</a>, longtime Microsoft MVP and CTO of Smooth Applied sciences.
</p>
<div class="calloutImgLeft"> <p><img src="https://vslive.com/Events/Nashville-2023/Sessions/Friday/-/media/ECG/EventSpeakerPhotos/Lobel_Leonard_web.jpg" width="150"/> "Even for those who're a high-powered admin, DBAs and system directors as effectively aren't in a position to bypass this in any method." </p><p><i>Leonard Lobel, Microsoft MVP, CTO at Smooth Applied sciences</i> </p> </div>
<p> "Even for those who're a high-powered admin, DBAs and system directors as effectively aren't in a position to bypass this in any method."
</p>
<p> Lobel was detailing the ins and outs of the brand new ledger performance in a presentation titled "What's New for Builders in SQL Server 2022" ultimately week's massive five-day <a target="_blank" href="https://vslive.com/Home.aspx" rel="noopener">Visual Studio Live!</a> convention in Las Vegas.
</p>
<p> What's extra, Lobel will <a target="_blank" href="https://vslive.com/Events/Nashville-2023/Sessions/Thursday/TH10-Whats-New-for-Developers-in-SQL-Server-2022.aspx" rel="noopener">duplicate his presentation</a> in Could on the VSLive! convention in <a target="_blank" href="https://vslive.com/events/nashville-2023/home.aspx" rel="noopener">Nashville</a>.
</p>
<div class="ad"> <div id="div-gpt-ad-box_c1-0005">
<noscript> <a target="_blank" href="https://pubads.g.doubleclick.net/gampad/jump?iu=/5978/eof.vsm&t=item%253d8f8b8cd4_a5b8_4de4_8a49_760c7866c66e%26pos%253dbox_c1%26Topic%253dDatabases%252cData_Development%252cSQL_Server%252cDevelopment&sz=300x250&tile=5&c=123456789" rel="noopener"> <img src="https://pubads.g.doubleclick.net/gampad/ad?iu=/5978/eof.vsm&t=item%253d8f8b8cd4_a5b8_4de4_8a49_760c7866c66e%26pos%253dbox_c1%26Topic%253dDatabases%252cData_Development%252cSQL_Server%252cDevelopment&sz=300x250&tile=5&c=123456789" border="0" alt=""/> </a> </noscript> </div> </div>
<p> And builders who wish to actually get into the nitty-gritty particulars of ledger and different SQL Server 2022 options can attend his nine-hour <a target="_blank" href="https://vslive.com/Events/Nashville-2023/Sessions/Friday/F03-Workshop-Developer-Dive-into-SQL-Server-2022.aspx" rel="noopener">Developer Dive into SQL Server 2022</a>, the place they'll be taught:
</p>
<ul> <li>The way to enhance developer productiveness by operating SQL Server inside Linux containers with Docker</li> <li>Clever Question Processing options, T-SQL enhancements, and fashionable growth platform for machine studying with R and Python</li> <li>Uncover the most recent safety features together with ledger tables, At all times Encrypted with safe enclaves, and the newest information virtualization capabilities with PolyBase</li> </ul>
<div><figure> <a target="_blank" href="https://visualstudiomagazine.com/articles/2023/03/27/~/media/ECG/visualstudiomagazine/Images/2023/03/ledger_table_architecture.ashx" rel="noopener"> <img alt="" src="https://visualstudiomagazine.com/articles/2023/03/27/~/media/ECG/visualstudiomagazine/Images/2023/03/ledger_table_architecture_s.ashx"/> </a> <figcaption> <b>[Click on image for larger view.]</b> Ledger Desk Structure <em>(supply: Microsoft).</em></figcaption> </figure></div>
<p> The three major use circumstances for ledger, in response to Microsoft <a target="_blank" href="https://learn.microsoft.com/en-us/sql/relational-databases/security/ledger/ledger-overview?view=sql-server-ver16" rel="noopener">documenation</a>, are:
</p>
<ul> <li><b>Streamlining audits:</b> Ledger gives the cryptographic proof of knowledge integrity to auditors. This proof might help streamline the auditing course of.</li>
<li><b>A number of-party enterprise processes: </b>Blockchain is a good resolution for multiple-party networks the place belief is low between events that take part on the community.</li>
<li><b>Trusted off-chain storage for blockchain:</b> Ledger gives information integrity for off-chain storage of blockchain networks, which helps guarantee full information belief via the whole system.</li> </ul>
<p> Lobel defined ledger applies to each whole databases and database tables. For the latter, there are two kinds of tables: updatable and append-only, which he defined to the packed home viewers by way of hands-on demos.
</p>
<p> Updatable ledger tables monitor all adjustments by way of a historical past desk, whereas append-only ledger tables are sometimes used for event-based situations, the place occasions are supposed to be saved intact, with no UPDATES or DELETEs allowed.
</p>
<p> "A ledger database is a database the place you say, all of the tables on this database, are all ledger tables," Lobel stated about the whole database possibility. "So you may have a database with just a few ledger tables that these explicit tables provides you with these ensures -- these tamper evident ensures -- and the remainder of the tables will not. Or you may designate it on the database stage. And also you merely can not create a desk that is not a ledger desk in that database."
</p>
<p> All of that's made potential by the database digest, a single hash, which for each transaction and each change to the database in any method, creates and generates a transaction that rehashes the database.
</p>
<p> "It rolls the hash of the present transaction into the earlier grasp database digest hash, and that is that sense through which it creates a blockchain."
</p>
<p> Usually, SQL Server's auditing performance is used to detect if a consumer has tampered with information, together with temporal capabilities, which preserve the historical past of tables.
</p>
<p> Nonetheless, as Lobel famous, the auditing and temporal options may be turned off by a DBA.
</p>
<p> "You possibly can, like, change historical past," Lobel stated. "Everyone knows how harmful that could possibly be, proper?"</p>
<p> So, to make sure tampering is past the attain of even high-level admins and DBAs, full-blown blockchains are distributed.
</p>
<p> Many blockchain implementations have excessive latency and low throughput, Lobel stated, "However with ledger, what they managed to do, is that they managed to centralize this know-how, convey it into the database engine."
</p>
Doing that enables for ledger to work with out impacting efficiency. In line with documentation: "Ledger and the historic information are managed transparently, providing safety with none utility adjustments. The characteristic maintains historic information in a relational type to assist SQL queries for auditing, forensics, and different functions. It gives ensures of cryptographic information integrity whereas sustaining the ability, flexibility, and efficiency of the SQL database."
<p> Lobel used hands-on demos to dig into the main points of ledger, which was only one focus level of his 75-minute presentation.
</p>
<p> Different new options of particular significance to builders defined by Lobel -- introduced along with his slides serving to to clarify the excessive factors -- embody:
</p>
<p> Lobel's "<a target="_blank" href="https://vslive.com/Events/Nashville-2023/Sessions/Thursday/TH10-Whats-New-for-Developers-in-SQL-Server-2022.aspx" rel="noopener">What's New for Developers in SQL Server 2022</a>" presentation on the VSLive! Nashville convention can be held on Thursday, Could 18, from 11 a.m. to 12:15 p.m., whereas his "<a target="_blank" href="https://vslive.com/Events/Nashville-2023/Sessions/Friday/F03-Workshop-Developer-Dive-into-SQL-Server-2022.aspx" rel="noopener">Developer Dive into SQL Server 2022</a>" can be held from 8 a.m. to five p.m. on the next day.
</p> <br/>
<!-- pager start -->
<!-- pager end -->
<div class="aboutAuthor"> <p id="ph_pcontent2_0_AuthorInfo_AboutAuthor" class="author">In regards to the Writer</p>
<p> <strong/> David Ramel is an editor and author for Converge360. <br/> <a target="_blank" id="ph_pcontent2_0_AuthorInfo_AuthorEmail_0" rel="noopener"> </p>
</div>
</div> <br>[ad_2] <br><a href="https://visualstudiomagazine.com/articles/2023/03/27/new-sql-server-2022.aspx">Source link </a>