网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

在public void onCreate(SQLite Database db)方法中执行SQL语句的方法是?()

  • A、sql Able Database()
  • B、Exec SQL()
  • C、db.exec SQL()
  • D、db.exec()

参考答案

更多 “在public void onCreate(SQLite Database db)方法中执行SQL语句的方法是?()A、sql Able Database()B、Exec SQL()C、db.exec SQL()D、db.exec()” 相关考题
考题 下列关于动态SQL语句的叙述中,哪个是不正确的?( )A) 动态SQL语句是SQL标准提供的一种语句运行机制B) 动态SQL语句是指在程序编译时尚未确定,需要在程序的执行过程中临时生成的SQL语句C) SQL标准引入动态SQL语句的原因是由于静态SQL语句不能提供足够的编程灵活性D) SQL标准提供的动态SQL语句的执行方式只有立即执行方式A.B.C.D.

考题 在高级语言中使用嵌入式SQL语句时,所有SQL语句前必须加前缀______。A.CALL SQLB.DO SQLC.EXEC SQLD.GOTO SQL

考题 在Web SQL数据库中可以通过JavaScript调用()方法执行相应的SQL语句。 A.transactionB.executeSqlC.setItemD.getItem

考题 在嵌入式SQL中,为了能区分SQL语句于宿主语言语句,所有SQL语句都必须加前缀( )。A.SQLB.EXECC.EXEC SQLD.<EXEC>SQL

考题 在高级语言中使用SQL语句时,所有SQL语句前都必须加前缀______。A.CALL SQLB.DO SQLC.EXEC SQLD.GOTO SQL

考题 SQL Server中进行数据库恢复的SQL语句是()。AINSERT DATABASEBBACKUP  DATABASECRESTORE  DATABASEDUPDATE DATABASE

考题 SQL注入,是开发者在代码中使用SQL语句时,要先生成SQL语句,然后调用函数执行这条SQL语句。如果错误地直接将用户输入拼接到SQL语句中,就有可能产生非预期的结果,从而将用户输入当作SQL语句执行。

考题 You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named DB1 in the instance. DB1 is available to a Windows group which is named WIIKIGO/Supervisors. A Windows user named User1 is a member of the WIIKIGO/Supervisors group. WIIKIGO/Supervisors is a member of the db_owner role in the DB1 database. You must make sure that the SQL Server instance is available to User1. In the DB1 database, which Transact-SQL statement(s) should you execute?()  A、 DROP LOGIN "WIIKIGO/User1"; B、 EXEC dbo.sp_droprolemember 'db_owner', 'WIIKIGO/User1';C、 EXEC dbo.sp_revokedbaccess 'WIIKIGO/User1';EXEC dbo.sp_revokelogin 'WIIKIGO/User1'; D、 CREATE LOGIN "WIIKIGO/User1" FROM Windows;DENY CONNECT SQL TO "WIIKIGO/User1";

考题 SQL Server中进行数据库备份的SQL语句是()。A、INSERT DATABASEB、BACKUP DATABASEC、RESTORE DATABASED、UPDATE DATABASE

考题 Which statement correctly describes SQL and /SQL*Plus?()A、Both SQL and /SQL*plus allow manipulation of values in the database.B、/SQL* Plus recognizes SQL satement and sends them to the server; SQL is the Oracle proprietary interface for executing SQL statements.C、/SQL* Plus language for communicating with the Oracle server to access data; SQL recognizes SQL statements and sends them to the server.D、/SQL manipulates data and table definition in the database; /SQL* Plus does not allow manipulation of values in the database.

考题 To view the results of the most recent Automatic SQL Tuning Advisor task, which sequence should you follow?()A、EM Database home page, Software and Support, SQL Advisors, Automatic SQL Tuning Advisor.B、EM Database home page, Software and Support, Advisor Central, SQL Advisors, Automatic SQL Tuning Advisor.C、EM Database home page, Software and Support, Support Workbench, Advisor Central, SQL Advisors, Automatic SQL Tuning Advisor.D、Either B or CE、All of the above

考题 在ADO.NET中,对于Command对象的ExecuteNonQuery()方法和ExecuteReader()方法,下面叙述错误的是()A、insert、update、delete等操作的Sql语句主要用ExecuteNonQuery()方法来执行;B、ExecuteNonQuery()方法返回执行Sql语句所影响的行数。C、Select操作的Sql语句只能由ExecuteReader()方法来执行;D、ExecuteReader()方法返回一个DataReder对象;

考题 宏命令RunSQL的功能是()A、执行指定的SQL语句B、执行指定的查询中的SQL语句C、使用SQL在表中查询D、使用SQL语句设置指定属性值

考题 RMAN enables you to open the target database when it is already mounted. Which command must you execute at the RMAN prompt to open the database?()A、’SQL ALTER DATABASE OPEN’;B、SQL ALTER DATABASE ’OPEN’;C、OPEN DATABASE;D、DATABASE OPEN

考题 Which of the following represents the correct way to perform an online recovery of datafile 4, which is assigned to a tablespace called USERS?()  A、 shutdown restore datafile 4; recover datafile 4; alter database open;B、 Sql alter database datafile 4 offline; restore datafile 4; recover datafile 4; alter database open;C、 Sql alter database datafile 4 offline; restore datafile 4; Sql alter database datafile 4 online;D、 Sql alter database datafile 4 offline; restore database datafile 4; recover database datafile 4;Sql alter database datafile 4 online;E、 Sql alter database datafile 4 offline; restore datafile 4; recover datafile 4; Sql alter database datafile 4 online;

考题 To view the results of the most recent Automatic SQL Tuning Advisor task,which sequence should you follow?()  A、 EM Database home page,Software and Support,SQL Advisors,Automatic SQL Tuning AdvisorB、 EM Database home page,Software and Support,Advisor Central,SQL Advisors,Automatic SQL Tuning AdvisorC、 EM Database home page,Software and Support,Support Workbench,Advisor Central,SQL Advisors,Automatic SQL Tuning AdvisorD、 Either B or CE、 All of the above

考题 You are planning the deployment of a SQL Azure database.  Your company has a Volume Licensing Agreement for Microsoft SQL Server 2008. The SQL Azure database must maintain a monthly availability of 99.9%.   You need to recommend an approach for minimizing the monthly expenses associated with the SQL Azure database.  What should you recommend?()A、 Add a processor license to the existing SQL Server licensing agreement.B、 Purchase a Windows Azure consumption platform subscription.C、 Purchase a SQL Server Services Provider Licensing Agreement (SPLA).D、 Purchase a SQL Server Web license to extend the existing SQL Server licensing agreement.

考题 You are designing a strategy for synchronizing a SQL Azure database and multiple remote Microsoft SQL Server 2008 databases.  The SQL Azure database contains many tables that have circular foreign key relationships.  You need to recommend an approach for ensuring that all changes in the remote databases synchronize with the SQL Azure database.  What should you recommend?()A、 Use SQLAzure Data Sync Service.B、 Use SQL Server replication.C、 Use SQL Server backup and restore.D、 Use SQL Server database snapshots.

考题 Your company uses a mission-critical database named DB1, which is located on a server named SQL1. You want to mirror DB1 on a second server named SQL2. Before you can establish database mirroring, you need to prepare DB1 and the servers for mirroring. Which three actions should you perform?()A、 Set the recovery model of DB1 on SQL1 to bulk-logged recovery. B、 Set the recovery model of DB1 on SQL1 to full recovery. C、 Back up DB1 on SQL1. Restore the backup on SQL2; specify the NORECOVERY option. D、 Back up DB1 on SQL1. Restore the backup on SQL2; specify the STANDBY option. E、 Back up DB1 on SQL1. Restore the backup on SQL2; specify the RECOVERY option.F、 Create endpoints on all participating servers. G、 Set the AutoShrink property of DB1 on SQL1 to false.

考题 单选题To view the results of the most recent Automatic SQL Tuning Advisor task, which sequence should you follow?()A EM Database home page, Software and Support, SQL Advisors, Automatic SQL Tuning Advisor.B EM Database home page, Software and Support, Advisor Central, SQL Advisors, Automatic SQL Tuning Advisor.C EM Database home page, Software and Support, Support Workbench, Advisor Central, SQL Advisors, Automatic SQL Tuning Advisor.D Either B or CE All of the above

考题 单选题You are designing a strategy for synchronizing a SQL Azure database and multiple remote Microsoft SQL Server 2008 databases.  The SQL Azure database contains many tables that have circular foreign key relationships.  You need to recommend an approach for ensuring that all changes in the remote databases synchronize with the SQL Azure database.  What should you recommend?()A  Use SQLAzure Data Sync Service.B  Use SQL Server replication.C  Use SQL Server backup and restore.D  Use SQL Server database snapshots.

考题 单选题宏命令RunSQL的功能是()A 执行指定的SQL语句B 执行指定的查询中的SQL语句C 使用SQL在表中查询D 使用SQL语句设置指定属性值

考题 单选题Which statement correctly describes SQL and /SQL*Plus?()A Both SQL and /SQL*plus allow manipulation of values in the database.B /SQL* Plus recognizes SQL satement and sends them to the server; SQL is the Oracle proprietary interface for executing SQL statements.C /SQL* Plus language for communicating with the Oracle server to access data; SQL recognizes SQL statements and sends them to the server.D /SQL manipulates data and table definition in the database; /SQL* Plus does not allow manipulation of values in the database.

考题 单选题在public void onCreate(SQLite Database db)方法中执行SQL语句的方法是?()A sql Able Database()B Exec SQL()C db.exec SQL()D db.exec()

考题 单选题SQL中删除基本表的语句是()()A Drop Database …B DropTable…C Create Database …D Create Table …

考题 多选题Your company uses a mission-critical database named DB1, which is located on a server named SQL1. You want to mirror DB1 on a second server named SQL2. Before you can establish database mirroring, you need to prepare DB1 and the servers for mirroring. Which three actions should you perform?()ASet the recovery model of DB1 on SQL1 to bulk-logged recovery.BSet the recovery model of DB1 on SQL1 to full recovery.CBack up DB1 on SQL1. Restore the backup on SQL2; specify the NORECOVERY option.DBack up DB1 on SQL1. Restore the backup on SQL2; specify the STANDBY option.EBack up DB1 on SQL1. Restore the backup on SQL2; specify the RECOVERY option.FCreate endpoints on all participating servers.GSet the AutoShrink property of DB1 on SQL1 to false.

考题 单选题You want to configure the Flashback Database feature and retain flashback logs for three days.  Presently the database is open and configured in ARCHIVELOG mode. The following steps must be performed in the correct sequence to do this:   1. Set the retention target:  SQL ALTER SYSTEM SET DB_FLASHBACK_RETENTION_TARGET=4320;  2. Enable Flashback Database:  SQL ALTER DATABASE FLASHBACK ON;  3. Mount the database:  SQL STARTUP MOUNT EXCLUSIVE  4. Shutdown the instance: SQL SHUTDOWN IMMEDIATE  5. Open the database:  SQL ALTER DATABASE OPEN;   Choose the correct sequence.()A  4, 1, 3, 2, 5B  4, 3, 1, 2, 5C  2, 4, 3, 5, 1D  4, 2, 5, 3, 1