摘要:
数据库事务的四大特性以及事务的隔离级别 本篇讲诉数据库中事务的四大特性(ACID),并且将会详细地说明事务的隔离级别。 如果一个数据库声称支持事务的操作,那么该数据库必须要具备以下四个特性: ⑴ 原子性(Atomicity) 原子性是指事务包含的所有操作要么全部成功,要么全部失败回滚,这和前面两篇博 阅读全文
摘要:
求5! # include <studio.h> int main(){ int i,t; t=1; i=2; while (i<=5){ t=t*i i=i+1 } printf("%d\n",t); return 0; } 求1-1/2+1/3-1/4+........+1/99-1/100的值 阅读全文
摘要:
#include <studio.h> int main(){ printf("this is dog.\n"); return 0; } studio.h 表示standard input 和 output 的缩写 后缀.h是头文件意思header \n 是换行符 第二例子: #include < 阅读全文
摘要:
'第三个按钮,上传数据到数据库 Private Sub CommandButton1_Click() str1 = "abcde" str2 = InputBox("请输入一个字符串!") If str1 = str2 Then MsgBox "它们是一样的呀!" Else MsgBox "它们是不 阅读全文
摘要:
<record id="action_purchase_order_done" model="ir.actions.server"> <field name="name">取消按钮</field> <field name="model_id" ref="model_purchase_origin"/ 阅读全文
摘要:
获取当前时间的代码:xml文件中<td><div align="center"><br/><strong>送检时间</strong></div></td><td><br/> <script type="text/javascript"> function getNowFormatDate() { v 阅读全文
摘要:
def init(self,cr): tools.sql.drop_view_if_exists(cr, 'custrom_product_infomation_report') cr.execute(""" create or replace view custrom_product_infoma 阅读全文
摘要:
Option Explicit Dim sql, tj As String, rnum As Double, r As Integer Private Sub CommandButton1_Click() '刷新库存 On Error Resume Next Dim rowcount As Doub 阅读全文
摘要:
阅读全文
摘要:
Apache与Nginx的优缺点比较 Apache与Nginx的优缺点比较 Apache与Nginx的优缺点比较 Apache与Nginx的优缺点比较 1、nginx相对于apache的优点: 轻量级,同样起web 服务,比apache占用更少的内存及资源 抗并发,nginx 处理请求是异步非阻塞的 阅读全文