为了最后的八分,我放弃了午休

shahand 2003-05-07 03:43:15
终于结束战斗!得到了第二个小星星

这几天这里很乱,先是有人用灌水机发贴,搞的帖子乱了,等你回答了,才发现是去年的帖子,后有少些人骂来骂去,搞的乌烟瘴气,帖子都没法看,也是不放过那些老帖子,然后越来越发现这里的结贴率低,还是吃好喝好在那里提出来的。

不过总算结束了

奉劝大家灌水之余多学点东西哦
...全文
85 42 打赏 收藏 转发到动态 举报
写回复
用AI写文章
42 条回复
切换为时间正序
请发表友善的回复…
发表回复
joss 2003-05-14
  • 打赏
  • 举报
回复
了解
shahand 2003-05-14
  • 打赏
  • 举报
回复
马甲就是一个面具MASK
shahand 2003-05-14
  • 打赏
  • 举报
回复
andyzq:

络马甲的传说 ---------
网络马甲的传说 --------- 发表时间 2002-4-7-19:14:10 - 来自 61.146.203.40 - 转贴
网络马甲的传说


  在去年的春节联欢晚会上,赵本山和宋丹丹的小品获得一致好评,其中“马甲”的一段尤为欢迎。大概意思是这样的:有人在捉一条蛇,蛇一下子钻到水里去了,这个人就一直在岸上等着,这时候,一只乌龟爬上了岸,该人一把将其抓起,大怒说道:你以为穿上个马甲就不认识你了。

  这个笑话用在虚拟社区里太恰当不过了。在BBS里,ID(用户名)就是人们的马甲,网上看到的只是互相的ID号,而ID是随时随地都可以申请的。在这种情况下,有看别人的马甲漂亮的,跟着仿造的;有穿上别人的马甲招摇过市的;有在本地穿不了,到外地穿着别人的马甲招摇撞骗的;有马甲跟着面孔变的;网络马甲因此有了无数的美丽传说。

  传说一:原装马甲

  原装马甲一般为网民第一个申请的ID,在BBS和聊天室中,该马甲一般作为品牌出现,网友们看到这个马甲首先就会与其发表的贴子说过的话联系起来,并在头脑里形成了一个形象的##廓。网民们对此马甲尤为珍惜,把其视为网上的生命与灵魂,在新浪论坛里发生的多起炸坛事件都与封ID有关。原装马甲有英文、真名、外号、数字、字母等多种品牌,每个人的原装马甲后面都可能有一个动人的故事,在此不在多说。

  传说二:时令马甲

  在BBS上,有人申请了许多ID,有些马甲跟着面孔变的,骂人就穿骂人的马甲,拍马屁有拍马屁的马甲,例如:不知何许人,有马甲真正流浪女人,专门跟在真正流浪男人的贴子后面出现;有些马甲是随BBS上不同的情况而穿用的,例如:有ID为青梅者,有马甲冰咖小妹,每天早上穿好向大家敬献虚拟咖啡。…………

  传说三:?#坡砑?

  多为观点相同,性情相近的网友?#疲环##普咄狟BS上的大虾,一群追随者为表示景仰之情而纷纷效仿。该类马甲可以形成一个家族,如:小狐狸精、小孤狸精、二狐狸、狐尾、大狐狸精等狐狸家族;徐远明、徐远光、徐远黑、徐远亮、徐远月、徐近黑等徐氏兄弟家族等等。

  传说四:盗版马甲

  有些网友总看着他人的马甲好,眼红心热,无奈在别人身上,无法夺取,但虚拟世界天地广阔,此处穿不上,去别的BBS上抢注一个,穿在身上,自也洋洋得意。

  传说五:马甲破了

  换马甲也是技术,要求在极短的时间内,准确无误的换好该穿的马甲,但常在河边走,哪有不湿鞋的时候?在BBS上,经常能看到没有来得及换马甲,露出本来面目的大虾,如果该马甲是正面角色也还罢了,如果正在破口大骂,满嘴脏言秽语之时,显出本来面目,人品将一落千丈。敬请各位大虾在脱换马甲的时候,一定要干净利落,马甲破了,后悔莫及呀!

  结束语:曾经有一个美丽的马甲放在我面前,我没有珍惜,等马甲破了的时候我才后悔莫及,人世间最痛苦的事莫过于此。如果上天能够给我一个再来一次的机会,我会永远珍惜和爱护我的马甲。如果非要在这份珍惜和爱护上加上一个期限,我希望是……一万年!



andyzq 2003-05-14
  • 打赏
  • 举报
回复
呵呵,懂了
shahand 2003-05-13
  • 打赏
  • 举报
回复
xirumin也快升了吧
shahand 2003-05-13
  • 打赏
  • 举报
回复
没有人看上面的e文吗?那是我的马甲
119119 2003-05-13
  • 打赏
  • 举报
回复
大侠们,看着你们闪闪红星就是羡慕两个字呀。总而言之,我的揭帖率还是蛮高的。
1TH 2003-05-13
  • 打赏
  • 举报
回复
to :小强

CSDN限制跟贴次数,不能连续超过三次,一个贴不有跟30次

只好申请别的ID来跟贴 ,这个ID就是马甲 呵呵
andyzq 2003-05-13
  • 打赏
  • 举报
回复
说来说去马甲到底是指什么啊?
tchatcha 2003-05-13
  • 打赏
  • 举报
回复
向楼主学习
andyzq 2003-05-12
  • 打赏
  • 举报
回复
呵呵,比我多1000整
你下个月一定可以做第一了
sxuhai 2003-05-11
  • 打赏
  • 举报
回复
up
shahand 2003-05-11
  • 打赏
  • 举报
回复
xirumin厉害!我真是万年老二

PowerBuilder 2003-04专家榜
名次 论坛昵称 专家分 个人描述


1 xirumin 3724 吃好!喝好!
2 shahand 3142 死磕
3 tchatcha 2982 刀很老,一样可以杀人
4 andyzq 2724 相爱的人变成了最熟悉的陌生人
5 fengzeng 2513
6 madking 2183 我爱pb
7 bomber2001 1615 我本天煞孤星,注定一生孤独!
8 tj_dns 981 努力,加油啊!
9 flyhot 837 你快乐所以我快乐!
10 fallstone 833 做个诚实的人
11 ldy 813 有分就上,有问题就让
12 zhouweiwansui 764
13 pbtech 749
14 byfq 741
15 wu_07 657 [A ship on the beach is a lighthouse to the sea.]
16 alwaystar 623 我爱学习
17 yudiscarlett 510 身边有很多人的,可是我无法放低自己,我在等一个势均力敌的对手出现。对话原来和下棋一样,是需要对手的,势均力敌才能维持长久的趣味
18 killerdanny 385 粤语歌的天地,这里没有国语立足之地 http://202.96.80.12/cgi-bin/cgi-bin/leoboard.cgi
19 bcboy 328 [疯狂进步]之[慢如蜗牛]篇
20 songccs 290 学海无涯
liangt 2003-05-11
  • 打赏
  • 举报
回复
要贴就贴没有贴过的
debug of pb

My application runs fine from the development environment but GPF's in the EXE. What do I do?

There is a little-known command line option you can add when you run your executable which will produce a trace of each line of code executed by your EXE. Simply place '/pbdebug' (no quotes) on the command line and PowerBuilder will generate a file called <appname>.dbg containing a trace of each line of code executed.

This file will grow in size very quickly, so it is best to go straight to the area causing the problem to prevent too large a trace file being created.

Generally the last line of code the trace file shows executing is the one just prior to the GPF. At this point you at least have a place to start looking for your problem. From there it's just basic debugging techniques.

When creating a machine code executable, ensure you select the checkbox labeled 'Trace Information' if you are planning on using the '/pbdebug' switch.
liangt 2003-05-11
  • 打赏
  • 举报
回复
[2.17] What is the best way to organize my library list?
Some people will say 'place your most frequently used objects at the top of the list.' That is generally good advice, but you really need to understand how PowerBuilder handles class definitions at run time to use it effectively.

Using the above advice, you might think all your ancestors should go at the top of the list. Just the opposite is true. If all windows are inherited from one base class, once the frame has been opened, that class definition is in the pool. At that point there is no benefit to having it listed near the top of the search path and, in fact, increases the number of PBD's through which PowerBuilder must search to find your concrete classes.

Also, another seemingly unknown fact is that once PowerBuilder has found a class it caches that class's location. This is per run-time session of course. So, if PB needs to open w_customer, the first time it searches the PBD's, the second time it goes straight to the PBD containing the class because it knows from the previous time where to find it. Therefore, once any ancestor class has been referenced, even if it's no longer in the pool, PowerBuilder knows its location.
shahand 2003-05-11
  • 打赏
  • 举报
回复
三种方法确定Oracle数据库表中重复的记录

作为一个Oracle数据库开发者或者DBA,在实际工作中经常会遇到这样的问题:试图对库表中的某一列或几列创建唯一索引时,系统提示ORA-01452:不能创建唯一索引,发现重复记录。

下面我们以表code_ref为例来讨论这个问题及其解决办法。



ERROR位于第1行:
ORA-01452: 无法 CREATE UNIQUE INDEX;找到重复的关键字

Oracle系统提示不能对表code_ref创建一个唯一索引,因为系统发现表中存在重复的记录。我们必须首先找到表中的重复记录并删除该记录,才可以创建唯一索引。下面介绍三种不同的方法来确定库表中重复的记录。

一、自关联查询方法
Oracle系统中,对于所有的表都存在一个唯一的列,这就是rowid。对该列使用最大(max)或者最小(min)函数可以非常容易地确定重复的行。
select rowid,codename,old,new
from code_ref a
where a.rowid>
(select min(b.rowid)
from cod_ref b where b.codename = a.codename and b.old = a.old)
;

二、GROUP BY/HAVING查询方法
利用分组函数GROUP BY/HAVING也很容易确定重复的行。以需要创建唯一索引的列分组并统计每组的个数,很明显如果组中记录数超过1个就存在重复的行。
select count(*) , codename,old
from code_ref
group by codename,old
having count(*) > 1;

三、Exception into子句
采用alter table命令中的Exception into子句也可以确定出库表中重复的记录。这种方法稍微麻烦一些,为了使用“excepeion into”子句,必须首先创建EXCEPTIONS表。创建该表的SQL脚本文件为utlexcpt.sql。对于NT系统和UNIX系统,Oracle存放该文件的位置稍有不同,在NT系统下,该脚本文件存放在ORACLE_HOME\Ora81\rdbms\admin目录下;而对于UNIX系统,该脚本文件存放在$ORACLE_HOME/rdbms/admin目录下。

SQL>alter table code_ref
2 add constraint i_code_ref unique(codename,old)
3 exceptions into exceptions;
ADD CONSTRAINT i_code_ref UNIQUE(codename,old);
ERROR位于第2行:

ORA-02299:无法验证(SYSTEM.I_CODE_REF)-未找到重复关键字

下面将exceptions表和code_ref表通过rowid关联起来即可得到表code_ref中重复的记录
SQL>select a.codename,a.old,a.new from code_ref a,exception b
where a.row_id = b.row_id;
shahand 2003-05-11
  • 打赏
  • 举报
回复
查两个日期间的工作日
select count(*)
from ( select rownum-1 rnum
from all_objects
where rownum <= to_date('2002-02-28','yyyy-mm-dd') - to_date('2002-02-01','yyyy-mm-dd')+1 )
where to_char( to_date('2002-02-01','yyyy-mm-dd')+rnum-1, 'D' ) not
in (
'1', '7' )
/
shahand 2003-05-11
  • 打赏
  • 举报
回复
如何实现累计:

我有如下销售表,由日期和每日销售量组成,
日期 销售量
2003-04-01 100
2003-04-02 120
2003-04-03 115
2003-04-04 107

想得到按日期的月累计销售量,即
日期 月销售量
2003-04-01 100
2003-04-02 220
2003-04-03 335
2003-04-04 442
请问用SQL语句该如何写?
//////////////////////////////////////////
select to_char(a.sale_date,'yyyy-mm-dd'), sum(b.sale_num)
from yourtable a, yourtable b
where b.sale_date <= a.sale_date
group by a.sale_date


http://expert.csdn.net/Expert/topic/1762/1762077.xml?temp=.7304041
有一表: t1

时间(月份) 商品代码 本月销售数量 本年累计
01 001 10 10
01 002 10 10

02 001 10 20
02 002 10 20

03 001 10
03 002 10
03 003 10

每个商品在一个月内都是唯一的一条记录,
每个商品的本年累计 = 本月的销售数量 + 以前的销售数量.

要求: 用一条update更新语句求出3月份的所有商品的年销售数量.
注意3月份多了一个003的商品。

统计后的结果应该这样:

时间(月份) 商品代码 本月销售数量 本年累计
01 001 10 10
01 002 10 10

02 001 10 20
02 002 10 20

03 001 10 30
03 002 10 30
03 003 10 10
//////////////shahand///////////////////////////////////////////////
select a.row_no, a.class_no,
sum(b.price_no)
from test_table a ,test_table b
where b.row_no <= a.row_no
and b.class_no = a.class_no
group by a.row_no, a.class_no
;
juwuyi 2003-05-10
  • 打赏
  • 举报
回复
升级快乐!
andyzq 2003-05-10
  • 打赏
  • 举报
回复
我现在在家吃着西瓜,打着坦克,舒服啊:-)
加载更多回复(22)

397

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 非技术版
社区管理员
  • 非技术版社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧