以下语句执行后myTable的名称是()。 Dim myTable as DataTable myTable=New System.Data.DataTable()
第1题:
A、Dim ADOcn As Connection
B、Dim ADOcn As New Connection
C、Declare ADOcn As New Connection
D、Declare ADOcn As Connection
第2题:
下列过程的功能是:将当前数据库文件中“学生表”的所有学生“年龄”加1。 Private Sub SetAgeplus2_Click( ) Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim fd As ADODB.Field Dim strConnect As String Dim strSQL As String Set cn=CurrentProject.Connection strSQL=“Select年龄from学生表” rs.Open strSQl,cn,adOpenDynamic,adlockOptimistic,adCmdText set fd=rs.Fields(“年龄”) Do While Not rs.EOF fd=__________ rs.Update rs.__________ Loop rs.Close cn.Close Set rs= Nothing Set cn=Nothing End Sub 横线处应填写的内容是( )。
A.fd-1 0pen
B.fd+1 close
C.fd+1 MoveNext
D.fd-1 Recordset
第3题:
执行语句Dim X,Y As Integer后( )

第4题:
以下语句执行时,从键盘上输入Zhang,执行结果是______。 Dim a As String a=InputBox("Input","","Name") Print a
A.Input
B.Name
C.Zhang
D.空字符串
第5题:
Consider the Mysql Enterprise Audit plugin. A CSV file called data.csv has 100 rows of data. The stored procedure prepare_db ( ) has 10 auditable statements. You run the following statements in the mydb database: Mysql> CALL prepare_db ( ); Mysql> LOAD DATA INFILE '/tmp/data.cav' INTO TABLE mytable; Mysql> SHOW TABLES; How many events are added to the audit log as a result of the preceding statements?()
第6题:
以下语句执行后,myDataSet中增加的表的名称是()。 dim myDataSet as new DataSet() myDataSet.Tables.Add()
第7题:
以下语句获取表中第1行第1列(FirstName列)的数据,其中错误的语句是()。
第8题:
在SQL Server中,下列标识符可以作为本地临时表名的是()。
第9题:
You are creating a DataTable. You use the following code segment to create the DataTable. (Line numbers are included for reference only.) 01 Dim dt As New DataTable("Products") 02 dt.Columns.Add(New DataColumn("Price", _ GetType(Decimal))) 03 dt.Columns.Add(New DataColumn("Quantity", _ GetType(Int32))) 04 Dim dc As DataColumn = New DataColumn("Total", _ GetType(Decimal)) 05 dt.Columns.Add(dc) You need to ensure that the Total column is set to the value of the Price column multiplied by the Quantity column when new rows are added or changed. What should you do? ()
第10题:
SELECT * FROM [select]
SELECT * FROM @MyTable
SELECT * FROM [MyTable]
SELECT * FROM MyTable
第11题:
##MyTable
@@MyTable
@MyTable
#MyTable
第12题:
Table1
Table2
TableN
Nothing
第13题:
已知ds1、ds2分别代表两个不同的DataSet对象。其中ds1已包含名为“Customer”的DataTable对象,且该DataTable对象被变量dt_Customer引用。已知dt_Customer表有300条记录,则执行下列语句后,新的数据表new_dt_Customer中包含D_条记录。 DataTablenew_dt_Customer=dt_Customer.Copy();
A.0
B.100
C.200
D.300
第14题:
将查询学生的结果放在数组MyArray中的SQL语句是: SELECT*FROM学生表WHERE籍贯=’北京’_________ 上面空缺的短语是( )。
A. INTO CURSOR MyCumor
B. TO ARRAY MyArray
C. INTO ARRAY MyArray
D. INTO TABLE MyTable
第15题:
执行以下语句后显示结果为______。 Dim x As Integer If x Then Print x Else Printx-1
A.1
B.0
C.-1
D.不确定
第16题:
执行以下语句后显示结果为______。 Dim x As Integer If X Then Print x Else Print X-1
A.1
B.0
C.-1
D.不确定
第17题:
要删除mytable表中的myindex索引,可以使用()语句。
第18题:
myTable=New System.Data.DataTable(),myTable的名称是Table1。
第19题:
下列命令不能执行的是()。
第20题:
You issued the following command: SQL> DROP TABLE MYTABLE; SQL> SHOW RECYCLEBIN The following output is returned: ORIGINAL NAME RECYCLEBIN NAME OBJECT TYPE DROP TIME ------------- ------------------------------ --------------- -------------------- MYTABLE BIN$04LhcpndanfgMAAAAAANPw==$0 TABLE 2005-01-13:20:11:31 You want to drop the table, MYTABLE, from the Recycle Bin. Which two commands can you issue to accomplish the desired task?()
第21题:
对
错
第22题:
Add the following code segment after line 05. dc.ExtendedProperties(Total) = Price * Quantity
Add the following code segment after line 05. dc.Expression = Price * Quantity
Write an event handler for the DataTable's TableNewRow event that updates the row's Total.
Write an event handler for the DataTable's ColumnChanged event that updates the row's Total.
第23题:
Table1
Table2
TableN
Nothing