搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单项选择题】

mysql_query(“setnamesgb2312”);该行代码一般要写在哪里最合适?()

A、A.从数据表中返回记录之前

B、B.从数据表中返回记录中间

C、C.从数据表中返回记录之后

D、D.写在哪里也无所谓

更多“mysql_query(“setnamesgb2312”);该行代码一般要写在哪里最合适?()”相关的问题
第1题

A、mysql_db_querymysql_query在执行sql语句后的返回值是一样的,成功返回资源号,失败返回FALSE  B、不能用mysql_query函数临时在另一个数据库上执行sql语句,而mysql_db_query可以  C、mysql_db_query不会切换回先前连接到的数据库  D、mysql_query在功能上等于mysql_select_db()+mysql_db_query()  

点击查看答案
第3题

A、mysql_fetch_row  B、mysql_select_db  C、mysql_query  D、mysql_connect  

点击查看答案
第4题

A、A.mysql_select_db  B、B.mysql_connect  C、C.mysql_query  D、D.mysql_fetch_field  

点击查看答案
第6题

A、It is a static variable and can be set only at MySQL server startup  B、It enables and starts the General Query Log  C、It sets the target location for the binary logs generated by the MySQL sever  D、It specifies output destinations for the slow and General Query logs  

点击查看答案
第7题

A、The General Query Log records more data than the Binary Log  B、The binary Log records more data than the General Query Log  C、The Slow Query Log records more data than the General Query Log  D、The General Query Log records more data than the Slow Query Log  E、The Slow Query Log records more data than the Binary Log  F、The Binary Log records more data than the Slow Query Log  

点击查看答案
第8题

A、Do not pass a user variable in the WHERE clause because it limits the ability of the optimizer to use indexes  B、Add an index on the objective column so that is can be used in both the WHERE and GROUP BY operations  C、Drop the run_2 index because it has caused a conflict in the choice of key for this query  D、Execute the run_2 index because it has caused a conflict in the choice of key for this query  E、Add a composite index on (run,objective,stage) to allow the query to fully utilize an index  

点击查看答案
第9题

A、A.mysql_ping  B、B.mysql_status  C、C.mysql_stat  D、D.mysql_info  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服