Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

建立新檢視。

附註:  Microsoft Access 資料庫引擎不支援搭配非 Microsoft Access 資料庫引擎資料庫使用 CREATE VIEW 或任何 DDL 陳述式。

語法

CREATE VIEW view [(field1[, field2[, ...]])] AS selectstatement

CREATE VIEW 陳述式由下列各部分組成:

部分

描述

檢視

要建立的檢視名稱。

field1, field2

select 陳述式中指定之對應欄位的一或多個欄位名稱。

select 陳述式

SQL SELECT 陳述式。


備註

定義檢視的 SELECT 陳述式不能是 SELECT...INTO 陳述式。

定義檢視的 SELECT 陳述式不能包含任何參數。

檢視名稱不能和現有資料表的名稱相同。

如果 SELECT 陳述式定義的查詢可以更新,則檢視也可以更新。 否則,檢視會是唯讀狀態。

如果 SELECT 陳述式定義之查詢中的任何兩個欄位有相同的名稱,檢視定義必須包含為查詢中每個欄位指定唯一名稱的欄位清單。



Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×