如何创建MySQL5的视图

Jun 07, 2016 pm 04:04 PM
create r 作成する 基本 どうやって ビュー 文法

基本语法: CREATE [OR REPLACE] [ALGORITHM = {UNDEFINED | MERGE | TEMPTABLE}] VIEW view_name [( column_list )] AS select_statement [WITH [CASCADED | LOCAL] CHECK OPTION] This statement creates a new view, or replaces an existing one if the

<STRONG>基本语法:</STRONG>
ログイン後にコピー
CREATE [OR REPLACE] [ALGORITHM = {UNDEFINED | MERGE | TEMPTABLE}]
    VIEW <EM class=replaceable><CODE>view_name</CODE></EM> [(<EM class=replaceable><CODE>column_list</CODE></EM>)]
    AS <EM class=replaceable><CODE>select_statement</CODE></EM>
    [WITH [CASCADED | LOCAL] CHECK OPTION]
ログイン後にコピー

This statement creates a new view, or replaces an existing one if the <FONT face=新宋体>OR REPLACE</FONT> clause is given. The <FONT face=新宋体>select_statement</FONT> is a <FONT face=新宋体>SELECT</FONT> statement that provides the definition of the view. The statement can select from base tables or other views.

This statement requires the <FONT face=新宋体>CREATE VIEW</FONT> privilege for the view, and some privilege for each column selected by the <FONT face=新宋体>SELECT</FONT> statement. For columns used elsewhere in the <FONT face=新宋体>SELECT</FONT> statement you must have the <FONT face=新宋体>SELECT</FONT> privilege. If the <FONT face=新宋体>OR REPLACE</FONT> clause is present, you must also have the <FONT face=新宋体>DELETE</FONT> privilege for the view.

A view belongs to a database. By default, a new view is created in the current database. To create the view explicitly in a given database, specify the name as <FONT face=新宋体>db_name.view_name</FONT> when you create it.

mysql> <STRONG class=userinput><CODE>CREATE VIEW test.v AS SELECT * FROM t;</CODE></STRONG>
ログイン後にコピー

Tables and views share the same namespace within a database, so a database cannot contain a table and a view that have the same name.

Views must have unique column names with no duplicates, just like base tables. By default, the names of the columns retrieved by the <FONT face=新宋体>SELECT</FONT> statement are used for the view column names. To define explicit names for the view columns, the optional <FONT face=新宋体>column_list</FONT> clause can be given as a list of comma-separated identifiers. The number of names in <FONT face=新宋体>column_list</FONT> must be the same as the number of columns retrieved by the <FONT face=新宋体>SELECT</FONT> statement.

Columns retrieved by the <FONT face=新宋体>SELECT</FONT> statement can be simple references to table columns. They can also be expressions that use functions, constant values, operators, and so forth.

Unqualified table or view names in the <FONT face=新宋体>SELECT</FONT> statement are interpreted with respect to the default database. A view can refer to tables or views in other databases by qualifying the table or view name with the proper database name.

A view can be created from many kinds of <FONT face=新宋体>SELECT</FONT> statements. It can refer to base tables or other views. It can use joins, <FONT face=新宋体>UNION</FONT>, and subqueries. The <FONT face=新宋体>SELECT</FONT> need not even refer to any tables. The following example defines a view that selects two columns from another table, as well as an expression calculated from those columns:

mysql> <STRONG class=userinput><CODE>CREATE TABLE t (qty INT, price INT);</CODE></STRONG>
mysql> <STRONG class=userinput><CODE>INSERT INTO t VALUES(3, 50);</CODE></STRONG>
mysql> <STRONG class=userinput><CODE>CREATE VIEW v AS SELECT qty, price, qty*price AS value FROM t;</CODE></STRONG>
mysql> <STRONG class=userinput><CODE>SELECT * FROM v;</CODE></STRONG>
+------+-------+-------+
| qty  | price | value |
+------+-------+-------+
|    3 |    50 |   150 |
+------+-------+-------+
ログイン後にコピー

A view definition is subject to the following restrictions:

  • The <FONT face=新宋体>SELECT</FONT> statement cannot contain a subquery in the <FONT face=新宋体>FROM</FONT> clause.

  • The <FONT face=新宋体>SELECT</FONT> statement cannot refer to system or user variables.

  • The <FONT face=新宋体>SELECT</FONT> statement cannot refer to prepared statement parameters.

  • Within a stored routine, the definition cannot refer to routine parameters or local variables.

  • Any table or view referred to in the definition must exist. However, after a view has been created, it is possible to drop a table or view that the definition refers to. To check a view definition for problems of this kind, use the <FONT face=新宋体>CHECK TABLE</FONT> statement.

  • The definition cannot refer to a <FONT face=新宋体>TEMPORARY</FONT> table, and you cannot create a <FONT face=新宋体>TEMPORARY</FONT> view.

  • The tables named in the view definition must already exist.

  • You cannot associate a trigger with a view.

<FONT face=新宋体>ORDER BY</FONT> is allowed in a view definition, but it is ignored if you select from a view using a statement that has its own <FONT face=新宋体>ORDER BY</FONT>.

For other options or clauses in the definition, they are added to the options or clauses of the statement that references the view, but the effect is undefined. For example, if a view definition includes a <FONT face=新宋体>LIMIT</FONT> clause, and you select from the view using a statement that has its own <FONT face=新宋体>LIMIT</FONT> clause, it is undefined which limit applies. This same principle applies to options such as <FONT face=新宋体>ALL</FONT>, <FONT face=新宋体>DISTINCT</FONT>, or <FONT face=新宋体>SQL_SMALL_RESULT</FONT> that follow the <FONT face=新宋体>SELECT</FONT> keyword, and to clauses such as <FONT face=新宋体>INTO</FONT>, <FONT face=新宋体>FOR UPDATE</FONT>, <FONT face=新宋体>LOCK IN SHARE MODE</FONT>, and <FONT face=新宋体>PROCEDURE</FONT>.

If you create a view and then change the query processing environment by changing system variables, that may affect the results you get from the view:

mysql> <STRONG class=userinput><CODE>CREATE VIEW v AS SELECT CHARSET(CHAR(65)), COLLATION(CHAR(65));</CODE></STRONG>
Query OK, 0 rows affected (0.00 sec)

mysql> <STRONG class=userinput><CODE>SET NAMES 'latin1';</CODE></STRONG>
Query OK, 0 rows affected (0.00 sec)

mysql> <STRONG class=userinput><CODE>SELECT * FROM v;</CODE></STRONG>
+-------------------+---------------------+
| CHARSET(CHAR(65)) | COLLATION(CHAR(65)) |
+-------------------+---------------------+
| latin1            | latin1_swedish_ci   |
+-------------------+---------------------+
1 row in set (0.00 sec)

mysql> <STRONG class=userinput><CODE>SET NAMES 'utf8';</CODE></STRONG>
Query OK, 0 rows affected (0.00 sec)

mysql> <STRONG class=userinput><CODE>SELECT * FROM v;</CODE></STRONG>
+-------------------+---------------------+
| CHARSET(CHAR(65)) | COLLATION(CHAR(65)) |
+-------------------+---------------------+
| utf8              | utf8_general_ci     |
+-------------------+---------------------+
1 row in set (0.00 sec)
ログイン後にコピー

The optional <FONT face=新宋体>ALGORITHM</FONT> clause is a MySQL extension to standard SQL. <FONT face=新宋体>ALGORITHM</FONT> takes three values: <FONT face=新宋体>MERGE</FONT>, <FONT face=新宋体>TEMPTABLE</FONT>, or <FONT face=新宋体>UNDEFINED</FONT>. The default algorithm is <FONT face=新宋体>UNDEFINED</FONT> if no <FONT face=新宋体>ALGORITHM</FONT> clause is present. The algorithm affects how MySQL processes the view.

For <FONT face=新宋体>MERGE</FONT>, the text of a statement that refers to the view and the view definition are merged such that parts of the view definition replace corresponding parts of the statement.

For <FONT face=新宋体>TEMPTABLE</FONT>, the results from the view are retrieved into a temporary table, which then is used to execute the statement.

For <FONT face=新宋体>UNDEFINED</FONT>, MySQL chooses which algorithm to use. It prefers <FONT face=新宋体>MERGE</FONT> over <FONT face=新宋体>TEMPTABLE</FONT> if possible, because <FONT face=新宋体>MERGE</FONT> is usually more efficient and because a view cannot be updatable if a temporary table is used.

A reason to choose <FONT face=新宋体>TEMPTABLE</FONT> explicitly is that locks can be released on underlying tables after the temporary table has been created and before it is used to finish processing the statement. This might result in quicker lock release than the <FONT face=新宋体>MERGE</FONT> algorithm so that other clients that use the view are not blocked as long.

A view algorithm can be <FONT face=新宋体>UNDEFINED</FONT> three ways:

  • No <FONT face=新宋体>ALGORITHM</FONT> clause is present in the <FONT face=新宋体>CREATE VIEW</FONT> statement.

  • The <FONT face=新宋体>CREATE VIEW</FONT> statement has an explicit <FONT face=新宋体>ALGORITHM = UNDEFINED</FONT> clause.

  • <FONT face=新宋体>ALGORITHM = MERGE</FONT> is specified for a view that can be processed only with a temporary table. In this case, MySQL generates a warning and sets the algorithm to <FONT face=新宋体>UNDEFINED</FONT>.

As mentioned earlier, <FONT face=新宋体>MERGE</FONT> is handled by merging corresponding parts of a view definition into the statement that refers to the view. The following examples briefly illustrate how the <FONT face=新宋体>MERGE</FONT> algorithm works. The examples assume that there is a view <FONT face=新宋体>v_merge</FONT> that has this definition:

CREATE ALGORITHM = MERGE VIEW v_merge (vc1, vc2) AS
SELECT c1, c2 FROM t WHERE c3 > 100;
ログイン後にコピー

Example 1: Suppose that we issue this statement:

SELECT * FROM v_merge;
ログイン後にコピー

MySQL handles the statement as follows:

  • <FONT face=新宋体>v_merge</FONT> becomes <FONT face=新宋体>t</FONT>

  • <FONT face=新宋体>*</FONT> becomes <FONT face=新宋体>vc1, vc2</FONT>, which corresponds to <FONT face=新宋体>c1, c2</FONT>

  • The view <FONT face=新宋体>WHERE</FONT> clause is added

The resulting statement to be executed becomes:

SELECT c1, c2 FROM t WHERE c3 > 100;
ログイン後にコピー

Example 2: Suppose that we issue this statement:

SELECT * FROM v_merge WHERE vc1 < 100;
ログイン後にコピー

This statement is handled similarly to the previous one, except that <FONT face=新宋体>vc1 < 100</FONT> becomes <FONT face=新宋体>c1 < 100</FONT> and the view <FONT face=新宋体>WHERE</FONT> clause is added to the statement <FONT face=新宋体>WHERE</FONT> clause using an <FONT face=新宋体>AND</FONT> connective (and parentheses are added to make sure the parts of the clause are executed with correct precedence). The resulting statement to be executed becomes:

SELECT c1, c2 FROM t WHERE (c3 > 100) AND (c1 < 100);
ログイン後にコピー

Effectively, the statement to be executed has a <FONT face=新宋体>WHERE</FONT> clause of this form:

WHERE (select WHERE) AND (view WHERE)
ログイン後にコピー

The <FONT face=新宋体>MERGE</FONT> algorithm requires a one-to relationship between the rows in the view and the rows in the underlying table. If this relationship does not hold, a temporary table must be used instead. Lack of a one-to-one relationship occurs if the view contains any of a number of constructs:

  • Aggregate functions (<FONT face=新宋体>SUM()</FONT>, <FONT face=新宋体>MIN()</FONT>, <FONT face=新宋体>MAX()</FONT>, <FONT face=新宋体>COUNT()</FONT>, and so forth)

  • <FONT face=新宋体>DISTINCT</FONT>

  • <FONT face=新宋体>GROUP BY</FONT>

  • <FONT face=新宋体>HAVING</FONT>

  • <FONT face=新宋体>UNION</FONT> or <FONT face=新宋体>UNION ALL</FONT>

  • Refers only to literal values (in this case, there is no underlying table)

Some views are updatable. That is, you can use them in statements such as <FONT face=新宋体>UPDATE</FONT>, <FONT face=新宋体>DELETE</FONT>, or <FONT face=新宋体>INSERT</FONT> to update the contents of the underlying table. For a view to be updatable, there must be a one-to relationship between the rows in the view and the rows in the underlying table. There are also certain other constructs that make a view non-updatable. To be more specific, a view is not updatable if it contains any of the following:

  • Aggregate functions (<FONT face=新宋体>SUM()</FONT>, <FONT face=新宋体>MIN()</FONT>, <FONT face=新宋体>MAX()</FONT>, <FONT face=新宋体>COUNT()</FONT>, and so forth)

  • <FONT face=新宋体>DISTINCT</FONT>

  • <FONT face=新宋体>GROUP BY</FONT>

  • <FONT face=新宋体>HAVING</FONT>

  • <FONT face=新宋体>UNION</FONT> or <FONT face=新宋体>UNION ALL</FONT>

  • Subquery in the select list

  • Join

  • Non-updatable view in the <FONT face=新宋体>FROM</FONT> clause

  • A subquery in the <FONT face=新宋体>WHERE</FONT> clause that refers to a table in the <FONT face=新宋体>FROM</FONT> clause

  • Refers only to literal values (in this case, there is no underlying table to update)

  • <FONT face=新宋体>ALGORITHM = TEMPTABLE</FONT> (use of a temporary table always makes a view non-updatable)

With respect to insertability (being updatable with <FONT face=新宋体>INSERT</FONT> statements), an updatable view is insertable if it also satisfies these additional requirements for the view columns:

  • There must be no duplicate view column names.

  • The view must contain all columns in the base table that do not have a default value.

  • The view columns must be simple column references and not derived columns. A derived column is one that is not a simple column reference but is derived from an expression. These are examples of derived columns:

    3.14159
    col1 + 3
    UPPER(col2)
    col3 / col4
    (<EM class=replaceable><CODE>subquery</CODE></EM>)
    
    ログイン後にコピー

A view that has a mix of simple column references and derived columns is not insertable, but it can be updatable if you update only those columns that are not derived. Consider this view:

CREATE VIEW v AS SELECT col1, 1 AS col2 FROM t;
ログイン後にコピー

This view is not insertable because <FONT face=新宋体>col2</FONT> is derived from an expression. But it is updatable if the update does not try to update <FONT face=新宋体>col2</FONT>. This update is allowable:

UPDATE v SET col1 = 0;
ログイン後にコピー

This update is not allowable because it attempts to update a derived column:

UPDATE v SET col2 = 0;
ログイン後にコピー

It is sometimes possible for a multiple-table view to be updatable, assuming that it can be processed with the <FONT face=新宋体>MERGE</FONT> algorithm. For this to work, the view must use an inner join (not an outer join or a <FONT face=新宋体>UNION</FONT>). Also, only a single table in the view definition can be updated, so the <FONT face=新宋体>SET</FONT> clause must name only columns from one of the tables in the view. Views that use <FONT face=新宋体>UNION ALL</FONT> are disallowed even though they might be theoretically updatable, because the implementation uses temporary tables to process them.

For a multiple-table updatable view, <FONT face=新宋体>INSERT</FONT> can work if it inserts into a single table. <FONT face=新宋体>DELETE</FONT> is not supported.

The <FONT face=新宋体>WITH CHECK OPTION</FONT> clause can be given for an updatable view to prevent inserts or updates to rows except those for which the <FONT face=新宋体>WHERE</FONT> clause in the <FONT face=新宋体>select_statement</FONT> is true.

In a <FONT face=新宋体>WITH CHECK OPTION</FONT> clause for an updatable view, the <FONT face=新宋体>LOCAL</FONT> and <FONT face=新宋体>CASCADED</FONT> keywords determine the scope of check testing when the view is defined in terms of another view. <FONT face=新宋体>LOCAL</FONT> keyword restricts the <FONT face=新宋体>CHECK OPTION</FONT> only to the view being defined. <FONT face=新宋体>CASCADED</FONT> causes the checks for underlying views to be evaluated as well. When neither keyword is given, the default is <FONT face=新宋体>CASCADED</FONT>. Consider the definitions for the following table and set of views:

mysql> <STRONG class=userinput><CODE>CREATE TABLE t1 (a INT);</CODE></STRONG>
mysql> <STRONG class=userinput><CODE>CREATE VIEW v1 AS SELECT * FROM t1 WHERE a < 2</CODE></STRONG>
    -> <STRONG class=userinput><CODE>WITH CHECK OPTION;</CODE></STRONG>
mysql> <STRONG class=userinput><CODE>CREATE VIEW v2 AS SELECT * FROM v1 WHERE a > 0</CODE></STRONG>
    -> <STRONG class=userinput><CODE>WITH LOCAL CHECK OPTION;</CODE></STRONG>
mysql> <STRONG class=userinput><CODE>CREATE VIEW v3 AS SELECT * FROM v1 WHERE a > 0</CODE></STRONG>
    -> <STRONG class=userinput><CODE>WITH CASCADED CHECK OPTION;</CODE></STRONG>
ログイン後にコピー

Here the <FONT face=新宋体>v2</FONT> and <FONT face=新宋体>v3</FONT> views are defined in terms of another view, <FONT face=新宋体>v1</FONT>. <FONT face=新宋体>v2</FONT> has a <FONT face=新宋体>LOCAL</FONT> check option, so inserts are tested only against the <FONT face=新宋体>v2</FONT> check. <FONT face=新宋体>v3</FONT> has a <FONT face=新宋体>CASCADED</FONT> check option, so inserts are tested not only against its own check, but against those of underlying views. The following statements illustrate these differences:

ql> INSERT INTO v2 VALUES (2);
Query OK, 1 row affected (0.00 sec)
mysql> <STRONG class=userinput><CODE>INSERT INTO v3 VALUES (2);</CODE></STRONG>
ERROR 1369 (HY000): CHECK OPTION failed 'test.v3'
ログイン後にコピー

The updatability of views may be affected by the value of the <font face="新宋体">updatable_views_with_limit</font> system variable. (完)


このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。

ホットAIツール

Undresser.AI Undress

Undresser.AI Undress

リアルなヌード写真を作成する AI 搭載アプリ

AI Clothes Remover

AI Clothes Remover

写真から衣服を削除するオンライン AI ツール。

Undress AI Tool

Undress AI Tool

脱衣画像を無料で

Clothoff.io

Clothoff.io

AI衣類リムーバー

AI Hentai Generator

AI Hentai Generator

AIヘンタイを無料で生成します。

ホットツール

メモ帳++7.3.1

メモ帳++7.3.1

使いやすく無料のコードエディター

SublimeText3 中国語版

SublimeText3 中国語版

中国語版、とても使いやすい

ゼンドスタジオ 13.0.1

ゼンドスタジオ 13.0.1

強力な PHP 統合開発環境

ドリームウィーバー CS6

ドリームウィーバー CS6

ビジュアル Web 開発ツール

SublimeText3 Mac版

SublimeText3 Mac版

神レベルのコード編集ソフト(SublimeText3)

GIMPでピクセルアートを作成する方法 GIMPでピクセルアートを作成する方法 Feb 19, 2024 pm 03:24 PM

この記事は、Windows でのピクセル アート作成に GIMP を使用することに興味がある場合に役立ちます。 GIMP は、無料でオープンソースであるだけでなく、美しい画像やデザインを簡単に作成できる有名なグラフィック編集ソフトウェアです。 GIMP は、初心者にもプロのデザイナーにも同様に適していることに加えて、描画と作成のための唯一の構成要素としてピクセルを利用するデジタル アートの形式であるピクセル アートの作成にも使用できます。 GIMP でピクセル アートを作成する方法 Windows PC で GIMP を使用してピクセル アートを作成する主な手順は次のとおりです。 GIMP をダウンロードしてインストールし、アプリケーションを起動します。新しいイメージを作成します。幅と高さのサイズを変更します。鉛筆ツールを選択します。ブラシの種類をピクセルに設定します。設定

Gree+ でファミリーを作成する方法 Gree+ でファミリーを作成する方法 Mar 01, 2024 pm 12:40 PM

「Gree+ ソフトウェアでファミリーを作成する方法を知りたい」という友達がたくさんいました。操作方法は次のとおりです。詳しく知りたい友達は、一緒に見に来てください。まず、携帯電話で Gree+ ソフトウェアを開き、ログインします。次に、ページ下部のオプション バーで、右端の [My] オプションをクリックして、個人アカウント ページに入ります。 2. マイページにアクセスすると、「ファミリー」の下に「ファミリーを作成」という項目があるので、それをクリックして入力します。 3. 次にファミリーを作成するページにジャンプし、表示に従って入力ボックスに設定するファミリー名を入力し、入力後右上の「保存」ボタンをクリックします。 4. 最後に、ページの下部に「正常に保存しました」というプロンプトが表示され、ファミリが正常に作成されたことが示されます。

SpringBoot と SpringMVC の違いと比較を理解する SpringBoot と SpringMVC の違いと比較を理解する Dec 29, 2023 am 09:20 AM

SpringBoot と SpringMVC を比較し、その違いを理解する Java 開発の継続的な発展に伴い、Spring フレームワークは多くの開発者や企業にとって最初の選択肢となっています。 Spring エコシステムでは、SpringBoot と SpringMVC の 2 つの非常に重要なコンポーネントです。どちらも Spring フレームワークをベースにしていますが、機能や使用方法にいくつかの違いがあります。この記事では、SpringBoot と Spring の比較に焦点を当てます。

iPhone 用の連絡先ポスターを作成する方法 iPhone 用の連絡先ポスターを作成する方法 Mar 02, 2024 am 11:30 AM

iOS17 では、Apple は一般的に使用される電話アプリと連絡先アプリに連絡先ポスター機能を追加しました。この機能を使用すると、ユーザーは連絡先ごとにパーソナライズされたポスターを設定できるため、アドレス帳がより視覚的で個人的なものになります。連絡先ポスターは、ユーザーが特定の連絡先をより迅速に識別して見つけるのに役立ち、ユーザー エクスペリエンスを向上させます。この機能により、ユーザーは自分の好みやニーズに応じて各連絡先に特定の写真やロゴを追加でき、アドレス帳のインターフェイスがより鮮明になり、iOS17 では Apple は iPhone ユーザーに自分自身を表現する新しい方法を提供し、パーソナライズ可能な連絡先ポスターを追加しました。連絡先ポスター機能を使用すると、他の iPhone ユーザーに電話をかけるときに、独自のパーソナライズされたコンテンツを表示できます。あなた

Django の概要: コマンド ラインを使用して最初の Django プロジェクトを作成する Django の概要: コマンド ラインを使用して最初の Django プロジェクトを作成する Feb 19, 2024 am 09:56 AM

Django プロジェクトの旅を始めましょう: コマンド ラインから開始して、最初の Django プロジェクトを作成します。Django は、強力で柔軟な Web アプリケーション フレームワークです。Python をベースにしており、Web アプリケーションの開発に必要な多くのツールと機能を提供します。この記事では、コマンド ラインから最初の Django プロジェクトを作成する方法を説明します。始める前に、Python と Django がインストールされていることを確認してください。ステップ 1: プロジェクト ディレクトリを作成する まず、コマンド ライン ウィンドウを開き、新しいディレクトリを作成します。

Realme Phoneでフォルダーを作成するにはどうすればよいですか? Realme Phoneでフォルダーを作成するにはどうすればよいですか? Mar 23, 2024 pm 02:30 PM

タイトル: Realme Phone 初心者ガイド: Realme Phone でフォルダーを作成する方法?今日の社会において、携帯電話は人々の生活に欠かせないツールとなっています。人気のスマートフォン ブランドとして、Realme Phone はそのシンプルで実用的なオペレーティング システムでユーザーに愛されています。 Realme 携帯電話を使用する過程で、多くの人が携帯電話上のファイルやアプリケーションを整理する必要がある状況に遭遇する可能性があり、フォルダーを作成するのが効果的な方法です。この記事では、ユーザーが携帯電話のコンテンツをより適切に管理できるように、Realme 携帯電話にフォルダーを作成する方法を紹介します。いいえ。

Word ではどのようなビューが表示されますか? Word ではどのようなビューが表示されますか? Mar 19, 2024 pm 06:10 PM

Word の組版スキルを学びたい学生は多いと思いますが、編集者は、組版スキルを学ぶ前に Word のビューをしっかり理解する必要があるとこっそり教えてくれます。Word2007 では、ユーザーが選択できる 5 つのビューが用意されています。ビューにはページが含まれます。ビュー、読書レイアウト ビュー、Web レイアウト ビュー、アウトライン ビュー、および通常ビュー、今日はエディターでこれら 5 つの単語ビューについて学びましょう。 1. ページ ビュー ページ ビューは、主にヘッダー、フッター、グラフィック オブジェクト、段組み設定、ページ余白などの要素を含む Word2007 文書の印刷結果の外観を表示することができ、印刷結果に最も近いページ ビューです。 2. 読書レイアウト ビュー 読書レイアウト ビューでは、本の段組みスタイルで Word2007 ドキュメントと Office が表示されます。

MDFファイルの作成方法 MDFファイルの作成方法 Feb 18, 2024 pm 01:36 PM

MDF ファイルは一般的なデータベース ファイル形式であり、Microsoft SQL Server データベースの主要なファイルの 1 つです。データベース管理システムでは、テーブル、インデックス、ストアド プロシージャなどを含むデータベースの主要なデータを保存するために MDF ファイルが使用されます。 MDF ファイルの作成はデータベース作成の重要な手順の 1 つであり、一般的な方法をいくつか紹介します。 SQLServerManagementStudio(SSMS)SQLServerManager の使用

See all articles