eygle.com   eygle.com
eygle.com eygle
eygle.com  
 
Digest Net: November 2007 Archives

November 2007 Archives

IBM斥资50亿美元收购Congos

| 4 Comments

【11月14日太平洋电脑网讯】本周一,IBM以50亿美元的价格收购数据分析软件公司Cognos。

  今年10月,德国公司SAP以68亿美元的价格收购了法国商业智能软件公司Business Objects。今年3月,甲骨文收购了Hyperion,Hyperion也是Cognos的竞争对手。由于被收购的消息传出,Cognos的股价大幅上涨。IBM的收购价是每股58美元,比上周五收盘时增长了9.5%

  分析人士预测,商业智能软件为了满足公司和政府的不断增长的需求,后续将进入一个快速增长的时期。

  Gartner的研究主管Colleen Graham表示:"对于这个全新的领域,IBM可以大展拳脚,但是因为IBM之前没有参与过这个领域,所以支付的价钱也比较高。"

  Cognos被IBM收购以后,将会遇到一些整合问题,商业智能软件和许多其它软件存在兼容性问题。之前在兼容性问题上,Cognos需要和其它公司合作才能解决,但是现在被IBM收购之后,其它的公司可能不愿意继续和Cognos合作,因为IBM一直是这些公司的竞争对手。

  IBM某些领域的竞争对手Accenture,因为之前是向其它公司出售大型数据系统时候是使用Cognos的软件,所以后续可能会造成影响。但是被IBM收购后,Cognos也会在许多新业务方面取得便利,Cognos将会拥有梦寐以求的庞大的分销系统。像其它的商业智能软件公司一样,Cognos也有着很多的分销商,例如:Home Depot, Amazon.com, American Eagle Outfitters ,7-Eleven. Harrah's等。

  Cognos将成为IBM软件集团内部的一个部门,仍然将由Cognos目前的总裁兼CEO Rob Ashe负责,并且Cognos这个商标也将被继续保持。

  Gartner的分析师Graham小姐表示,萨班斯-奥克斯利法案(Sarbanes-Oxley Act)对财务报告的要求更加严格,在一定程度上无意中提高了商业智能软件的利润。

赛迪网讯11月23日消息,据国外媒体报道,ZDnet网站近日评出了迄今为止最糟糕的10大IT灾难。2000的"千年虫"问题和索尼电池导致的笔记本着火事件纷纷上榜。

  1. 前苏联导弹预警系统软件故障差点导致第三次世界大战(1983年)

  2. AT&T网络瘫痪导致7500万用户受影响(1990年)

  3. 阿丽亚娜5号火箭爆炸 (1996年)

  4. 空中客车A380出现软件不兼容问题(2006年)

  5. 美国发射的火星气候探测器因导航系统单位不同而被毁(1998年)

  6. EDS CS2计算机系统给纳税人带来10亿英镑的损失(2004年)

  7. 千年虫问题(1999/2000年)

  8. 索尼电池引发的一系列笔记本爆炸事件(2006年)

  9. 西门子计算机系统故障引发50万英国居民新护照延迟(1999年)

  10. 软件故障导致1.7万架飞机滞留洛杉矶国际机场(2007年)

SQL Server发展史知识介绍

| 2 Comments

SQL Server发展史
· 1988 SQL Server 由微软与Sybase共同开发,运行于OS/2平台。
· 1993 SQL Server 4.2桌面数据库系统,功能较少。与Windows集成并提供了易于使用界面。
· 1994 Microsoft与Sybase在数据库开发方面的合作中止。
· 1995 SQL Server 6.05 重写了核心数据库系统。提供低价小型商业应用数据库方案。
· 1996 SQL Server 6.5
· 1998 SQL Server 7.0 重写了核心数据库系统,提供中小型商业应用数据库方案,包含了初始的Web支持。SQL Server从这一版本起得到了广泛应用。
· 2000 SQL Server 2000 企业级数据库系统,其包含了三个组件(DB, OLAP, English Query)。丰富前端工具,完善开发工具,以及对XML的支持等,促进了该版本的推广和应用。
· 2005 SQL Server 2005 最新版本,历时5年的重大变革。
· 2007 SQL Server 2008(Katmi)即将发布。

北京,2007年11月15日----甲骨文公司今天宣布,根据IDC2007年上半年亚太区软件收入的调查报告,其被评为在中国和亚太区(不含日本)关系型数据库管理系统(RDBMS)的领先供应商。

  根据IDC "2007年9月亚太区半年软件调查"报告,甲骨文在亚太区的市场份额高达53%,被评为市场的领先者,2007年上半年其软件收入达3.73亿美元,年增长率为19%。其市场份额也比2006年下半年的50%增长了近4个百分点。甲骨文在关系型数据库市场的市场份额是其最近竞争对手的2倍,竞争对手仅有21%的市场份额。在中国,甲骨文在关系型数据库市场拥有65%市场份额,是其最近竞争对手市场份额的4倍多,竞争对手仅有15%的市场份额。

  甲骨文公司大中华区数据库销售咨询高级总监李颖聪说"通过持续的创新,甲骨文继续增强了其在亚太区无可争议的关系型数据库市场份额。通过Oracle数据库11g的推出,我们希望继续革新数据库市场。客户将从其独特功能中获益,包括灵活的备用、实时应用测试和对所有数据类型的压缩,这些将对他们IT系统的功能性、可靠性和经济性有产生巨大的影响。"

  利用Oracle数据库11g保持数据库创新的领先地位

  甲骨文在08财年的第1财季发布了Oracle数据库11g,它具有很多创新性的功能,如Oracle Active Data Guard 、Oracle实时应用测试(Oracle Real Application Testing)、Oracle高级压缩(Oracle Advanced Compression)。经过36,000人月的开发和1500万小时的测试,Oracle数据库11g拥有400多项新功能,方便企业进行信息管理,能帮助客户更快速的了解他们业务和实现创新。

  甲骨文最近还宣布了Oracle数据库11g运行在Windows上创下了TPC-C基准测试的新世界记录,以$.73/tpm价格/性能每分钟可处理102,454项交易,Oracle数据库11g标准版1比其拥有相同价格/性能的最近竞争对手减少了13%的成本和增加了24%的性能。

  Oracle数据库在08财年第1财季在中国新赢得客户包括:阿里巴巴集团、 国防科技大学、长城信息产业股份有限公司、湖南省卫生厅、湖南省统计局、济源国土资源局、涟源钢铁集团、辽宁矿业权交易中心、深圳航空公司、中南大学湘雅医院。亚太区(不包含日本)赢得的客户:阿尔卡特 (澳大利亚), Amna Investment (斯里兰卡)、友达光电(台湾)、 东亚银行 (香港)、Commercial Taxes Department、拉贾斯坦邦政府(印度)、大新银行 (香港)、 移民局(斯里兰卡)、 Glow Company (泰国)、 Hoya Lens (泰国)、 益山市厅 (韩国)、科德柯能源(印度尼西亚)、韩国外汇(韩国)、PT BNI Multifinance (印度尼西亚)、PT Patra Nusa Data (印度尼西亚) 、中亚银行 (印度尼西亚) 、 SK 电信 (韩国)、成和专科学校(韩国), 、泰米尔纳德邦供电局(印度)、塔塔钢铁(泰国)、塔塔电信服务有限公司 (印度)、Yan Wal Yun (泰国)。

  关于Oracle数据库11g

  Oracle数据库是唯一具有网格计算功能的数据库。经过36,000人月的开发和1500万小时的测试,Oracle数据库11g拥有400多项新功能,使企业能更方便地管理信息,更了解他们的业务和实现更快的创新。Oracle数据库11g提供了高性能、伸展性、可用性、安全性,并能更方便地在低成本服务器和存储设备组成的网格上运行。

微软已经对外释出公开测试版本,预计未来每隔45天就会更新一次,进而让测试版本与微软内部的研发成果同步。

一年多前,微软推出SQL Server 2005时,团队成员就不讳言指出新一代数据库已经正在研发中。而微软内部研发代号Katmai的数据库,也就是新一代数据库,目前已经正式定名为 Microsoft SQL Server 2008。微软日前在美国举行的TechEd技术会议上,也正式揭露SQL Server 2008将在明年第一季发表,同时并预计第二季出货。

相较于前一个版本,SQL Server 2008推出的时间,并没有让使用者等待太久,甚至让人有版本间隔过于密集的感受,台湾微软服务器平台事业部资深产品营销经理黄淑翠表示,SQL Server 2008的改版幅度并不大,其中的4大功能构面,主要是针对安全、管理、开发以及系统效能进行强化,除此之外,也将加强与Office 2007的整合

黄淑翠表示,SQL Server 2008将会采用整合式政策设定(Police Based)的管理方式,并且以规则设定来取代既有的Script管理方式,预计将可大幅降低数据库管理员以及系统管理者的工作负担。过去数据库管理员或 是系统管理者在面对多台服务器的管理设定与组态更改时,大多需要逐一设定才能因应需求,SQL Server 2008所使用的Police Based的管理方式,则可同时管理数千台的SQL Server,对于企业来说,除了可以轻易达到一致性的管理以外,也可以大幅简化例行性管理与操作所需要的时间。

在开发层面,SQL Server 2008也将以类似对象的概念,来增加数据库开发的弹性与透通,包括表格与字段等都可以Entities(实体数据)来写,只要表格与字段之间的关连性定 义清楚,就可以参数的方式撰写,有别于过去必须以SQL指令逐一撰写每一行程序的做法。
除此之外,SQL Server 2008也大幅提升了非结构数据的支持,黄淑翠表示,SQL Server 2008已经可以支持三维的空间向量档。

目前SQL Server 2008虽然已经迈入公开测试阶段,不过预计最快要到明年2月(2008年2月)才会正式发表,在此之前,微软计划每隔45天就会推出新的测试版。

黄淑翠指出,前一个版本SQL Server 2005推出时,为人诟病的就是上市时间一延再延,距离SQL Server 2000甚至相隔5年之久,为了改善这样的问题,微软在SQL Server 2005上市之后,数据库研发团队就积极导入软件工程藉以提升数据库软件的开发与管理,为的就是要让产品如期上市。「根据微软内部的规画,未来每2~3年 就会推出新的数据库版本,」黄淑翠说。

SQL Server 2005推出1年多来,目前已经有30%左右的用户完成升级,预计明年推出SQL Server 2008之后,用户直接从SQL Server 2000升级到SQL Server 2008的比例将会更高。黄淑翠认为,一方面是因为企业对于数据库升级的态度本来就比较保守,因此在稳定性与成本投资等诸多考虑下,隔代升级的情况相当普遍,另一方面则是因为SQL Server 2000的产品支持,预计明年4月就会停止版本更新等产品支持服务,因此,SQL Server 2008推出后,预计将会引发一波升级需求

甲骨文和Sun微系统今天在旧金山甲骨文全球大会上联合宣布推出面向Sun产品的Oracle优化数据仓库(Oracle Optimized Warehouse for Sun)。该产品是一款全面、可开箱即用的高性能数据仓库解决方案,融合了甲骨文数据库软件以及Sun硬件和操作系统。

  Sun将负责该解决方案的销售。。面向Sun公司产品的Oracle优化数据仓库的所有的硬件及软件组件都可以预先安装、配置及优化,可以立即开始运行使用,从而为客这款最新产品由以下模块组成:可在Sun Fire E20K 服务器上运行的Oracle数据库企业版、Oracle实时应用集群与Oracle分区软件、Sun公司开源操作系统Solaris和Sun StorageTek 6540阵列等户采购、实施以甲骨文及Sun公司的技术为基础的数据仓库提供了一个实施速度最快、过程最简便且风险最低的途径。

  今天宣布推出的面向Sun公司产品的Oracle优化数据仓库是专门针对可容纳10兆兆字节原始数据的数据仓库量身设计的。甲骨文和Sun公司计划在将来对Oracle优化数据仓库配置方案进行验证,通过使用模块化的构建模块,向客户提供更大型的解决方案。该一揽子解决方案提供了简便、快速的实施方法,以及灵活、功能强大的世界领先的数据库平台。甲骨文公司产品具有先进的分析以及管理功能,与Sun公司的硬件产品的强大功能和高度的可靠性相结合,使面向Sun公司产品的Oracle优化数据库脱颖而出,成为一款极具吸引力的产品。

  SUN公司市场拓展部副总裁Juan Carlos Soto先生表示:"这款预配置的解决方案之所以吸引人,原因很简单:客户可以轻松拥有一款功能全面、优化的、可扩展的数据仓库,而且该产品运行速度快。此外,这款预配置解决方案还囊括了Oracle数据库以及Sun公司的开源操作系统Solaris,为客户提供了一个可靠、安全、高效的计算环境。"

  甲骨文公司数据仓库与商业智能平台副总裁Ray Roccaforte先生表示:"随着面向Sun公司产品的Oracle优化数据仓库的推出,客户就能比以往更容易地购买到世界级的数据仓库平台。甲骨文和Sun公司紧密合作,共同测试、优化这款数据仓库产品,帮助客户降低成本,缩短实施时间,提供了一个能够处理大量工作以及最复杂的商业分析任务的解决方案。"

  面向Sun公司产品的Oracle优化数据仓库以Sun与甲骨文公司在大规模数据仓库领域多年的工程技能为基础,提供了一个理想的数据库、服务器以及存储配置方案,能够满足客户的业务分析需要,在不限制未来发展以及分析灵活性的前提下,可以有效减少数据仓库实施时间。

贸易差额与通货膨胀

| 3 Comments

贸易差额是一个国在一定时期出口总额与进口总额相比的差数。当出口额大于进口额时,称为贸易顺差,也叫贸易出超;当进口额大于出口额时,称为贸易逆差,也叫贸易入超;如二者相等时,称为贸易平衡。由于贸易收支是一国国际收支中的重要组成部分,因而贸易差额的状况对一国的国妹收支有极为重大的影响。

通货膨胀,是一种货币现象, 指货币发行量超过流通中实际所需要的货币量而引起的货币贬值现象。通货膨胀与物价上涨是不同的经济范畴,但两者又有一定的联系,通货膨胀最为直接的结果就是物价上涨。

按照通货膨胀的严重程度,可以将其分为三类:

第一,爬行的通货膨胀,又称温和的通货膨胀,其特点是通货膨胀率低而且比较稳定。

第二,加速的通货膨胀,又称奔驰的通货膨胀,其特点是通货膨胀率较高(一般在两位数以上),而且还在加剧。

第三,超速通货膨胀,又称恶性通货膨胀,其特点是通货膨胀率非常高(标准是每月通货膨胀率在50%以上)而且完全失去了控制。

另外还有一种受抑制的通货膨胀,又称隐蔽的通货膨胀。这种通货膨胀是指经济中存在着通货膨胀的压力,但由于政府实施了严格的价格管制与配给制,通货膨胀并没有发生。一旦解除价格管制并取消配给制,就会发生较严重的通货膨胀
-----------------------------------------------------------------------------------------------------------------------
通货膨胀
1.是一种"太多的货币追逐太少的商品"的普遍的超额需求状况;
2.通货膨胀是总的或人均的货币存量或货币收入的增加
3.通货膨胀是带有附加特征或条件的物价水平上涨;它的预期是完全的;它会通过成本提高来使物价进一步上涨;它不会使就业和实际产量增加;它比某种"安全"速率变动得更快一些;它由"货币方面的原因"引起;它由扣除了间接税和补贴的价格度量;它是不可逆的。
4.通货膨胀是由外汇汇率或黄金价格度量的,或者是由黄金超额需求或按官方汇率计算的外汇超额需求表示的货币对外价值的下跌

通货膨胀最初指因纸币发行量超过商品流通中的实际需要量而引起的货币贬值现象。纸币流通规律表明,纸币发行量不能超过它象征地代表的金银货币量,一旦超过了这个量,纸币就要贬值,物价就要上涨,从而出现通货膨胀。通货膨胀只有在纸币流通的条件下才会出现,在金银货币流通的条件下不会出现此种现象。因为金银货币本身具有价值,作为贮藏手段的职能,可以自发地调节流通中的货币量,使它同商品流通所需要的货币量相适应。而在纸币流通的条件下,因为纸币本身不具有价值,它只是代表金银货币的符号,不能作为贮藏手段,因此,纸币的发行量如果超过了商品流通所需要的数量,就会贬值。例如,商品流通中所需要的金银货币量不变,而纸币发行量超过了金银货币量的一倍,单位纸币就只能代表单位金银货币价值量的1/2,在这种情况下,如果用纸币来计量物价,物价就上涨了一倍,这就是通常所说的货币贬值。此时,流通中的纸币量比流通中所需要的金银货币量增加了一倍,这就是通货膨胀。在宏观经济学中,通货膨胀主要是指价格和工资的普遍上涨。

通货膨胀在现代经济学中意指整体物价水平上升。一般性通货膨胀为货币之市值或购买力下降,而货币贬值为两经济体间之币值相对性降低。前者用于形容全国性的币值,而后者用于形容国际市场上的附加价值。两者之相关性为经济学上的争议之一。

近期欧盟13国和G7国财长会议,呼吁中国加快人民币汇率改革步伐,增强汇率灵活性,并表示将对中国施加压力。源于自2005年7月21日人民币汇率改革以来,人民币兑美元升值幅度超过10.46%,而人民币兑欧元贬值幅度达3.85%,对英镑、加元、澳币也有所贬值,兑日元升值0.51%。美元目前处于全面贬值阶段
,这造成资金流向经济增长看好非美元货币,目前相对美元而言欧元、英镑、加元、澳币、日元等货币都处于升值状态。由于亚洲经济,尤其中国经济增长强劲,所以,近日亚洲货币走高,尤其是美元兑人民币汇率创出新高,一方面是美元贬值速度加快,另一方面人民币仍有升值要求。综上诸多因素,预计人民币升值幅度可能会加快,将给资本品的股市增加上升动力。

美国结构性赤字导致美元疲软,已经在汇市被反映出来,美国经济增长放缓,美国消费开支由此受累,美元进入降息周期,美联储宽松货币政策,将催化美国以外的资产泡沫,尤其加快国际过剩资本"热钱"向中国等新兴市场转移速度,从而加据了我国通货膨胀压力。今年1至10月,我国CPI为4.3%,估计全年CPI将达4.5%左右水平,虽然今年以来人民银行5次加息,利息税从20%降到5%,以一年定期存款3.87%的基准利率,扣除5%利息税后,实际利率只有3.6765%,在如此负利率情况下,市场普遍预期人民币通过加息来抑制通货膨胀,当前人民币正处于加息周期中,势必引发更多投机资本流入。美元与人民币利率走势,会不断缩小人民币与美元的利率差,压缩人民币加息空间。

欧元兑美元升值速度比人民币兑美元升值速度还快,为什么没有出现大量"热钱"涌入欧洲呢?说明"热钱"瞄准的是人民币资产和资本品股市,因此,对人民币的资产价格和资本品股市走高起着助推作用。

国家商务部公布的数据表明,今年1至9月份,我国贸易顺差1856.5亿美元,已经超过去年全年的1774.6亿美元,估计今年全年外贸顺差可能达到2500亿美元。据有关部门统计数据:2006年中国对欧元区贸易顺差为916亿美元,对美国贸易顺差为1443亿美元,前者是后者的60%。今年前9个月,中国对欧元区和美国顺差比去年同期分别增长52.5%和16.1%,趋势上看两者贸易顺差有迅速拉近的可能,是欧元向人民币汇率施压的依据之一。

目前,中国占世界总出口比例接近10%,与此同时,仍然以20%左右速度增长,势必影响全球经济发展格局的变化。外贸顺差扩大,源于国际产业的转移,世界各国对中国产品需求量旺盛,与我国产品出口竞争能力强有关系。预计全球资源价格因美元贬值而提价,这会促使资源进口商成本提高,加据全球通货膨胀,所以,估计明年我国出口产品价格还会上涨。只要外贸顺差尚在,外汇储备就还会增长,流动性过剩局面也会继续存在,那么支持资本品股市的流动性资金就不会消失。

美元减息意味着美元贬值,导致今年前9个月,欧元兑美元升值7.7%,加元升值14.5%,其他硬货币兑美元均有不同程度上升值,但人民币升值不到4%。实际有效汇率变化更大,美元和日元分别贬值3.6%和1.5%,人民币贬值2.7%,欧元和加元分别升值0.9%和11%,可见人民币汇率升值幅度小,而欧元升值幅度大,加之人民币实际有效汇率在贬值,而欧元实际有效汇率在升值,这就是欧元希望人民币加快步伐的主要原因。

这次因美国次级债引发的美元危机,造成欧美等地区部分市场流动性从泛滥到紧张,而亚洲部分地区从流动性角度观察,并没有受美国次级债影响,东南亚地区货币,尤其港元和人民币流动性反而有增无减。加之美元疲弱致使大量抛售美元,购买实物资产,全球收购兼并活动愈演愈烈,导致资产价格攀升,如黄金、石油等价格不断走高,通货膨胀笼罩全球经济。在经济学里有一句很经典的话:"通货膨胀时期除了债券和狗屎什么都可以买"。这是股票市场在如此通货膨胀环境下的真实写照,人民币在低利率或负利率和汇率升值过程中,股票市场的行情就会持续。

原文出处:
http://news.xinhuanet.com/comments/2007-11/16/content_7085259.htm

贸易顺差小词条

| 3 Comments

究一国对外贸易发展情况,主要借助于政府定期公布的对外贸易平衡表。一般而言,平衡表比较系统地载有表明出口和进口的数字统计,大体可反映一国在特定时期内对外贸易乃至国民经济发展状况。一国对外贸易按出口大于、小于或等于进口等情况,分别构成贸易顺差、贸易逆差或贸易平衡。

1 .贸易顺差( Favorable Balance 0f Trade )。所谓贸易顺差是指在特定年度一国出口贸易总额大于进口贸易总额,又称 " 出超 ".表示该国当年对外贸易处于有利地位。贸易顺差的大小在很大程度上反映一国在特定年份对外贸易活动状况。通常情况下,一国不宜长期大量出现对外贸易顺差,因为此举很容易引起与有关贸易伙伴国的摩擦。例如,美、日两国双边关系市场发生波动,主要原因之一就是日方长期处于巨额顺差状况。与此同时,大量外汇盈余通常会致使一国市场上本币投放量随之增长,因而很可能引起通货膨胀压力,不利于国民经济持续、健康发展

2 .贸易逆差( Unfavorable Balance 0f Trade )。所谓贸易逆差是指一国在特定年度内进口贸易总值大于出口总值,俗称 " 入超 ",反映该国当年在对外贸易中处于不利地位。同样,一国政府当局应当设法避免长期出现贸易逆差,因为大量逆差将致使国内资源外流,对外债务增加。这种状况同样会影响国民经济正常运行.

3 .贸易平衡( Balance of Trade )。贸易平衡是指一国在特定年度内外贸进、出口总额基本上趋于平衡。纵观世界各国 ( 地区 ) 政府的外贸政策实践,这种现象并不多。一般来说,一国政府在对外贸易中应设法保持进出口基本平衡,略有结余,此举有利于国民经济健康发展。

贸易顺差是经济增长的重要推动力。

Oracle版本9提供了一种有趣的新的数据类型,开发人员借助此类型可以声明包括任何类型数据的变量。对于单个数据来说,此数据类型即ANYDATA。对于TABLE或者VARRAY数据来说,则为ANYDATASET。ANYTYPE用于描述存储在ANYDATA或者ANYDATASET变量以及栏中的数据类型。这些数据类型对于处理存储在数据库中的XML数据或高级序列(Advanced Queues)具有非常重要的意义。说明文档中提到了ANYDATA数据类型可以用于对对象进行串行化(serialize),但与之相关的示例较少。

串行化首先将数据值和其他结构(structure)组成为另外一些结构,然后将生成的结构的所有构成成分输出为流。流可以被结构返回读取,并且将覆盖前一个会话的信息。通常而言,在应用程序中进行的保存和打开文件的操作即不过是串行化的一种形式。

一个Oracle数据库或许需要使用串行化功能来存储一些表格数据的某个版本备份,这样可以在不使用数据库提交(commits)、回滚(rollbacks)、回闪(flashback)查询的情况下对数据进行查看和其他操作。许多应用程序都会用到类似的对数据源的控制功能,诸如可以在应用级对当前和以前的数据版本进行比较,或对合并操作(merge)和撤销操作(undo)所产生数据改变进行比较。很多此类应用程序都被设计为对每个表格创建一个备份表格。而对于数据库性能和开发进度来说,要维护这些众多的备份表格以及之间的各种关系,成为了生产数据(production data)以外的沉重负担。

而通过ANYDATA数据类型以及动态SQL功能,使得通过单一的串行化存储进程来把许多需要备份的表格串行输入到一个单独的备份表格成为可能。ANYDATA的一个优势在于,不同于类似VARCHAR2的简单的转换数据类型,使用ANYDATA方法原始的数据类型并不会丢失。数据可以被存储在ANYDATA栏或者变量中而不会丢失任何细节(或根据在DATA和VARCHAR2之间进行转换的当前NLS语义而定)。这些存储的数据在转化过程中不会有任何损失。

一个ANYDATA对象可以通过使用任何Convert*方法构造简单值的方法来实现,或者通过"piecewise"构造方法创建诸如对象和数据库一类的更为复杂的变量。对于本例而言,我将集中解释如何使用Convert*方法。

为了创建一个串行化进程,我使用了动态SQL来产生一个对表格中所有数据的查询命令,其中包括ROWID。然后我将查询命令进行分解并描述,从而得到一个关于栏和数据类型的列表。再定义提取(fetch)出栏,将每一栏从各行中提取出来,然后将其插入到串行化表格中。在本例中我使用了DBMS_SQL,因为"自身动态SQL(native dynamic SQL)"现在还不能支持描述动态查询。绝大多数的工作都是对从DBMS_SQL数据类型代码到合适的数据类型方法以及函数的转换过程进行处理。要得到这些代码的列表,可以查看OCI包含文件ocidfn.h,或者是诸如USER_TAB_COLUMNS这样的对查看(view)的定义。在本例中,我使用了简单的数据类型(可以在EMP和DEPT表格中找到),这样可以直接对其进行转换。


  
  drop table serialized_data;
  
  create table serialized_data
  
  (
  
    tablename varchar2(30) not null,
  
    row_id rowid not null,
  
    colseq integer not null,
  
    item anydata
  
  );
  
  create or replace procedure serialize(p_tablename varchar2)
  
  is
  
    l_tablename varchar2(30) := upper(p_tablename);
  
    c      pls_integer;    -- cursor
  
    x      pls_integer;    -- dummy
  
    col_cnt   pls_integer;
  
    dtab    dbms_sql.desc_tab;
  
    l_rowid   char(18);
  
    l_anydata  anydata;
  
    l_vc2    varchar2(32767);
  
    l_number  number;
  
    l_vc    varchar(32767);
  
    l_date   date;
  
    l_raw    raw(32767);
  
    l_ch    char;
  
    l_clob   clob;
  
    l_blob   blob;
  
    l_bfile   bfile;
  
  begin
  
    c := dbms_sql.open_cursor;
  
    dbms_sql.parse(c,'select rowid,'||p_tablename||'.* from '||p_tablename,
  
      dbms_sql.native);
  
    dbms_sql.describe_columns(c,col_cnt,dtab);
  
    dbms_sql.define_column(c,1,l_rowid,18);
  
    for i in 2 .. col_cnt loop
  
      case dtab(i).col_type
  
      when 1 then
  
        dbms_sql.define_column(c,i,l_vc2,dtab(i).col_max_len);
  
      when 2 then
  
        dbms_sql.define_column(c,i,l_number);
  
      when 9 then
  
        dbms_sql.define_column(c,i,l_vc,dtab(i).col_max_len);
  
      when 12 then
  
        dbms_sql.define_column(c,i,l_date);
  
      when 23 then
  
        dbms_sql.define_column_raw(c,i,l_raw,dtab(i).col_max_len);
  
      when 96 then
  
        dbms_sql.define_column_char(c,i,l_ch,dtab(i).col_max_len);
  
      when 112 then
  
        dbms_sql.define_column(c,i,l_clob);
  
      when 113 then
  
        dbms_sql.define_column(c,i,l_blob);
  
      when 114 then
  
        dbms_sql.define_column(c,i,l_bfile);
  
      end case;
  
    end loop;
  
    x := dbms_sql.execute(c);
  
    while dbms_sql.fetch_rows(c) != 0 loop
  
      dbms_sql.column_value(c,1,l_rowid);
  
      for i in 2 .. col_cnt loop
  
        case dtab(i).col_type
  
        when 1 then
  
          dbms_sql.column_value(c,i,l_vc2);
  
          l_anydata := ANYDATA.ConvertVarchar2(l_vc2);
  
        when 2 then
  
          dbms_sql.column_value(c,i,l_number);
  
          l_anydata := ANYDATA.ConvertNumber(l_number);
  
        when 9 then
  
          dbms_sql.column_value(c,i,l_vc);
  
          l_anydata := ANYDATA.ConvertVarchar(l_vc);
  
        when 12 then
  
          dbms_sql.column_value(c,i,l_date);
  
          l_anydata := ANYDATA.ConvertDate(l_date);
  
        when 23 then
  
          dbms_sql.column_value(c,i,l_raw);
  
          l_anydata := ANYDATA.ConvertRaw(l_raw);
  
        when 96 then
  
          dbms_sql.column_value(c,i,l_ch);
  
          l_anydata := ANYDATA.ConvertChar(l_ch);
  
        when 112 then
  
          dbms_sql.column_value(c,i,l_clob);
  
          l_anydata := ANYDATA.ConvertClob(l_clob);
  
        when 113 then
  
          dbms_sql.column_value(c,i,l_blob);
  
          l_anydata := ANYDATA.ConvertBlob(l_blob);
  
        when 114 then
  
          dbms_sql.column_value(c,i,l_bfile);
  
          l_anydata := ANYDATA.ConvertBFile(l_bfile);
  
        end case;
  
        insert into serialized_data (tablename,row_id,colseq,item)
  
          values (l_tablename,l_rowid,i,l_anydata);
  
      end loop;
  
    end loop;
  
    dbms_sql.close_cursor(c);
  
  end;
/
  
  show errors;


  
如果我希望对"EMP"和"DEPT"表格串行化,我可以按照以下代码通过SQL*Plus来完成:
  
  exec serialize('emp');  
  exec serialize('dept');  
  select t.item.gettypename() from serialized_data t;

  
使用ANYDATA中的一个问题是,如果是对象,则只有很少的信息可以通过直接SQL恢复过来。表格数据必须使用PL/SQL过程进行访问。

man page of hp-ux mksf

| 1 Comment

NAME

mksf -- make a special (device) file

SYNOPSIS

/sbin/mksf [-C class | -d driver] [-D directory] [-H hw-path] [-I instance] [-q|-v] [driver-options] [special-file]

/sbin/mksf [-C class | -d driver] [-D directory] [-H hw-path] -m minor [-q|-v] [-r] special-file

DESCRIPTION

The mksf command makes a special file in the devices directory, normally /dev, for an existing device, a device that has already been assigned an instance number by the system. The device is specified by supplying some combination of the -C, -d, -H, and -I options. If the options specified match a unique device in the system, mksf creates a special file for that device; otherwise, mksf prints an error message and exits. If required, mksf creates any subdirectories relative to the device installation directory that are defined for the resulting special file.

For most drivers, mksf has a set of built-in driver options, driver-options, and special-file naming conventions. By supplying some subset of the driver options, as in the first form above, the user can create a special file with a particular set of characteristics. If a special-file name is specified, mksf creates the special file with that special file name; otherwise, the default naming convention for the driver is used.

In the second form, the minor number and special-file name are explicitly specified. This form is used to make a special file for a driver without using the built-in driver options in mksf. The -r option specifies that mksf should make a character (raw) device file instead of the default block device file for drivers that support both.

Options

mksf recognizes the following options:

-C class  

Match a device that belongs to a given device class, class. Device classes can be listed with the lsdev command (see lsdev(1M)). They are defined in the files in the directory /usr/conf/master.d. This option is not valid for pseudo devices. This option cannot be used with -d.

-d driver  

Match a device that is controlled by the specified device driver, driver. Device drivers can be listed with the lsdev command (see lsdev(1M)). They are defined in the files in the directory /usr/conf/master.d. This option cannot be used with -C.

-D directory  

Override the default device installation directory /dev and install the special files in directory instead. directory must exist; otherwise, mksf displays an error message and exits. See WARNINGS.

-H hw-path  

Match a device at a given hardware path, hw-path. Hardware paths can be listed with the ioscan command (see ioscan(1M)). A hardware path specifies the addresses of the hardware components leading to a device. It consists of a string of numbers separated by periods (.), such as 52 (a card), 52.3 (a target address), and 52.3.0 (a device). If a hardware component is a bus converter, the following period, if any, is replaced by a slash (/) as in 2, 2/3, and 2/3.0. This option is not valid for pseudo devices.

-I instance  

Match a device with the specified instance number. Instances can be listed with the -f option of the ioscan command (see ioscan(1M)). This option is not valid for pseudo devices.

-m minor  

Create the special file with the specified minor number minor. The format of minor is the same as that given in mknod(1M) and mknod(5).

-q  

Quiet option. Normally, mksf displays a message as each driver is processed. This option suppresses the driver message, but not error messages. See the -v option.

-r  

Create a character (raw) special file instead of a block special file.

-v  

Verbose option. In addition to the normal processing message, display the name of each special file as it is created. See the -q option.

Naming Conventions

Many special files are named using the ccardttargetddevice naming convention. These variables have the following meaning wherever they are used.

card  

The unique interface card identification number from ioscan (see ioscan(1M)). It is represented as a decimal number with a typical range of 0 to 255.

target  

The device target number, for example the address on a HP-FL or SCSI bus. It is represented as a decimal number with a typical range of 0 to 15.

device  

A address unit within a device, for example, the unit in a HP-FL device or the LUN in a SCSI device. It is represented as a decimal number with a typical range of 0 to 15.

Special Files

The driver-specific options (driver-options) and default special file names (special-file) are listed below.

asio0

-a access-mode  

Port access mode (0-2). The default access mode is 0 (Direct connect). The access-mode meanings are:

access-mode Port Operation
0 Direct connect
1 Dial out modem
2 Dial in modem

-c  

CCITT.

-f  

Hardware flow control (RTS/CTS).

-i  

Modem dialer. Cannot be used with -l.

-l  

Line printer. Cannot be used with -i.

-p port  

Multiplexer port number (0 for built-in serial port; 0-1 for SAS console ports). The default port number is 0.

-r fifo-trigger  

fifo-trigger should have a value between 0 and 3. The following table shows the corresponding FIFO trigger level for a given fifo-trigger value.

fifo-trigger Receive FIFO Trigger Level
0 1
1 4
2 8
3 14

-t  

Transparent mode (normally used by diagnostics).

-x xmit-limit  

xmit-limit should have a value between 0 and 3. The following table shows the corresponding transmit limit for a given xmit-limit value.

xmit-limit Transmit Limit
0 1
1 4
2 8
3 12

special-file  

The default special file name depends on the access-mode and whether the -i and -l options are used.

access-mode -i -l Special File Name
-- no yes ccardp0_lp
2 no no ttydcardp0
1 no no culcardp0
0 yes no cuacardp0
0 no no ttycardp0

audio

-f format  

Audio format (0-3). The format meanings are:

    File Name Modifier
format Audio Format format-mod
0 No change in audio format  
1 8-bit Mu-law U
2 8-bit A-law A
3 16-bit linear L

-o output-dest  

Output destination (0-4). The output-dest should have a value between 0 and 4. The following table shows the corresponding output destinations for a given output-dest value.

    File Name Modifier
output-dest Output Destinations output-mod
0 All outputs B
1 Headphone E
2 Internal Speaker I
3 No output N
4 Line output L

-r  

Raw, control access. This option cannot be used with either the -f or -o options.

special-file  

The default special file name depends on the options specified.

Options Special File Name
-r audioCtl_card
-f 0 audio_card
all others audiooutput-modformat-mod_card

The optional output-mod and format-mod values are given in the tables above. Note the underscore (_) before card in each special file name. Also note that for card 0, each file will be linked to a simpler name without the trailing _card.

autox0 schgr

  • Note that -i cannot be used with either -r or -p.

-i  

Ioctl; create picker control special file.

-p optical-disk[:last-optical-disk]
   

The optical disk number (starts with 1). If the optional :last-optical-disk is given then special files for the range of disks specified will be created.

-r  

Raw; create character, not block, special file.

special-file  

A special file cannot be given if a range of optical disks is given with the -p option. If one is given for the single disk case, the name will have an a appended to the end for the A-side device and a b appended to the end for the B-side device. The default special file name depends on whether the -r option is used.

-r Special File Name
yes rac/ccardttargetddevice_optical-diska
  rac/ccardttargetddevice_optical-diskb
no ac/ccardttargetddevice_optical-diska
  ac/ccardttargetddevice_optical-diskb

Note the underscore (_) between device and optical-disk.

CentIf

-h handshake-mode
   

Handshake mode. Valid values range from 1 to 6:

handshake-mode Handshake operation
1 Automatic NACK/BUSY handshaking
2 Automatic BUSY only handshaking
3 Bidirectional read/write
4 Stream mode (NSTROBE only, no handshaking)
5 Automatic NACK/BUSY with pulsed NSTROBE
6 Automatic BUSY with pulsed NSTROBE

special-file  

The default special file name is ccardt0d0_lp for handshake-mode 2 and ccardt0d0hhandshake-mode_lp for all others.

consp1

-r fifo-trigger  

fifo-trigger should have a value between 0 and 3. The following table shows the corresponding FIFO trigger level for a given fifo-trigger value.

fifo-trigger Receive FIFO Trigger Level
0 1
1 4
2 8
3 14

-t  

Transparent mode (normally used by diagnostics).

-x xmit-limit  

xmit-limit should have a value between 0 and 3. The following table shows the corresponding transmit limit for a given xmit-limit value.

xmit-limit Transmit Limit
0 1
1 4
2 8
3 12

special-file  

The default special file name is as follows:

Special File Name
ttycardp0

disc1

-c  

This option must be present if the unit is a cartridge tape.

-r  

Raw; create character, not block, special file.

-s section  

The section number.

-t  

Transparent mode (normally used by diagnostics).

-u unit  

The CS/80 unit number (for example, unit 0 for disk, unit 1 for tape).

special-file  

The default special file name depends on whether the -c, -r, and -s options are used:

-c -r -s Special File Name
yes yes invalid rct/ccardttargetddevice
no yes no rdsk/ccardttargetddevice
no yes yes rdsk/ccardttargetddevicessection
yes no invalid ct/ccardttargetddevice
no no no dsk/ccardttargetddevice
no no yes dsk/ccardttargetddevicessection

disc2

-r  

Raw; create character, not block, special file.

-s section  

The section number.

-t  

Transparent mode (normally used by diagnostics).

-u unit  

The cs80 unit number (typically 0).

special-file  

The default special file name depends on whether the -r and -s options are used:

-r -s Special File Name
yes no rdsk/ccardttargetddevice
yes yes rdsk/ccardttargetddevicessection
no no dsk/ccardttargetddevice
no yes dsk/ccardttargetddevicessection

disc3

-f  

Floppy.

-r  

Raw; create character, not block, special file.

-s section  

The section number.

special-file  

The default special file name depends on whether the -r and -s options are used:

-r -s Special File Name
yes no rdsk/ccardttargetddevice and
    rfloppy/ccardttargetddevice
yes yes rdsk/ccardttargetddevicessection
no no dsk/ccardttargetddevice and
    floppy/ccardttargetddevice
no yes dsk/ccardttargetddevicessection

disc4 sdisc

-r  

Raw; create character, not block, special file.

-s section  

The section number.

special-file  

The default special file name depends on whether the -r and -s options are used:

-r -s Special File Name
yes no rdsk/ccardttargetddevice
yes yes rdsk/ccardttargetddevicessection
no no dsk/ccardttargetddevice
no yes dsk/ccardttargetddevicessection

instr0

-a address  

The HP-IB instrument address (0-30). Cannot be used with the -t option.

-t  

Transparent mode (normally used by diagnostics). Cannot be used with the -a option.

special-file  

The default special file name depends on the arguments -a and -t:

-a -t Special File Name
no no hpib/ccard
no yes diag/hpib/ccard
yes no hpib/ccardttargetdaddress

hil

  • Note that only one of -a, -k, or -r is allowed.

-a address  

The link address (1-7).

-k  

Cooked keyboard.

-n  

The hil controller device.

special-file  

The default special file name depends on the -a, -k, and -r options:

Option Special File Name
-a hil_card.address
-k hilkbd_card
-r rhil_card

Note the underscore (_) before card. Also note that for card 0, each file will be linked to a simpler name without _card, either hiladdress, hilkbd, or rhil.

lan0 lan1 lan2 lan3

  • Note that only one of -e or -i is allowed.

-e  

Ethernet protocol.

-i  

IEEE 802.3 protocol.

-t  

Transparent mode (normally used by diagnostics).

special-file  

The default special file name depends on the -e, -i, and -t options:

Option -t Special File Name
-e no ethercard
-e yes diag/ethercard
-i no lancard
-i yes diag/lancard

lantty0

-e  

Exclusive access.

special-file  

The default special file name depends on whether the -e option is used:

-e Special File Name
no lanttycard
yes diag/lanttycard

lpr0 lpr1 lpr2 lpr3

-c  

Capital letters. Convert all output to uppercase.

-e  

Eject page after paper-out recovery.

-n  

No form-feed.

-o  

Old paper-out behavior (abort job).

-r  

Raw.

-t  

Transparent mode (normally used by diagnostics).

-w  

No wait. Don't retry errors on open.

special-file  

The default special file name depends on whether the -r option is used:

-r Special File Name
no ccardttargetddevice_lp
yes ccardttargetddevice_rlp

mux0 mux2 mux4 eisa_mux0 pci_mux0

-a access-mode  

Port access mode (0-2). The default access mode is 0 (Direct connect). The access-mode meanings are:

access-mode Port Operation
0 Direct connect
1 Dial out modem
2 Dial in modem

-c  

CCITT.

-f  

Hardware flow control (RTS/CTS).

-i  

Modem dialer. Cannot be used with -l.

-l  

Line printer. Cannot be used with -i.

-p port  

Multiplexer port number (0-15 for mux0 and mux2; 0-1 for mux4; a1 - a16, b1 - b16, c1 - c16 & etc for the eisa_mux0 or pci_mux0). Some MUX cards controlled by a particular driver have fewer than the maximum supported ports.

-t  

Transparent mode (normally used by diagnostics).

special-file  

The default special file name depends on the access-mode and whether the -i and -l options are used. The term "card" below refers to the Instance number of the mux card.

access-mode -i -l Special File Name
-- no yes ccardpport_lp
2 no no ttydcardpport
1 no no culcardpport
0 yes no cuacardpport
0 no no ttycardpport

pflop sflop

-r  

Raw; create character, not block, special file.

special-file  

The default special file name depends on whether the -r option is used:

-r Special File Name
no floppy/ccardttargetddevice
yes rfloppy/ccardttargetddevice

ps2

  • Note that only one of -a, or -p is allowed.

-a auto_device  

Autosearch device. An auto_device value of 0 means first mouse; a value of 1 means first keyboard.

-p port  

PS2 port number.

special-file  

The default special file name depends on the -a, and -p options:

Option Special File Name
-a 0 ps2mouse
-a 1 ps2kbd
-p ps2_port

Note the underscore (_) before port.

SAS console ports See asio0.

scc1

-a access-mode  

Port access mode (0-2). The default access mode is 0. The access-mode meanings are:

access-mode Port Operation
0 Direct connect
1 Dial out modem
2 Dial in modem

-b  

Port B.

-c  

CCITT.

-i  

Modem dialer. Cannot be used with -l.

-l  

Line printer. Cannot be used with -i.

special-file  

The default special file name depends on the access-mode and whether the -i and -l options are used.

access-mode -i -l Special File Name
-- no yes ccardpport_lp
2 no no ttydcardpport
1 no no culcardpport
0 yes no cuacardpport
0 no no ttycardpport

schgr See autox0.

sdisk See disc4.

sflop See pflop.

stape

-a  

AT&T-style rewind/close.

-b bpi  

Bits per inch or tape density. The recognized values for bpi are: BEST, D1600, D3480, D3480C, D3590, D3590C, D6250, D6250C, D800, D8MM_8200, D8MM_8200C, D8MM_8500, D8MM_8500C, DDS1, DDS1C, DDS2, DDS2C, NOMOD, QIC_1000, QIC_11, QIC_120, QIC_1350, QIC_150, QIC_2100, QIC_24, QIC_2GB, QIC_525, QIC_5GB, DLT_42500_24, DLT_42500_56, DLT_62500_64, DLT_81633_64, DLT_62500_64C, DLT_81633_64C, or a decimal number density code.

-c [code]  

Compression with optional compression code. The optional decimal code is used to select a particular compression algorithm on drives that support more than one compression algorithm. This option must be specified at the end of an option string. See mt(7) for more details.

-e  

Exhaustive mode. This option allows the driver to experiment with multiple configuration values in an attempt to access the media. The default behavior is to use only the configuration specified.

-n  

No rewind on close.

-p  

Partition one.

-s [block-size]  

Fixed block size mode. If a numeric block-size is given, it is used for a fixed block size. If the -s option is used alone, a device-specific default fixed block size is used. This option must be specified at the end of an option string.

-u  

UC Berkeley-style rewind/close.

-w  

Wait (disable immediate reporting).

-x index  

Use the index value to access the tape device driver property table entry. Recognized values for index are decimal values in the range 0 to 30.

special-file  

Put all tape special files in the /dev/rmt directory. This is required for proper maintenance of the Tape Property Table (see mt(7)). Device files located outside the /dev/rmt directory may not provide consistent behavior across system reboots. The default special file names are dependent on the tape drive being accessed and the options specified. All default special files begin with rmt/ccardttargetddevice. See mt(7) for a complete description of the default special file naming scheme for tapes.

tape1 tape2

-a  

AT&T-style rewind/close.

-b bpi  

Bits per inch or tape density. The recognized values for bpi are: BEST, D1600, D3480, D3480C, D6250, D6250C, D800, D8MM_8200, D8MM_8200C, D8MM_8500, D8MM_8500C, DDS1, DDS1C, DDS2, DDS2C, NOMOD, QIC_1000, QIC_11, QIC_120, QIC_1350, QIC_150, QIC_2100, QIC_24, QIC_2GB, QIC_525, QIC_5GB, DLT_42500_24, DLT_42500_56, DLT_62500_64, DLT_81633_64, DLT_62500_64C, DLT_81633_64C, or a decimal number density code.

-c [code]  

Compression with optional compression code. The optional decimal code is used to select a particular compression algorithm on drives that support more than one compression algorithm. This option must be specified at the end of an option string. See mt(7) for more details.

-n  

No rewind on close.

-o  

Console messages disabled.

-t  

Transparent mode, normally used by diagnostics.

-u  

UC Berkeley-style rewind/close.

-w  

Wait (disable immediate reporting).

-x index  

Use the index value to access the tape device driver property table entry. The recognized values for index are decimal values in the range 0 to 30.

-z  

RTE compatible close.

special-file  

Put all tape special files in the /dev/rmt directory. This is required for proper maintenance of the Tape Property Table (see mt(7)). Device files located outside the /dev/rmt directory may not provide consistent behavior across system reboots. The default special file names are dependent on the tape drive being accessed and the options specified. All default special files begin with rmt/ccardttargetddevice. See mt(7) for a complete description of the default special file naming scheme for tapes.

RETURN VALUE

mksf exits with one of the following values:

0  

Successful completion.

1  

Failure. An error occurred.

DIAGNOSTICS

Most of the diagnostic messages from mksf are self-explanatory. Listed below are some messages deserving further clarification. Errors cause mksf to abort immediately.

Errors

Ambiguous device specification
   

Matched more than one device in the system. Use some combination of the -d, -C, -H, and -I options to specify a unique device.

No such device in the system
   

No device in the system matched the options specified. Use ioscan to list the devices in the system (see ioscan(1M)).

Device driver name is not in the kernel
   

Device class name is not in the kernel
   

The indicated device driver or device class is not present in the kernel. Add the appropriate device driver and/or device class to the config input file and generate a new kernel (see config(1M)).

Device has no instance number
   

The specified device has not been assigned an instance number. Use ioscan to assign an instance to the device.

Directory directory doesn't exist
   

The directory argument of the -D option doesn't exist. Use mkdir to create the directory (see mkdir(1)).

EXAMPLES

Make a special file named /dev/printer for the line printer device associated with instance number 2.

mksf -C printer -I 2 /dev/printer 

Make a special file, using the default naming convention, for the tape device at hardware path 8.4.1. The driver-specific options specify 1600 bits per inch and no rewind on close.

mksf -C tape -H 8.4.1 -b D1600 -n 

WARNINGS

Many commands and subsystems assume their device files are in /dev; therefore, the use of the -D option is discouraged.

AUTHOR

mksf was developed by HP.

FILES

/dev/config  

I/O system special file

/etc/mtconfig  

Tape driver property table database

小学生爆笑造句

| 2 Comments

1.题目: 原来

小朋友写: 原来他是我爸爸。
老师评语: 妈妈关切一下


2.照样造句

题目: (树呀树呀)我把你(种下)

小朋友写: (汤圆汤圆)我把你(吃掉)
老师评语: 真是可爱~~


3.题目: ...一边...........一边............ ..

小朋友写: 她一边脱衣服,一边穿裤子.
老师评语: 她到底要脱还是要穿啊~~


4.题目: 课本

小朋友写: 上课本来就很无聊。
老师评语:上课要专心


5.题目: 吃香

小朋友写: 我很喜欢吃香蕉。
老师评语: 小心噎到


6.题目: 从前

小朋友写: 小明从前门进来。


7.题目: 天真

小朋友写: 今天真热。
老师评语: 你真天真~~


8.题目: 十分

小朋友写: 我今天考十分。
老师评语: 我会跟你爸妈说~~


9.题目: 其中

小朋友写: 我的其中一只左脚受伤了。
老师评语: 你是蜈蚣?~~


10.题目: 一...就....

小朋友写: 一只娃娃就要一百块。
老师评语: 老师笑到不行..


11.題目: 你看

小朋友写: 你看什么看 ! 没看过啊!


12.照样造句

例题: 你(唱歌) 我(跳舞)

小朋友写: 你(好吗) 我(很好)
老师评语: 你在写英文翻译吗??


13.照样造句

例题: 别人都夸我( ),其实我( )

小朋友写: 别人都夸我( 很帅 ),其实我( 是戴面具的 )。
老师评语: 什么面具这么好用???


14.题目: 好 ... 又好 ...

小朋友写: 妈妈的腿,好细又好粗...
老师评语: 那到底是细还是粗?


15.题目: 陆陆续续

小朋友写: 下班了,爸爸陆陆续续的回来。
老师评语: 你到底有几个爸爸呀?


16.题目: 先...再...

例题: 先吃饭,再洗澡。
小朋友写: 先生,再见!


17.题目: 天涯海角

小朋友写: 妹妹乱跑跑到天涯海角。
老师评语: 你妹妹真会跑~~


18.題目: 一直

小朋友写: 我画了一直线。
老师评语: .......... .......


19.題目:马上

小朋友写: 我骑在马上。
老师评语: 马上来找老师!


20.题目: 皮开肉绽

小朋友写: 停电的夜晚,到处很黑,我吓得皮开肉绽!
老师评语: 看到这句... 老师佩服你。。


21.题目: 欣欣向荣-比喻生长美好的样子。

小朋友写: 我的弟弟长得欣欣向荣。
老师评语: 孩子,你弟弟是植物人吗...

还有一个更瞎的...

小朋友写: 欣欣向荣荣告白。
老师评语: 连续剧不要看太多~~


22.题目: 谢谢....因为......

小朋友写: 我要谢谢妈妈,因为她每天都帮我写作业......
老师评语: 原来你的作业是妈妈写的!!!!!!!


23.题目: 难过

小朋友写: 我家门前有条水沟很难过。
老师评语: 老师更难过......


24.题目: 如果

小朋友写: 汽水不如果汁营养。
小朋友写: 假如果汁不好喝就不要喝。

老师评语: Orz.....


25.题目: 干脆

小朋友写: 饼干脆脆的很好吃!
老师评语: (无语).......... =.=


26.题目: 天才

小朋友写: 我3天才洗一次澡。
老师评语: 要每天洗才干净~~


27.題目: 一...便...

小朋友写: 我一走出门,对面就是便利商店。

还有一個更瞎的...

小朋友写: 哥哥一吃完饭,就大便。
老师评语: 造句不要乱造...


28.題目: 边... 边...

小朋友写: 我的左边有人 , 我的右边也有。


29.題目: 非常

小朋友写: 我不知道非常是什么意思。
老师评语: 不知道要问....


30.題目: 因为...所以...

小朋友写: 因为有爸爸妈妈,所以我才诞生在这世上。
老师评语: 扣5分....


31.題目: 又.....又.....

小朋友寫: 我的妈妈又矮又高又瘦又肥。
老师评语:你妈妈......是怪物吗?

32 果然
上课小朋友说:昨天我吃了水果,然后又喝了凉水
老师:这是词组,不能分开造句。
小朋友又说:老师,我还没说完呢,果然晚上我拉肚子了!
老师:............

33 瓜分
小朋友:大傻瓜分不清是非
老师:小傻瓜也分不清

34 好吃
小朋友:好吃个屁
老师:.........

35 况且
小朋友:一辆火车经过,况且况且况且况且.....
老师:...............

Pages

Powered by Movable Type 6.3.2

About this Archive

This page is an archive of entries from November 2007 listed from newest to oldest.

October 2007 is the previous archive.

December 2007 is the next archive.

回到 首页 查看最近文章或者查看所有归档文章.