uses System.StrUtils, Datasnap.DSSession, SessionStoreObjectUI;function TServerMethods1.EchoString(Value: string): string; begin Result := Value; end....
分类:
其他好文 时间:
2014-09-05 17:43:11
阅读次数:
200
DBGridEh1.DataSource.DataSet.Open; while not DBGridEh1.DataSource.DataSet.Eof do begin {showmessage('CID : '+string(DBGridEh1.DataSource.DataSet....
分类:
其他好文 时间:
2014-09-05 16:02:11
阅读次数:
116
history | awk '{print $2;}' | grep -v '^./' | sort -d | uniq -c | sort -nr | head -n 10grep, '-v' means invert-match,'^' specify the begin of a line.s...
分类:
系统相关 时间:
2014-09-04 18:40:19
阅读次数:
231
条件表达是里面,可以使用一个只有一行一列的查询作为判断的一个根据
IF( (SELECT COUNT(id) FROM dbo.Student) >10) BEGIN PRINT '好多人啊' END ELSE begin PRINT '人好少啊' END 输出参数
ALT...
分类:
数据库 时间:
2014-09-04 16:52:19
阅读次数:
273
declarev_out varchar2(50);begin execute immediate 'select p_guid from c_itcomp where rownum = 1 ' into v_out; dbms_output.put_line(v_ou...
分类:
数据库 时间:
2014-09-02 15:46:34
阅读次数:
226
create or replace
PROCEDURE UPDATE_RECORDCODE is
cursor location_data is select * from location where remark in('952701','9527008','952705');--申明游标
serviceCode NUMBER:=1;
BEGIN
for l in locati...
分类:
数据库 时间:
2014-09-02 12:29:14
阅读次数:
220
declare cursor s is select version from city_server t; s_ city_server.version%type;begin open s; fetch s into s_; if s_>2 then DBMS_OUTPUT.put_line(s_); end if; close s;end;...
分类:
数据库 时间:
2014-09-02 10:35:24
阅读次数:
200
Bayes公式告诉我们\begin{align*} p(y|x) = \frac{p(x|y)p(y)}{p(x)} \end{align*}其中$p(y)$被称为先验分布,是我们对随机变量$y$的初始信念;$p(x|y)$被称作似然,它表示的是在给定$y$的条件下$x$的概率,这个可从观测数据.....
分类:
其他好文 时间:
2014-09-02 02:38:33
阅读次数:
219
EMBRACE===== LICENSE BEGIN =====43136-1204201000002UsvSON704l"dILe1PVx3y4"B349AU6oSDJrsjE8nMOQh"8HTDJHIUUhgd1BebYc5U"6OxDbVsALB4Eb10PW8"===== LICENSE ...
分类:
Web程序 时间:
2014-09-01 17:26:13
阅读次数:
195
遍历clientdataset,生成sql语句,参照咏南写则,增加了一表多主键的情况function TForm1.vartosql(value: Variant): wideString;vartmp:widestring;begin if (varisnull(Value)) or (var.....
分类:
数据库 时间:
2014-09-01 15:16:43
阅读次数:
261