<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>数据库基本知识 on Kevin&#39;s Blog</title>
    <link>https://bloglee.pages.dev/tags/%E6%95%B0%E6%8D%AE%E5%BA%93%E5%9F%BA%E6%9C%AC%E7%9F%A5%E8%AF%86/</link>
    <description>Recent content in 数据库基本知识 on Kevin&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>zh</language>
    <lastBuildDate>Tue, 18 Feb 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://bloglee.pages.dev/tags/%E6%95%B0%E6%8D%AE%E5%BA%93%E5%9F%BA%E6%9C%AC%E7%9F%A5%E8%AF%86/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>数据库基本知识</title>
      <link>https://bloglee.pages.dev/post/database-basics/</link>
      <pubDate>Tue, 18 Feb 2025 00:00:00 +0000</pubDate>
      <guid>https://bloglee.pages.dev/post/database-basics/</guid>
      <description>&lt;h2 id=&#34;参数化查询&#34;&gt;参数化查询&lt;/h2&gt;&#xA;&lt;p&gt;参数化查询是 SQL 中一种安全且高效的查询方式，我用通俗易懂的方式来解释：&lt;/p&gt;&#xA;&lt;h3 id=&#34;什么是参数化查询&#34;&gt;什么是参数化查询？&lt;/h3&gt;&#xA;&lt;p&gt;想象你在餐厅点餐，有两种方式：&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;直接告诉服务员&lt;/strong&gt;：&amp;ldquo;我要一份宫保鸡丁，不要花生&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;用菜单模板&lt;/strong&gt;：选择菜品类型（川菜），然后填写具体要求（宫保鸡丁，去花生）&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;参数化查询就像第二种方式——先准备一个 SQL 模板，然后把具体的数据作为参数填入。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
