百度试题 结果1 题目在SQL中,建立表用的命令是()。 A. CREATE SCHEMA B. CREATE TABLE C. CREATE VIEW D. CREATE INDEX 相关知识点: 试题来源: 解析 B 满分:2 分 正确答案:B反馈 收藏
A. CREATE SCHEMA命令 B. CREATE TABLE命令 C. CREATE INDEX命令 D. CREATE VIEW命令 相关知识点: 试题来源: 解析 B 正确答案:B 解析:SQL语言中,CREATE命令完成的功能是数据定义的功能,利用 CREATE语句,可以建立基本表、视图、索引和模式。在本题的四个选项中,CREATE SCHEMA命令的功能是建立模式;CREATE TABLE...
在SQL中,建立索引用()。 A. CREATESCHEMA命令 B. CREATETABLE命令 C. CREATEVIEW命令 D. CREATEINDEX命令 相关知识点: 试题来源: 解析 D 答案:D 解析:创建索引用CREATEINDEX;创建模式用CREATESCHEMA;创建视图用CREATEVIEW;创建表用CREATETABLE。反馈 收藏 ...
Altering a NULL column to NOT NULL if the column contains null values in the current or history tableExamplesA. Change the schema of a temporal tableHere are some examples that change the schema of temporal table.SQL Copy ALTER TABLE dbo.Department ALTER COLUMN DeptName varchar(100); ALTER...
1在标准SQL中,建立视图的命令是___。 A.CREATE SCHEMA命令B.CREATE TABLE命令C.CREATE VIEW命令D.CREATE INDEX命令 2在标准SQL中,建立视图的命令是___。 A.CREATESCHEMA命令B.CREATETABLE命令C.CREATEVIEW命令D.CREATEINDEX命令 3在标准SQL中,建立视图的命令是 ___。 A.CREATE SCHEMA命令B.CREATE TABLE命令...
在SQL中,删除视图用___。 A. DROP SCHEMA命令 B. CREATE TABLE命令 C. DROP VIEW命令 D. DROP INDEX命令 相关知识点: 试题来源: 解析 C 正确答案:C 解析:本题的正确答案是C,命令是DROP VIEW。选项A中命令的含义是删除某个模式;选项B中的命令含义是创建表;选项D中命令的含义是删除某个表上建立的索引。
SQL> create table system.test(name char(10)); Table created. SQL> insert into test values(‘scott’); 1 row created. SQL> insert into system.test values(‘system’); 1 row created. SQL> commit; Commit complete. SQL> conn system/manager Connected. ...
SELECTtable_name,table_rows,data_length,index_lengthFROMinformation_schema.tablesWHEREtable_schema='your_database_name'; 1. 2. 3. 这条sql语句会返回指定数据库中所有表的名称、行数、数据长度和索引长度。 步骤3:获取数据长度和索引长度 最后,我们可以根据查询结果获取数据长度和索引长度。数据长度代表表中...
The following table shows some sample contents of the data_lock_waits table. Identifying a Blocking Query After the Issuing Session Becomes Idle When identifying blocking transactions, a NULL value is reported for the blocking query if the session that issued the query has become idle. In this ...
Retrieves whether a schema name can be used in a table definition statement. Java documentation forjava.sql.DatabaseMetaData.supportsSchemasInTableDefinitions(). Portions of this page are modifications based on work created and shared by theAndroid Open Source Projectand used according to terms descr...