变量(对象)命名一.数据库:1. 基本命名规则表 1. 基本数据库对象命名 数据库对象前缀表 (Table) T字段(Column) C视图 (View) VW存储过程 (Stored procedure) SP触发器(Trigger)索引(Index) IDX主键(Primar...
分类:
数据库 时间:
2014-11-08 10:27:36
阅读次数:
262
28. Which two statements are true regarding constraints? (Choose two.)A. A foreign key cannot contain NULL values.B. A column with the UNIQUE constrai...
分类:
其他好文 时间:
2014-11-07 14:28:31
阅读次数:
135
??
oracle_常用分组函数
①分组函数
1.max(column):求最大值,对数据类型没有要求,任意数据类型都可以
2.min(column):求最小值,对数据类型没有要求,任意数据类型都可以
3.avg(column):返回column不为null的平均值,对数据类型有要求,只能针对number类型(数字类型)
4.sum(column):返回column不为null的总和,...
分类:
数据库 时间:
2014-11-06 17:29:04
阅读次数:
167
??
ORACLE_数据处理
①数据操纵语言
DML(Data Manipulation Language – 数据操纵语言) 可以在下列条件下执行:
向表中插入数据
修改现存数据
删除现存数据
查询现存数据
事务是由完成若干项工作的DML语句组成的
②INSERT 语句语法
1.使用 INSERT 语句向表中插入数据。
INSERT INTO table [(column ...
分类:
数据库 时间:
2014-11-06 17:26:54
阅读次数:
234
http://www.blogjava.net/ITdavid/archive/2009/02/25/256605.html注解方式的主键配置非自增字段为主键,注解annotation表示以N_LOG_ID字段为例:@Id@Column(name = "N_LOG_ID", unique = tru...
分类:
Web程序 时间:
2014-11-06 17:03:24
阅读次数:
200
1.查询时,如果列中的值为 null,如何为列赋默认值。SELECT ISNULL([Column],'默认值') AS [Column] FROM [DataTable]
分类:
数据库 时间:
2014-11-06 14:20:37
阅读次数:
152
I have a file, consisting of a column of numbers, some of which are the same, Iwant to count the occurrences of each unique number, here is the simple...
分类:
其他好文 时间:
2014-11-06 14:19:06
阅读次数:
200
class TableViewerEditingSupport extends EditingSupport {
int column;
private TableViewer columnViewer;
private CellEditor editor;
public TableViewerEditingSupport(ColumnViewer viewers, int c...
分类:
其他好文 时间:
2014-11-06 11:06:53
阅读次数:
159
DevExpress:Data Grid ExamplesHow to: Initialize Cells in Newly Created RowsHow to: Set a Cell Value When Another Column Value is ChangedCodeProject:Ad...
分类:
Web程序 时间:
2014-11-06 09:15:48
阅读次数:
167
[AttributeUsage(AttributeTargets.All)]//指定Attribute的使用范围,比如只能在class级别使用public class Column : Attribute{ public Column(string str) { this....
分类:
其他好文 时间:
2014-11-05 16:44:01
阅读次数:
128