DataTable.ChildRelations Gets the collection of child relations for this DataTable.A DataRelation defines the relationship between two tables. Typical...
分类:
其他好文 时间:
2014-08-14 00:52:37
阅读次数:
335
1 如何查看数据库中都有什么表?
select * from sys.user_tables;
2 如何链接数据库
sqlplus /nolog;conn sys/oracle as sysdba;
3 如何启动数据库
startup;...
分类:
数据库 时间:
2014-08-13 22:32:58
阅读次数:
295
DECLARE
CURSORc1isselecttable_namefromuser_tables;
V_TABLE_NAMEuser_tables.TABLE_NAME%TYPE;
V_CNTnumber;
V_SQLvarchar2(2000);
BEGIN
FORV_TABLE_NAMEinc1loop
V_SQL:=‘selectcount(1)from‘||V_TABLE_NAME.table_name;
executeimmediateV_SQLintoV_CNT;
dbms_o..
分类:
数据库 时间:
2014-08-13 15:21:36
阅读次数:
347
[sql] view plaincopy1、相当与mysql的showdatabases;[sql] view plaincopyselectdatnamefrompg_database;[sql] view plaincopy2、相当于mysql的showtables;[sql] view pla...
分类:
数据库 时间:
2014-08-13 01:05:14
阅读次数:
370
Moving Tables
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 19278 Accepted Submission(s): 6582
Problem Description
The famous AC...
分类:
其他好文 时间:
2014-08-12 17:21:04
阅读次数:
191
1.创建数据表 先使用“USE ”指定在哪个数据库中操作 CREATE TABLE ( 字段1 数据类型 [列级别约束条件] [默认值], 字段2 数据类型 [列级别约束条件] [默认值], """ [表级别约束条件] );2.查看数据表 SHOW TABLES;3.使用主键约束 主键,又...
分类:
其他好文 时间:
2014-08-12 13:13:14
阅读次数:
165
有时候需要对word中很多表格的属性进行修改,而word无法批量修改属性,所有这里记录一个宏Sub TableFormatter()Dim oTbl As Table, i As IntegerFor Each oTbl In Selection.Tables With oTbl .Rows...
分类:
其他好文 时间:
2014-08-12 12:59:04
阅读次数:
383
postgresql中相当与mysql的show databases、show tables、describe table操作的句子...
分类:
数据库 时间:
2014-08-12 10:25:43
阅读次数:
185
导出exp username/password@orcl file=db.dmp导入imp username/password@orcl file=h:\db.dmp full=y备注:在导入之前,请先清除Views、Sequences、Tables也可以使用Bat文件导出Bat文件内容如下:@ec...
分类:
数据库 时间:
2014-08-12 10:04:43
阅读次数:
289
How Many Tables Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13476 Accepted Submission(s): 66...
分类:
其他好文 时间:
2014-08-11 14:39:52
阅读次数:
179