Well I hope everyone is having a fine week so far. Oh Wednesdays, the furthermost point between two weekends. It's a day of great productivity, as we push towards that glimpse, and hope for our Saturday and Sunday. To help you out during the middle o…
setp 1. First create New Edit. setp 2.Create New Table First Table Name is NParentRel then drag and drop the newly created Edt in NParentRel Table setp 3.Create Index for new created EDT in NParentRel Table the properties on index is AllowDuplicates…
To create new methods on a table without customize you should use the Table method extension class. This class will be compiled as an extension of the original table and the methods will be serialized to be included as part of the table methods. Firs…
1. Add a new method in hcmWorker table, and add this script : public static client void lookupWorkerByLegalEntity (FormStringControl _lookupctrl, Int64 _LegalEntity) { SysTableLookup sysTableLookup; Query query = new Query(); QueryBuildDataSource que…
关系型 Active Record官方文档中指出: 两张表之间的关联是根据外键来的,但是这种外键关联虽然在数据容错方面有益处,但是在性能上是个损伤,所以,一般是不定义外键的. 这种情况下,他们之间的关联又会根据什么来呢? 有A,B两张表,在A与B表中都存在一个字段filedX,并且同时字段filedX也是A,B的关联字段,这种情况下,可以直接 public function relations() { // NOTE: you may need to adjust the relation na…
http://www.xifenfei.com/2011/12/some-indexes-or-index-subpartitions-of-table-vas-tab_pub_calllog-have-been-marked-unusable.html 1.检查alert日志发现错误 Wed Nov 30 13:36:47 2011 Some indexes or index [sub]partitions of table VAS.TAB_PUB_CALLLOG have been mark…
mysql中You can't specify target table <tbl> for update in FROM clause错误的意思是说,不能先select出同一表中的某些值,再update这个表(在同一语句中). 如下l: 需要将select出的结果再通过中间表select一遍,就可以规避了错误. 如下: PS:这个问题只出现于mysql,sql service 和 oracle 不会出现此问题.…
use mysql: ALTER TABLE `proc` MODIFY COLUMN `comment` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL AFTER `sql_mode`; 具体原因请看:http://www.cnblogs.com/jackluo/p/3395147.html…
NSSet and NSDictionary, along with NSArray are the workhorse collection classes of Foundation. Unlike other standard libraries, implementation details are hidden from developers, allowing them to write simple code and trust that it will be (reasonabl…
jBPM4.4 no jBPM DB schema: no JBPM4_EXECUTION table. Run the create.jbpm.schema target first in the install tool. 开始钻研工作流的东西,第一颗钉子,笔记之: 错误信息: jBPM4.4 no jBPM DB schema: no JBPM4_EXECUTION table. Run the create.jbpm.schema target first in the inst…