网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
ContentResolver用什么方法查询ContentProvider提供的内容()
- A、select()
- B、retrieve()
- C、query()
- D、execute()
参考答案
更多 “ContentResolver用什么方法查询ContentProvider提供的内容()A、select()B、retrieve()C、query()D、execute()” 相关考题
考题
使用Command的()方法可以检索数据并将结果返回给Data Reader。
A.Execute ReaderB.Execute ScalarC.Execute NonQueryD.Execute Query
考题
使用()方法批量更新数据
A.ContentResolver.insert()B.ContentResolver.delete()C.ContentResolver.query()D.ContentResolver.update()
考题
下列关于ContentProvider的说法错误的是:()
A.ContentProvider的作用是实现数据共享和交换B.要访问ContentProvider,只需调用ContentProvider的增删改查相关方法C.ContentProvider提供的URI必须以“content://”开头D.Android对于系统里的音视频、图像、通讯录提供了内置的ContentProvider
考题
What is necessary for your query on an existing view to execute successfully? ()
A. The underlying tables must have data.B. You need SELECT privileges on the view.C. The underlying tables must be in the same schema.D. You need SELECT privileges only on the underlying tables.
考题
A user executes a query on the EMP table, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error: SQL SELECT ename FROM emp WHERE deptno=10 ORDER BY sal; SELECT ename FROM emp WHERE deptno=10 ORDER BY sal * ERROR at line 1: ORA/x7f01157: cannot identify/lock data file 201 /x7f see DBWR trace file ORA/x7f01110: data file 201: ’/u01/app/oracle/oradata/orcl/temp01.dbf’ What is a possible reason?()A、The tempfile belonging to the default temporary tablespace is missing.B、The database is opened in restricted mode, so queries are not allowed.C、The default temporary tablespace required to execute the query is offline.D、The default temporary tablespace required to execute the query is dropped.E、The default temporary tablespace required to execute the query is readonly.
考题
A user executes a query on the EMPtable, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error: SQL SELECT ename FROM emp WHERE deptno=10 ORDER BY sal; SELECT ename FROM emp WHERE deptno=10 ORDER BY sal ERROR at line 1: ORA-01157: cannot identify/lock data file 201 - see DBWR trace file ORA-01110: data file 201:’/u01/app/oracle/oradata/orcl/temp01.dbf’ What is a possible reason?()A、 The tempfile belonging to the default temporary tablespace is missing.B、 The database is opened in restricted mode, so queries are not allowedC、 The default temporary tablespace required to execute the query is offline.D、 The default temporary tablespace required to execute the query is dropped.E、 The default temporary tablespace required to execute the query is read-only.
考题
You are creating the DEPT_SAL data block from the PAYHIST form. Users should be able to enter a valid department ID number, which will then display the employee salary information for that department. This data block could potentially retrieve a large number of records. Since users will probably only view a small number of these records, only 10 records should be fetched at one time. How would you create the data block?()A、Select The Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, enter the procedure name in the Query Data Source Columns property, and the procedure code in the Query Data Source Arguments property. B、Choose Tools - Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. C、Choose Tools - Data Block Wizard, select, View as the data source type, and base the block on the columns from the tables. D、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'FROM clause query', and enter the SELECT statement in the Query Data Source Name property. E、Select the Data Block node in the Object Navigator and click the Create button. Alter the Query Data Source Type, Query Data Source Name, Query Data Sources Columns, and Query Data Source Arguments properties to create a stored procedure that uses a red cursor.
考题
下列关于ContentProvider的说法错误的是()A、ContentProvider的作用是实现数据共享和交换B、要访问ContentProvider,只需调用ContentProvider的增删改查相关方法C、ContentProvider提供的URI必须以“content://”开头D、Android对于系统里的音视频、图像、通讯录提供了内置的ContentProvider
考题
以下关于ContentResolver的说法错误的是()A、当外部应用需要对ContentProvider中的数据进行添加、删除、修改和查询操作时,可以使用ContentResolver类来完成。B、ContentResolver类提供了与ContentProvider类相同签名的insert、delete、update方法,但是没有提供query方法。C、通过ContentResolver对ContentProvider中的数据进行操作的时候,当需要将id为1时记录的name字段值更改为csg的时候,使用ContentValues的put方法,put("name","csg")。D、要获取ContentResolver对象,可以使用Activity提供的getContentResolver()方法。
考题
Which two statements about subqueries are true? ()A、A subquery should retrieve only one row.B、A subquery can retrieve zero or more rows.C、A subquery can be used only in SQL query statements.D、Subqueries CANNOT be nested by more than two levels.E、A subquery CANNOT be used in an SQL query statement that uses group functions.F、When a subquery is used with an inequality comparison operator in the outer SQL statement, the column list in the SELECT clause of the subquery should contain only one column.
考题
What is necessary for your query on an existing view to execute successfully? ()A、The underlying tables must have data.B、You need SELECT privileges on the view.C、The underlying tables must be in the same schema.D、You need SELECT privileges only on the underlying tables.
考题
单选题What is necessary for your query on an existing view to execute successfully?()A
The underlying tables must have data.B
You need SELECT privileges on the view.C
The underlying tables must be in the same schema.D
You need SELECT privileges only on the underlying tables.
考题
多选题Which two statements about subqueries are true? ()AA subquery should retrieve only one row.BA subquery can retrieve zero or more rows.CA subquery can be used only in SQL query statements.DSubqueries CANNOT be nested by more than two levels.EA subquery CANNOT be used in an SQL query statement that uses group functions.FWhen a subquery is used with an inequality comparison operator in the outer SQL statement, the column list in the SELECT clause of the subquery should contain only one column.
考题
单选题以下关于ContentResolver的说法错误的是()A
当外部应用需要对ContentProvider中的数据进行添加、删除、修改和查询操作时,可以使用ContentResolver类来完成。B
ContentResolver类提供了与ContentProvider类相同签名的insert、delete、update方法,但是没有提供query方法。C
通过ContentResolver对ContentProvider中的数据进行操作的时候,当需要将id为1时记录的name字段值更改为csg的时候,使用ContentValues的put方法,put(name,csg)。D
要获取ContentResolver对象,可以使用Activity提供的getContentResolver()方法。
热门标签
最新试卷