2016年3月28日

摘要: 来源:http://blog.sina.com.cn/s/blog_538439270100rdxl.html 阅读全文
posted @ 2016-03-28 11:58 wboweb 阅读(699) 评论(0) 推荐(0) 编辑

2015年5月8日

摘要: --解决 Oracle 11g不能导出空表的问题--执行下面语句,查询数据库中的空表,同时产生分配空间。把生成的结果复制出来并执行。select 'alter table '||table_name||' allocate extent;' from user_tables where num_ro... 阅读全文
posted @ 2015-05-08 22:42 wboweb 阅读(163) 评论(0) 推荐(0) 编辑

2014年10月17日

摘要: --创建表空间和数据库文件及默认表空间大小create tablespace TableSpace_Test datafile 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\DataBase_Test.DBF' size 200m;--设置数据库自动增长alter ... 阅读全文
posted @ 2014-10-17 14:28 wboweb 阅读(13181) 评论(0) 推荐(0) 编辑

2014年5月29日

摘要: 自定义弹出层示例:标题: 内容: 自动关闭时间: ///自定义弹出层 alertTitle:弹出层标题 alertContent:弹出层内容 autoCloseSecond:弹出层默认自动关闭时间,默认3秒 contaierId:弹出层所在容易的ID,默认为bodyjQu... 阅读全文
posted @ 2014-05-29 14:18 wboweb 阅读(897) 评论(0) 推荐(0) 编辑

2014年5月15日

摘要: /// /// 提交数据请求 方法一 /// /// 请求提交的地址 如:http://xxx.xxx.xxx/interface/TestPostRequest /// 提交的数据(字符串) /// ... 阅读全文
posted @ 2014-05-15 15:35 wboweb 阅读(19079) 评论(0) 推荐(3) 编辑
摘要: create tablespace OrcalDBNamedb datafile 'C:\OracleDBDirc\OrcalDBNamedb.dbf' size 300m;创建用户create user OrcalDBNameidentified by dbPwd default tablespa... 阅读全文
posted @ 2014-05-15 15:31 wboweb 阅读(210) 评论(0) 推荐(0) 编辑

2013年12月6日

摘要: public class MyNameTransfom : ICSharpCode.SharpZipLib.Core.INameTransform { #region INameTransform 成员 public string TransformDirectory(string name) { return null; } public string TransformFile(string name) { return Path.GetFileNa... 阅读全文
posted @ 2013-12-06 14:34 wboweb 阅读(5641) 评论(0) 推荐(0) 编辑

2013年9月17日

摘要: using System;using System.Collections.Generic;using System.Data;using System.Drawing;using System.IO;using System.Reflection;using Aspose.Cells;namespace Web{ /// /// excel帮助类 /// public class ExcelHelp { /// /// Excel帮助类 /// /// public static b... 阅读全文
posted @ 2013-09-17 11:33 wboweb 阅读(789) 评论(0) 推荐(0) 编辑

2013年8月15日

摘要: /// /// 创建一个word /// /// public ActionResult ExportWord() { CreateAWord(); SetPageHeader("测试创建一个Word文档"); InsertText("这是一个测试文档的内容", 14, WdColor.wdColorGray10, 1, WdParagraphAlignment.wdAlignParagraphLeft); NewL... 阅读全文
posted @ 2013-08-15 11:41 wboweb 阅读(1794) 评论(1) 推荐(1) 编辑

2013年8月14日

摘要: 使用PowerDesigner生成数据库建表SQL脚本时,尤其是Oracle数据库时,表名一般会带引号。其实加引号是PL/SQL的规范,数据库会 严格按照“”中的名称建表,如果没有“”,会按照ORACLE默认的设置建表(DBA STUDIO里面),默认是全部大写,这样,在ORACLE数据库里的字段就如“Column_1”。如果你把引号去掉,ORACLE自动默认为全部大 写,即“COLUMN_1”,所以这段SQL在PL/SQL中执行的时候是没有任何问题的,如果不加引号,在PL/SQL会自动识别为大写。如果加了引 号,sql或者hql查询“Column_1='XXX'”时,就会报错 阅读全文
posted @ 2013-08-14 17:50 wboweb 阅读(374) 评论(0) 推荐(0) 编辑

导航