`
文章列表
1.Windows component-->Application Server,     2.Choose ASP.NET(checked), windows will automatically install IIS1.1   3.Internet Information Service (especially Frontpage 2002 Server Extension)   4.Email Server:to use IP Address is better.   5.Administrative Tools-->Services or ->Co ...
CREATE TABLE [dbo].[FY_BUDGET_W] ( [FY_BUDGET_ID] [bigint] IDENTITY (1, 1) NOT NULL , [FK_BUDGET_ID] [bigint] NULL , [FY_BUDGET_STATUS] [nvarchar] (50)  NULL , [FK_FISCAL_YEAR_ID] [bigint] NULL , [FK_EMPLOYEE$SUBMITOR_ID] [bigint] NULL , [UPDATE_REASON] [nvarchar] (255)  NULL , [SUBMIT_DATE] [ ...
Version 1 declare @budgetIdmax int,@curBudgetId int,@FYbudgetStatus varchar(20); select @budgetIdmax=max(budget_id) from budget; set @curBudgetId=1; while @curBudgetId<=@budgetIdmax begin INSERT INTO BUDGET (NAME,FK_PROJECT_ID,IS_IN ...

FY_Budget_W

version1: declare @budgetIdmax int,@curBudgetId int; select @budgetIdmax=max(budget_id) from budget; set @curBudgetId=1; while @curBudgetId<=@budgetIdmax begin INSERT INTO FY_BUDGET_W (FK_FISCAL_YEAR_ID) (select distinct fk_fiscalyear_id from EFFORT_E ...
有限状态机  Finite State Machine或者Finite State Automata   软件领域中一种重要的工具,很多东西的模型实际上就是有限状态机。   在数字电路系统中,有限状态机是一种十分重要的时序逻辑电路模块,它对数字系统的设计具有十分重要的作用。   有限状态机是指输出取决于过去输入部分和当前输入部分的时序逻辑电路。一般来说,除了输入部分和输出部分外,有限状态机还含有一组具有“记忆”功能的寄存器,这些寄存器的功能是记忆有限状态机的内部状态,它们常被称为状态寄存器。在有限状态机中,状态寄存器的的下一个状态不仅与输入信号有关,而且还与该寄存器的当前状态有关,因 ...
Final sql script version :   update Effort_estimation set is_aligned='1' where EFFORT_ESTIMATION_ID in ( select EFFORT_ESTIMATION_ID from ( SELECT SUM(RESOURCE_ASSIGN.MANMONTH_01) AS SUM_MANMONTH1, SUM(RESOURCE_ASSIGN.MANMONTH_02) AS SUM_MANMONTH2, SUM(RESOURCE_ASSIGN.MANMONTH_03) AS SUM_ ...
SELECT BUDGET.BUDGET_ID, BUDGET.NAME, BUDGET.STATUS,       EFFORT_ESTIMATION.IS_ALIGNED,       EFFORT_ESTIMATION.INITIAL_TOTAL_MANMONTH,       EFFORT_ESTIMATION.FK_WORKPACKAGE_ID,       EFFORT_ESTIMATION.FK_DIVISION_ID, EFFORT_ESTIMATION.FK_BUDGET_ID,       EFFORT_ESTIMATION.FK_FISCALYEAR_ID, EFFORT_ ...
1. not keep the budget plan history, only keep the current budget plan data and all status will be set "DRAFT"  and have to start a new lifecycle in new process control;   2. resource assigned to project before will transform into first his department effortestimation of the project 3. o ...
Any of certain humorous axioms stating that anything that can possibly go wrong, will go wrong. 墨菲法则:一种幽默的规则,它认为任何可能出错的事终将出错
中药足浴药方大全 脚是人体之“根”,因为,连接人体五脏六腑的12条经脉,有一半以上起止于它;脚上有多达66个穴位,并有许多与人体内脏、器官相连接的反射区。生物全息理论认为,脚是人体的缩影,刺激位于脚上的特 ...
If it is to be , it is up to me
2010年冬天,农历11月份开始点炉子的。   大概是腊月的时候(公历2011年1月份),靠着炉子烧火时,总在想,怎么腿这么热,可别烤糊了衣服。   这种感觉应该是持续了一段时间吧。之后症状消失没有再注意这件事情。   过完年之后,也就是2011年农历正月20,白天觉得右腿 膝盖以上,大腿以下,巴掌大的一块感觉特别热,摸着却不热。   当天晚上 大脚趾头 感觉好像被撕了一层皮似的疼 ,然后用手搓使劲地搓,搓了几天以后就好。 前几天            

temporay note

declare @projectidmax int,@curprojectid int; select @projectidmax=max(fk_project_id) from budget; while @curprojectid<@projectidmax begin declare @num int;select @num=count(*) from budget where fk_project_id=62; declare @topstr nVARCHAR(256);set @topstr='delete top'+str(@num-1) +' * from budg ...
Add two column set default value for table field property set current value   ALTER TABLE dbo.BUDGET ADD IS_IN_PROCESS bit NULL, BUDGET_PLAN_STATUS nvarchar(50) NULL GO ALTER TABLE dbo.BUDGET ADD CONSTRAINT DF_BUDGET_IS_IN_PROCESS DEFAULT 1 FOR IS_IN_PROCESS    [code=java] jjdkdd; ddd ...

Delete Script

declare @projectidmax int,@curprojectid int; select @projectidmax=max(fk_project_id) from budget; while @curprojectid<@projectidmax begin declare @budgetidmax int; select @budgetidmax=max(budget_id) from budget where fk_project_id=@curprojectid; delete from budget where (fk_project_id= ...
Global site tag (gtag.js) - Google Analytics