กวดวิชาSQL

SQL HOME บทนำ SQL ไวยากรณ์ SQL SQL Select SQL Select Distinct SQL ที่ไหน SQL และหรือไม่ใช่ คำสั่ง SQL โดย SQL แทรกลงใน ค่าว่างของ SQL SQL Update SQL Delete SQL Select Top SQL Min และ Max SQL Count, Avg, Sum SQL Like SQL Wildcards SQL ใน SQL ระหว่าง นามแฝงของ SQL การรวม SQL SQL Inner Join SQL เข้าร่วมด้านซ้าย SQL Right Join SQL เข้าร่วมแบบเต็ม เข้าร่วมด้วยตนเองของ SQL SQL Union กลุ่ม SQL โดย SQL มี SQL Exists SQL ใด ๆ ทั้งหมด SQL Select Into แทรก SQL ลงใน Select กรณี SQL ฟังก์ชัน SQL Null กระบวนงานที่เก็บไว้ของ SQL ข้อคิดเห็นของ SQL ตัวดำเนินการ SQL

ฐานข้อมูลSQL

SQL สร้าง DB SQL Drop DB ฐานข้อมูลสำรองของ SQL SQL สร้างตาราง SQL Drop Table SQL Alter Table ข้อจำกัดของ SQL SQL ไม่ใช่ Null SQL Unique คีย์หลักของ SQL คีย์ต่างประเทศของ SQL SQL Check SQL Default ดัชนี SQL SQL Auto Increment SQL Dates มุมมอง SQL การฉีด SQL SQL Hosting ประเภทข้อมูล SQL

การอ้างอิงSQL

คีย์เวิร์ด SQL ฟังก์ชัน MySQL ฟังก์ชันเซิร์ฟเวอร์ SQL ฟังก์ชัน MS Access SQL Quick Ref

ตัวอย่างSQL

ตัวอย่าง SQL แบบทดสอบ SQL แบบฝึกหัด SQL ใบรับรอง SQL

MS Access แทนที่ ()ฟังก์ชั่น

❮ ฟังก์ชัน MS Access

ตัวอย่าง

แทนที่ "i" ด้วย "a" ในสตริง:

SELECT Replace("My name is Willy Wonka", "i", "a") AS ReplaceString;

ความหมายและการใช้งาน

ฟังก์ชัน Replace() แทนที่สตริงย่อยภายในสตริงด้วยสตริงย่อยอื่น ตามจำนวนที่ระบุ

ไวยากรณ์

Replace(string1, find, replacement, start, count, compare)

ค่าพารามิเตอร์

Parameter Description
string1 Required. The original string
find Required. The substring to search for in string1
replacement Required. The substring to replace find in string1
start Optional. The start position in string1 to begin the search. If omitted, start is 1
count Optional. The number of replaces to perform. If omitted, it will replace all occurrences of find with replacement
compare Optional. The type of string comparison.

Possible values:
-1: Use the setting of Option Compare
0: Binary comparison
1: Textual comparison
2: Comparison based on info in your database

รายละเอียดทางเทคนิค

ทำงานใน: จากการเข้าถึง 2000

❮ ฟังก์ชัน MS Access